|
Extension: Json and NetCDF utilities
#include "dg/file/file.h"
|
A realisation of the Record concept. Helper to generate NetCDF variables. More...
Public Types | |
| using | Signature = SignatureType |
Signature of the function. | |
Public Attributes | |
| std::string | name |
| Name of the variable to create. | |
| Attributes | atts |
| Attributes of the variable: "long_name" is strongly recommended. | |
| std::function< Signature > | function |
| The function to call that generates data for the variable. | |
A realisation of the Record concept. Helper to generate NetCDF variables.
Supposed to be used to generate variable lists to write to NetCDF
| SignatureType | Signature of the callable function |
| Attributes | Type of the attributes list, needs to be Iterable i.e. begin() and end() (e.g. dg::file::LongNameAttribute) |
| using dg::file::Record< SignatureType, Attributes >::Signature = SignatureType |
Signature of the function.
| Attributes dg::file::Record< SignatureType, Attributes >::atts |
Attributes of the variable: "long_name" is strongly recommended.
| std::function<Signature> dg::file::Record< SignatureType, Attributes >::function |
The function to call that generates data for the variable.
| std::string dg::file::Record< SignatureType, Attributes >::name |
Name of the variable to create.