auromat.export.cdf module¶
This module exports auromat.mapping.mapping.BaseMapping objects
into NASA’s CDF file format following the ISTP/IACG guidelines.
Each mapping is exported as a single self-contained file.
See http://cdf.gsfc.nasa.gov/html/CDF_docs.html and http://spdf.gsfc.nasa.gov/sp_use_of_cdf.html for details.
Where no guidelines exist, the ones from the auromat.export.netcdf
module are used, in particular the geospatial_* attributes for describing
the bounding box, and the crs attributes for describing the coordinate
systems.
- 
auromat.export.cdf.write(outputPath, mapping, metadata={}, includeBounds=True, includeMagCoords=True, includeGeoCoords=True, compress=True, useTT2000=True)[source]¶ Parameters: - outputPath (str) –
 - mapping (auromat.mapping.mapping.BaseMapping) –
 - metadata (dict) – 
additional metadata, overwrites mapping.metadata entries if existing, a dictionary of root attributes, e.g.:
{'Project': '..', 'Source_name': '..', 'Discipline': 'Space Physics>Magnetospheric Science', 'Descriptor': '..' }
 - includeBounds (bool) – stores the coordinates of each pixel corner (in addition to the center)
 - includeMagCoords (bool) – include geomagnetic latitude-magnetic local time coordinates
 - includeGeoCoords (bool) – include geodetic coordinates
 - compress (bool) – use compression for variables
 - useTT2000 (bool) – Whether to use the CDF_TIME_TT2000 type for storing times. If False, then the CDF_EPOCH type is used. See http://cdf.gsfc.nasa.gov/html/leapseconds.html for the advantages of using CDF_TIME_TT2000. Note that this requires CDF 3.4.0 or higher both for reading and writing.