|
NEP 2.7.0
NetCDF Extension Pack
|
The Common Data Format (CDF) is developed by NASA's Space Physics Data Facility (SPDF) for time-series and multi-dimensional scientific data from space missions.
Transparent Access: Read CDF files with nc_open() and standard NetCDF functions — no explicit initialization call needed when using .ncrc autoload.
Type Mapping:
CDF_INT4 → NC_INTCDF_REAL8 → NC_DOUBLECDF_TIME_TT2000 → NC_INT64Attribute Conventions: CDF FILLVAL attributes are automatically renamed to _FillValue.
Note: CDF moved from UDF2 to UDF4 in v2.2.0, eliminating the former mutual-exclusivity with GRIB2.
Use Cases: NASA IMAP, MMS, Van Allen Probes, and other space physics mission data.
Enabling:
Dependencies: NASA CDF library v3.9.x — download from https://spdf.gsfc.nasa.gov/pub/software/cdf/dist/latest/ or spack install cdf.
Resources: NASA CDF Homepage · CDF C Reference Manual
Example: