-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #100 from cenamiller/issue75_fixClass
Issue75 NetCDF_XYZ class
- Loading branch information
Showing
10 changed files
with
851 additions
and
458 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
/* | ||
* NetCDF.cpp | ||
* samurai | ||
* | ||
* Created by Annette Foerster on 8/15/13. | ||
* Adapted from $Id: pres_temp_4D_rd.cpp,v 1.11 2006/08/22 19:22:06 ed Exp $ | ||
* (http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-tutorial) | ||
* Copyright 2013 Michael Bell. All rights reserved. | ||
* | ||
*/ | ||
|
||
|
||
#include "NetCDF.h" | ||
#include <iostream> | ||
|
||
NetCDF::NetCDF(const int& metFile_idim, const int& metFile_jdim, const int& metFile_kdim) :c_p(1005.7), g(9.81), f(5.85e-05), pi(3.14159265358979323846) | ||
{ | ||
NDIMS = 4; | ||
NALT = metFile_kdim; | ||
NX = metFile_idim; // NRADIUS or NLON | ||
NY = metFile_jdim; // NTHETA or NLAT | ||
NREC = 0; | ||
NC_ERR = 2; | ||
|
||
std::cout << "Constructor \n"; | ||
} | ||
|
||
NetCDF::~NetCDF() { | ||
} | ||
|
||
|
||
|
||
|
Oops, something went wrong.