MeteoIODoc 20241222.207bde49
nc_dimension Struct Reference

Detailed Description

This structure contains the metadata associated with a NetCDF dimension

#include <libncpp.h>

Public Member Functions

 NC_DIMENSION ()
 
 NC_DIMENSION (const size_t &i_param, const std::string &i_name)
 
 NC_DIMENSION (const size_t &i_param, const std::string &i_name, const size_t &len, const int &i_dimid, const bool &unlimited)
 
std::string toString () const
 

Public Attributes

std::string name
 dimension name More...
 
size_t length
 dimension length (irrelevant when the dimension is "unlimited") More...
 
int dimid
 dimension ID, set to -1 and then to a positive value after reading/writing to/from a file More...
 
size_t param
 parameter index (from Dimensions or MeteoGrids::Parameters) More...
 
bool isUnlimited
 at most, one dimension can be "unlimited" More...
 

Member Function Documentation

◆ NC_DIMENSION() [1/3]

nc_dimension::NC_DIMENSION ( )
inline

◆ NC_DIMENSION() [2/3]

nc_dimension::NC_DIMENSION ( const size_t &  i_param,
const std::string &  i_name 
)
inline

◆ NC_DIMENSION() [3/3]

nc_dimension::NC_DIMENSION ( const size_t &  i_param,
const std::string &  i_name,
const size_t &  len,
const int &  i_dimid,
const bool &  unlimited 
)
inline

◆ toString()

std::string nc_dimension::toString ( ) const
inline

Member Data Documentation

◆ dimid

int nc_dimension::dimid

dimension ID, set to -1 and then to a positive value after reading/writing to/from a file

◆ isUnlimited

bool nc_dimension::isUnlimited

at most, one dimension can be "unlimited"

◆ length

size_t nc_dimension::length

dimension length (irrelevant when the dimension is "unlimited")

◆ name

std::string nc_dimension::name

dimension name

◆ param

size_t nc_dimension::param

parameter index (from Dimensions or MeteoGrids::Parameters)


The documentation for this struct was generated from the following file: