A julia package to read Common Data Format (CDF) datasets compatible with the CommonDataModel.jl interface.
using Pkg; Pkg.add("CDFDatasets")
using CDFDatasets
ds = cdfopen("omni_coho1hr_merged_mag_plasma_20250901_v01.cdf")
times = ds["Epoch"]
bx = ds["BR"]It provides a high-level interface with features:
- Concatenation of multiple CDF files;
- Multi-backend support (
CommonDataFormat.jlandCDFpp(C++)); - Integration with
DimensionalData.jl.
It is recommended to use the native Julia implementation CommonDataFormat.jl for reading CDF files. CDFpp backend is mainly used for cross-validation, available in the PyCDFpp directory.