irfpy.npdcommon.npd_ncdf
¶
Netcdf files of NPD
- class irfpy.npdcommon.npd_ncdf.NetcdfFile(filename)[source]¶
Bases:
object
Read the ncdf file, load everything into memory.
- Parameters
filename – The file name
The data is kept to attributes as follows
dimkey
where the names of dimensions are storeddim
, a dictionary, where the dimension is storedvarkey
where the variable names are storedvar
where the variables (data) are stored
- class irfpy.npdcommon.npd_ncdf.NetcdfFileRaw(filename)[source]¶
Bases:
irfpy.npdcommon.npd_ncdf.NetcdfFile
Represent a raw mode data file.
Read the ncdf file, load everything into memory.
- Parameters
filename – The file name
The data is kept to attributes as follows
dimkey
where the names of dimensions are storeddim
, a dictionary, where the dimension is storedvarkey
where the variable names are storedvar
where the variables (data) are stored