MAVENSDC / cdflib

A python module for reading NASA's Common Data Format (cdf) files
MIT License
82 stars 45 forks source link

xarray_to_cdf FILLVAL Error #272

Open anamanica opened 3 months ago

anamanica commented 3 months ago

xarray_to_cdf is creating corrupt cdf files when reading in FILLVAL attributes as strings.

Below is linked a .py file with a simple version of this bug where two written tests fail. The files used to illustrate this are testing_corrupt_cdf.py and imap_idex_l1_attrs.yaml both in imap_processing/tests. https://github.com/anamanica/imap_processing/blob/corrupt-cdf/imap_processing/tests/testing_corrupt_cdf.py