105 void rename(
const std::string& newname )
const;
108 void setFilter(
unsigned int id,
size_t nparams,
const unsigned int* parms)
const;
111 void getFilter(
unsigned int* idp,
size_t* nparamsp,
unsigned int* params)
const;
117 void freeString(
size_t len,
char **data)
const;
120 void setChunkCache(
size_t size,
size_t nelems,
float preemption)
const;
147 std::vector<NcDim>
getDims()
const;
162 std::map<std::string,NcVarAtt>
getAtts()
const;
172 NcVarAtt putAtt(
const std::string& name,
size_t len,
const char** dataValues)
const ;
180 NcVarAtt putAtt(
const std::string& name,
const NcType& type,
size_t len,
const unsigned char* dataValues)
const ;
183 NcVarAtt putAtt(
const std::string& name,
const NcType& type,
size_t len,
const signed char* dataValues)
const ;
228 NcVarAtt putAtt(
const std::string& name,
const NcType& type,
size_t len,
const unsigned short* dataValues)
const ;
231 NcVarAtt putAtt(
const std::string& name,
const NcType& type,
size_t len,
const unsigned int* dataValues)
const ;
234 NcVarAtt putAtt(
const std::string& name,
const NcType& type,
size_t len,
const unsigned long long* dataValues)
const ;
287 void setFill(
bool fillMode,
void* fillValue=NULL)
const;
297 void setFill(
bool fillMode,
const void* fillValue=NULL)
const;
305 void setFill(
bool fillMode, T fillValue)
const
307 ncCheck(nc_def_var_fill(groupId,myId,
static_cast<int> (!fillMode),&fillValue),__FILE__,__LINE__);
330 ncCheck(nc_inq_var_fill(groupId,myId,&fillModeInt,&fillValue),__FILE__,__LINE__);
331 fillMode=
static_cast<bool> (fillModeInt == 0);
349 void setCompression(
bool enableShuffleFilter,
bool enableDeflateFilter,
int deflateLevel)
const;
413 void getVar(
void* dataValues)
const;
416 void getVar(
char** dataValues)
const;
419 void getVar(
char* dataValues)
const;
422 void getVar(
unsigned char* dataValues)
const;
425 void getVar(
signed char* dataValues)
const;
428 void getVar(
short* dataValues)
const;
431 void getVar(
int* dataValues)
const;
434 void getVar(
long* dataValues)
const;
437 void getVar(
float* dataValues)
const;
440 void getVar(
double* dataValues)
const;
443 void getVar(
unsigned short* dataValues)
const;
446 void getVar(
unsigned int* dataValues)
const;
449 void getVar(
unsigned long long* dataValues)
const;
466 void getVar(
long long* dataValues)
const;
478 void getVar(
const std::vector<size_t>& index,
void* datumValue)
const;
481 void getVar(
const std::vector<size_t>& index,
char** datumValue)
const;
484 void getVar(
const std::vector<size_t>& index,
char* datumValue)
const;
487 void getVar(
const std::vector<size_t>& index,
unsigned char* datumValue)
const;
490 void getVar(
const std::vector<size_t>& index,
signed char* datumValue)
const;
493 void getVar(
const std::vector<size_t>& index,
short* datumValue)
const;
496 void getVar(
const std::vector<size_t>& index,
int* datumValue)
const;
499 void getVar(
const std::vector<size_t>& index,
long* datumValue)
const;
502 void getVar(
const std::vector<size_t>& index,
float* datumValue)
const;
505 void getVar(
const std::vector<size_t>& index,
double* datumValue)
const;
508 void getVar(
const std::vector<size_t>& index,
unsigned short* datumValue)
const;
511 void getVar(
const std::vector<size_t>& index,
unsigned int* datumValue)
const;
514 void getVar(
const std::vector<size_t>& index,
unsigned long long* datumValue)
const;
528 void getVar(
const std::vector<size_t>& index,
long long* datumValue)
const;
539 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
void* dataValues)
const;
542 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
char** dataValues)
const;
545 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
char* dataValues)
const;
548 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
unsigned char* dataValues)
const;
551 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
signed char* dataValues)
const;
554 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
short* dataValues)
const;
557 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
int* dataValues)
const;
560 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
long* dataValues)
const;
563 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
float* dataValues)
const;
566 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
double* dataValues)
const;
569 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
unsigned short* dataValues)
const;
572 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
unsigned int* dataValues)
const;
575 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
unsigned long long* dataValues)
const;
600 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
long long* dataValues)
const;
611 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
void* dataValues)
const;
614 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
char** dataValues)
const;
617 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
char* dataValues)
const;
620 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
unsigned char* dataValues)
const;
623 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
signed char* dataValues)
const;
626 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
short* dataValues)
const;
629 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
int* dataValues)
const;
632 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
long* dataValues)
const;
635 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
float* dataValues)
const;
638 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
double* dataValues)
const;
641 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
unsigned short* dataValues)
const;
644 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
unsigned int* dataValues)
const;
647 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
unsigned long long* dataValues)
const;
678 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
long long* dataValues)
const;
690 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
const std::vector<ptrdiff_t>& imap,
void* dataValues)
const;
693 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
const std::vector<ptrdiff_t>& imap,
char** dataValues)
const;
696 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
const std::vector<ptrdiff_t>& imap,
char* dataValues)
const;
699 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
const std::vector<ptrdiff_t>& imap,
unsigned char* dataValues)
const;
702 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
const std::vector<ptrdiff_t>& imap,
signed char* dataValues)
const;
705 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
const std::vector<ptrdiff_t>& imap,
short* dataValues)
const;
708 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
const std::vector<ptrdiff_t>& imap,
int* dataValues)
const;
711 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
const std::vector<ptrdiff_t>& imap,
long* dataValues)
const;
714 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
const std::vector<ptrdiff_t>& imap,
float* dataValues)
const;
717 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
const std::vector<ptrdiff_t>& imap,
double* dataValues)
const;
720 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
const std::vector<ptrdiff_t>& imap,
unsigned short* dataValues)
const;
723 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
const std::vector<ptrdiff_t>& imap,
unsigned int* dataValues)
const;
726 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
const std::vector<ptrdiff_t>& imap,
unsigned long long* dataValues)
const;
768 void getVar(
const std::vector<size_t>& start,
const std::vector<size_t>& count,
const std::vector<ptrdiff_t>& stride,
const std::vector<ptrdiff_t>& imap,
long long* dataValues)
const;
786 void putVar(
const void* dataValues)
const;
789 void putVar(
const char** dataValues)
const;
792 void putVar(
const char* dataValues)
const;
795 void putVar(
const unsigned char* dataValues)
const;
798 void putVar(
const signed char* dataValues)
const;
801 void putVar(
const short* dataValues)
const;
804 void putVar(
const int* dataValues)
const;
807 void putVar(
const long* dataValues)
const;
810 void putVar(
const float* dataValues)
const;
813 void putVar(
const double* dataValues)
const;
816 void putVar(
const unsigned short* dataValues)
const;
819 void putVar(
const unsigned int* dataValues)
const;
822 void putVar(
const unsigned long long* dataValues)
const;
845 void putVar(
const long long* dataValues)
const;
859 void putVar(
const std::vector<size_t>& index,
const void* datumValue)
const;
862 void putVar(
const std::vector<size_t>& index,
const char** datumValue)
const;
865 void putVar(
const std::vector<size_t>& index,
const std::string& datumValue)
const;
868 void putVar(
const std::vector<size_t>& index,
const unsigned char* datumValue)
const;
871 void putVar(
const std::vector<size_t>& index,
const signed char* datumValue)
const;
874 void putVar(
const std::vector<size_t>& index,
const short datumValue)
const;
877 void putVar(
const std::vector<size_t>& index,
const int datumValue)
const;
880 void putVar(
const std::vector<size_t>& index,
const long datumValue)
const;
883 void putVar(
const std::vector<size_t>& index,
const float datumValue)
const;
886 void putVar(
const std::vector<size_t>& index,
const double datumValue)
const;
889 void putVar(
const std::vector<size_t>& index,
const unsigned short datumValue)
const;
892 void putVar(
const std::vector<size_t>& index,
const unsigned int datumValue)
const;
895 void putVar(
const std::vector<size_t>& index,
const unsigned long long datumValue)
const;
907 void putVar(
const std::vector<size_t>& index,
const long long datumValue)
const;
921 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const void* dataValues)
const;
924 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const char** dataValues)
const;
927 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const char* dataValues)
const;
930 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const unsigned char* dataValues)
const;
933 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const signed char* dataValues)
const;
936 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const short* dataValues)
const;
939 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const int* dataValues)
const;
942 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const long* dataValues)
const;
945 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const float* dataValues)
const;
948 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const double* dataValues)
const;
951 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const unsigned short* dataValues)
const;
954 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const unsigned int* dataValues)
const;
957 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const unsigned long long* dataValues)
const;
980 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const long long* dataValues)
const;
994 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const void* dataValues)
const;
997 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const char** dataValues)
const;
1000 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const char* dataValues)
const;
1003 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const unsigned char* dataValues)
const;
1006 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const signed char* dataValues)
const;
1009 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const short* dataValues)
const;
1012 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const int* dataValues)
const;
1015 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const long* dataValues)
const;
1018 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const float* dataValues)
const;
1021 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const double* dataValues)
const;
1024 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const unsigned short* dataValues)
const;
1027 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const unsigned int* dataValues)
const;
1030 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const unsigned long long* dataValues)
const;
1055 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const long long* dataValues)
const;
1066 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const std::vector<ptrdiff_t>& imapp,
const void* dataValues)
const;
1069 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const std::vector<ptrdiff_t>& imapp,
const char** dataValues)
const;
1072 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const std::vector<ptrdiff_t>& imapp,
const char* dataValues)
const;
1075 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const std::vector<ptrdiff_t>& imapp,
const unsigned char* dataValues)
const;
1078 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const std::vector<ptrdiff_t>& imapp,
const signed char* dataValues)
const;
1081 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const std::vector<ptrdiff_t>& imapp,
const short* dataValues)
const;
1084 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const std::vector<ptrdiff_t>& imapp,
const int* dataValues)
const;
1087 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const std::vector<ptrdiff_t>& imapp,
const long* dataValues)
const;
1090 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const std::vector<ptrdiff_t>& imapp,
const float* dataValues)
const;
1093 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const std::vector<ptrdiff_t>& imapp,
const double* dataValues)
const;
1096 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const std::vector<ptrdiff_t>& imapp,
const unsigned short* dataValues)
const;
1099 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const std::vector<ptrdiff_t>& imapp,
const unsigned int* dataValues)
const;
1102 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const std::vector<ptrdiff_t>& imapp,
const unsigned long long* dataValues)
const;
1132 void putVar(
const std::vector<size_t>& startp,
const std::vector<size_t>& countp,
const std::vector<ptrdiff_t>& stridep,
const std::vector<ptrdiff_t>& imapp,
const long long* dataValues)
const;
Class represents a netCDF dimension.
Class represents a netCDF group.
Base class inherited by NcOpaque, NcVlen, NcCompound and NcEnum classes.
Class represents a netCDF attribute local to a netCDF variable.
Class represents a netCDF variable.
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const void *dataValues) const
This is an overloaded member function, provided for convenience.
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const std::vector< ptrdiff_t > &imapp, const long long *dataValues) const
Writes a mapped array section of values into the netCDF variable.
void getVar(const std::vector< size_t > &index, float *datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, unsigned short *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void freeString(size_t len, char **data) const
Free memory allocated for a string.
void putVar(const std::vector< size_t > &index, const char **datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, unsigned long long *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
NcVarAtt putAtt(const std::string &name, const NcType &type, size_t len, const double *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
ChecksumMode getChecksum() const
Gets the checksum parameters of the variable.
NcVarAtt putAtt(const std::string &name, const NcType &type, long datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, char *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
bool operator!=(const NcVar &rhs) const
!= operator
NcVarAtt putAtt(const std::string &name, const NcType &type, float datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const unsigned int *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const double *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, float *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const short *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &index, const int datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, const std::vector< ptrdiff_t > &imap, void *dataValues) const
This is an overloaded member function, provided for convenience.
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, const std::vector< ptrdiff_t > &imap, long *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const long long *dataValues) const
Writes an array of values into the netCDF variable.
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, void *dataValues) const
This is an overloaded member function, provided for convenience.
void setChecksum(ChecksumMode checksumMode) const
Sets the checksum parameters of a variable.
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const signed char *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, char *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const int *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &index, const long datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &index, signed char *datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &index, void *datumValue) const
This is an overloaded member function, provided for convenience.
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, float *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
ChunkMode
Used for chunking specifications (see NcVar::setChunking, NcVar::getChunkingParameters).
@ nc_CHUNKED
Chunked storage is used for this variable.
@ nc_CONTIGUOUS
Contiguous storage is used for this variable.
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, unsigned int *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const unsigned char *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, char **dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, const std::vector< ptrdiff_t > &imap, unsigned short *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
NcVarAtt putAtt(const std::string &name, const NcType &type, size_t len, const int *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
NcVarAtt putAtt(const std::string &name, const std::string &dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &index, int *datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getFilter(unsigned int *idp, size_t *nparamsp, unsigned int *params) const
Query filter properties (if a filter has been applied).
void getVar(const std::vector< size_t > &index, char *datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, const std::vector< ptrdiff_t > &imap, char **dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, unsigned long long *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
NcVarAtt putAtt(const std::string &name, const NcType &type, double datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
NcGroup getParentGroup() const
Gets parent group.
void getVar(const std::vector< size_t > &index, double *datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &index, const unsigned char *datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const std::vector< ptrdiff_t > &imapp, const signed char *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const std::vector< ptrdiff_t > &imapp, const double *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
NcDim getDim(int i) const
Gets the i'th NcDim object.
void putVar(const std::vector< size_t > &index, const unsigned long long datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getCompressionParameters(bool &shuffleFilterEnabled, bool &deflateFilterEnabled, int &deflateLevel) const
Gets the compression parameters.
NcVarAtt putAtt(const std::string &name, const NcType &type, int datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
NcVarAtt putAtt(const std::string &name, size_t len, const char **dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const std::vector< ptrdiff_t > &imapp, const char *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const unsigned long long *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &index, const unsigned int datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getTypeLen(nc_type type) const
Query the length of a given ncType.
void setCompression(bool enableShuffleFilter, bool enableDeflateFilter, int deflateLevel) const
Sets the compression parameters.
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const std::vector< ptrdiff_t > &imapp, const short *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void setFill(bool fillMode, T fillValue) const
Sets the fill parameters.
NcVarAtt putAtt(const std::string &name, const NcType &type, size_t len, const void *dataValues) const
Creates a new variable attribute or if already exisiting replaces it.
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const short *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, const std::vector< ptrdiff_t > &imap, short *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
NcVarAtt putAtt(const std::string &name, const NcType &type, short datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, char **dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
NcVarAtt putAtt(const std::string &name, const NcType &type, unsigned short datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, unsigned char *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
NcVarAtt putAtt(const std::string &name, const NcType &type, unsigned int datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const std::vector< ptrdiff_t > &imapp, const int *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &index, const unsigned short datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, const std::vector< ptrdiff_t > &imap, unsigned int *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &index, const double datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &index, long *datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const std::vector< ptrdiff_t > &imapp, const unsigned int *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &index, const std::string &datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, int *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
EndianMode getEndianness() const
Gets the endianness of the variable.
void getFillModeParameters(bool &fillMode, T &fillValue) const
Gets the fill parameters.
NcVarAtt putAtt(const std::string &name, const NcType &type, size_t len, const long *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const double *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
std::string getName() const
Name of this NcVar object.
void rename(const std::string &newname) const
Rename the variable.
NcVarAtt putAtt(const std::string &name, const NcType &type, size_t len, const signed char *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
ChecksumMode
Used for checksum specification (see NcVar::setChecksum, NcVar::getChecksum).
@ nc_FLETCHER32
Selects the Fletcher32 checksum filter.
@ nc_NOCHECKSUM
No checksum (the default).
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const unsigned long long *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
int getDimCount() const
The the number of dimensions.
void getVar(const std::vector< size_t > &index, unsigned long long *datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getFillModeParameters(bool &fillMode, void *fillValue=NULL) const
This is an overloaded member function, provided for convenience.
NcVarAtt putAtt(const std::string &name, const NcType &type, size_t len, const long long *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
int getId() const
Get the variable id.
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const std::vector< ptrdiff_t > &imapp, const float *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
NcVar & operator=(const NcVar &rhs)
assignment operator
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const float *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(void *dataValues) const
This is an overloaded member function, provided for convenience.
void setChunkCache(size_t size, size_t nelems, float preemption) const
Change cache setttings for a chunked variable.
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, const std::vector< ptrdiff_t > &imap, signed char *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const signed char *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &index, unsigned short *datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const std::vector< ptrdiff_t > &imapp, const unsigned long long *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
NcVarAtt putAtt(const std::string &name, const NcType &type, unsigned long long datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
bool operator==(const NcVar &rhs) const
equivalence operator
void putVar(const std::vector< size_t > &index, const void *datumValue) const
This is an overloaded member function, provided for convenience.
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const long *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &index, unsigned char *datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &index, char **datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, const std::vector< ptrdiff_t > &imap, long long *dataValues) const
Reads a mapped array section of values from a netCDF variable.
void getVar(const std::vector< size_t > &index, short *datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
NcVarAtt getAtt(const std::string &name) const
Gets attribute by name.
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const unsigned char *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
NcVarAtt putAtt(const std::string &name, const NcType &type, size_t len, const float *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const std::vector< ptrdiff_t > &imapp, const char **dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const std::vector< ptrdiff_t > &imapp, const long *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const std::vector< ptrdiff_t > &imapp, const unsigned char *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const void *dataValues) const
This is an overloaded member function, provided for convenience.
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const long *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, short *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void setEndianness(EndianMode endianMode) const
Sets the endianness of the variable.
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const unsigned short *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
NcVarAtt putAtt(const std::string &name, const NcType &type, long long datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, unsigned char *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
NcVarAtt putAtt(const std::string &name, const NcType &type, size_t len, const unsigned long long *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
NcVarAtt putAtt(const std::string &name, const NcType &type, size_t len, const short *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, double *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, const std::vector< ptrdiff_t > &imap, float *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, signed char *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const int *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, const std::vector< ptrdiff_t > &imap, double *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, const std::vector< ptrdiff_t > &imap, int *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
std::map< std::string, NcVarAtt > getAtts() const
Gets the set of attributes.
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const long long *dataValues) const
Writes an array of values into the netCDF variable.
void putVar(const std::vector< size_t > &index, const signed char *datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &index, long long *datumValue) const
Reads a single datum value from a variable of an open netCDF dataset.
void setFilter(unsigned int id, size_t nparams, const unsigned int *parms) const
Define new variable for compression/decompression.
NcVar()
Constructor generates a null object.
void setChunking(ChunkMode chunkMode, std::vector< size_t > &chunksizes) const
Sets chunking parameters.
void putVar(const std::vector< size_t > &index, const long long datumValue) const
Writes a single datum into the netCDF variable.
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, unsigned int *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
NcType getType() const
Returns the variable type.
NcVarAtt putAtt(const std::string &name, const NcType &type, size_t len, const unsigned int *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
bool isNull() const
Returns true if this object variable is not defined.
void setFill(bool fillMode, void *fillValue=NULL) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
friend bool operator>(const NcVar &lhs, const NcVar &rhs)
comparator operator
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, const std::vector< ptrdiff_t > &imap, char *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
NcVarAtt putAtt(const std::string &name, const NcType &type, size_t len, const unsigned short *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const char **dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const void *dataValues) const
This is an overloaded member function, provided for convenience.
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, signed char *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const char *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, long *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
std::vector< NcDim > getDims() const
Gets the set of NcDim objects.
EndianMode
Used to specifying the endianess of the data, (see NcVar::setEndianness, NcVar::getEndianness).
@ nc_ENDIAN_BIG
Big endian.
@ nc_ENDIAN_NATIVE
Native endian.
@ nc_ENDIAN_LITTLE
Little endian.
void putVar(const std::vector< size_t > &index, const float datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &index, unsigned int *datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const std::vector< ptrdiff_t > &imapp, const unsigned short *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const char **dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, unsigned short *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, int *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &index, const short datumValue) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, long long *dataValues) const
Reads a subsampled (strided) array section of values from a netCDF variable.
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const char *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, short *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, void *dataValues) const
This is an overloaded member function, provided for convenience.
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const unsigned int *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, double *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
friend bool operator<(const NcVar &lhs, const NcVar &rhs)
comparator operator
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const std::vector< ptrdiff_t > &imapp, const void *dataValues) const
This is an overloaded member function, provided for convenience.
NcVarAtt putAtt(const std::string &name, const NcType &type, size_t len, const unsigned char *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
int getAttCount() const
Gets the number of attributes.
void getChunkingParameters(ChunkMode &chunkMode, std::vector< size_t > &chunkSizes) const
Gets the chunking parameters.
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, long long *dataValues) const
Reads an array of values from a netCDF variable of an open netCDF dataset.
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, const std::vector< ptrdiff_t > &imap, unsigned char *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const unsigned short *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void putVar(const std::vector< size_t > &startp, const std::vector< size_t > &countp, const std::vector< ptrdiff_t > &stridep, const float *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, const std::vector< ptrdiff_t > &imap, unsigned long long *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void getVar(const std::vector< size_t > &start, const std::vector< size_t > &count, const std::vector< ptrdiff_t > &stride, long *dataValues) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
void ncCheck(int retCode, const char *file, int line)
Function checks error code and if necessary throws an exception.