NetCDF4 C++ API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
NcFileUtils.h File Reference

Utility functions to assist with managing netCDF files. More...

#include <string>
#include <vector>
#include "datasets/NcSpatial.h"
+ Include dependency graph for NcFileUtils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 netcdf
 

Functions

std::string & netcdf::SetExtension (std::string &ncFileName)
 Set the file name extension to "nc" as is the netCDF convention. More...
 
void netcdf::GetNcFiles (std::string const &path, std::vector< std::string > &fileNames)
 Get all the netCDF file names in the path. More...
 
bool netcdf::FileExists (std::string const &ncFileName,bool const isPath=false)
 Return true if file exists, else false. More...
 
bool netcdf::IsGridded (NcFile &nc)
 
bool netcdf::IsGriddedIndexed (NcFile &nc)
 
bool netcdf::IsTimeSeries (NcFile &nc)
 
NcSpatial::GridDim netcdf::GetGridDimensions (NcFile &nc)
 

Detailed Description

---------------------------------------------------------------------------
Copyright:
Copyright 2013-2014 Colorado State University. All rights reserved.
Organization:
Natural Resource Ecology Laboratory
Colorado State University, Fort Collins, CO 80523 USA
www.nrel.colostate.edu
Project:
IRC <www.nrel.colostate.edu/projects/irc/>
Author
Tom Hilinski tom.h.nosp@m.ilin.nosp@m.ski@c.nosp@m.olos.nosp@m.tate..nosp@m.edu
Date
2013Oct