NetCDF4 C++ API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
NcFileUtils.cpp File Reference
#include "datasets/NcFileUtils.h"
#include "datasets/NcTimeSeriesBase.h"
#include "datasets/NcLatLonRecordBase.h"
#include "datasets/NcIndexedGridBase.h"
#include "NcDim.h"
#include "NcVar.h"
#include "TFileName.h"
#include "FileList.h"
#include <algorithm>
+ Include dependency graph for NcFileUtils.cpp:

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)