|
| | SimpleNetCDF () |
| |
| | ~SimpleNetCDF () |
| | Files are automatically closed when SimpleNetCDF objects are destroyed. More...
|
| |
| void | close () |
| | Close the netcdf file. More...
|
| |
| void | create (std::string fname, int mode=NC_CLOBBER) |
| | Create a netcdf file. More...
|
| |
| void | createDim (std::string dimName) |
| | Create an unlimited dimension. More...
|
| |
| void | createDim (std::string dimName, size_t len) |
| | Create a dimension of the given length. More...
|
| |
| bool | dimExists (std::string dimName) const |
| | Determine if a dimension name exists. More...
|
| |
| size_t | getDimSize (std::string dimName) const |
| | Determine the size of a dimension name. More...
|
| |
| void | open (std::string fname, int mode=NETCDF_MODE_READ) |
| | Open a netcdf file. More...
|
| |
| template<class T , int rank, int myMem, int myStyle> |
| void | read (Array< T, rank, myMem, myStyle > &arr, std::string varName) |
| | Read an entire Array. More...
|
| |
| template<class T > |
| void | read (T &arr, std::string varName) |
| | Read a single scalar value. More...
|
| |
| bool | varExists (std::string varName) const |
| | Determine if a variable name exists. More...
|
| |
| template<class T , int rank, int myMem, int myStyle> |
| void | write (Array< T, rank, myMem, myStyle > const &arr, std::string varName, std::vector< std::string > dimNames) |
| | Write an entire Array at once. More...
|
| |
| template<class T > |
| void | write (T arr, std::string varName) |
| | Write a single scalar value. More...
|
| |
| template<class T , int rank, int myMem, int myStyle> |
| void | write1 (Array< T, rank, myMem, myStyle > const &arr, std::string varName, std::vector< std::string > dimNames, int ind, std::string ulDimName="unlim") |
| | Write one entry of an Array into the unlimited index. More...
|
| |
| template<class T , typename std::enable_if< std::is_arithmetic< T >::value, int >::type = 0> |
| void | write1 (T val, std::string varName, int ind, std::string ulDimName="unlim") |
| | Write one entry of a scalar into the unlimited index. More...
|
| |
Simple way to write yakl::Array objects to NetCDF files.