mnetcdf (python) pnetcdf(fortran)
Magics is capable of reading NetCDF data files. A family of NetCDF parameters enable the user to define how to interpret the NetCDF data.
From this version, Magics will offer a easier setting of the NetCDF object. The principle is to make it aware of some commonly used conventions of NetCDF representations. For example It will try to identify the latitudes and longitudes axis to set-up the geo-reference. This is work in progress, and we plan to introduce more of these conventions in the next releases.
Example of metadata (ncdump):
Example of Magics code : no need to specify that the data are geo-referenced nor to explicitly define the latitude and longitude variable names:
From this version, Magics can understand data represented in a projection different than the traditional latlon.The NetCDF header should just contain the proj4 string representing the projection used to describe the data. This is still a very early stage, but contact us if you are interested in such a functionality.
Example of metadata (ncdump):