pysat / pysatCDF

Python reader for NASA CDF file format
BSD 3-Clause "New" or "Revised" License
10 stars 7 forks source link

BAD_REC_COUNT: Illegal record count specified. #13

Open briswi opened 5 years ago

briswi commented 5 years ago

I am receiving an error when trying to read a CDF file. Other CDF files read okay. I am using macOS 10.13.6, conda install of python 3.7.3, pysatCDF 0.3.0 (via pip) and have the most recent NASA CDF driver tools installed.

An example of a file that I can read successfully is ftp://spdf.gsfc.nasa.gov/pub/data/omni/omni_cdaweb/hro_5min/2012/omni_hro_5min_20120101_v01.cdf

and one that fails is ftp://spdf.gsfc.nasa.gov/pub/data/themis/thd/l2/gmom/2012/thd_l2_gmom_20120115_v01.cdf

I've replicated the error on a different machine, and have been able to read both CDF files using other tools.

I've attached output from an IPython session showing the relevant traceback.

cdf_read_error.txt

rstoneback commented 5 years ago

Thanks for the report!

On May 17, 2019, at 11:47 AM, Brian notifications@github.com<mailto:notifications@github.com> wrote:

I am receiving an error when trying to read a CDF file. Other CDF files read okay. I am using macOS 10.13.6, conda install of python 3.7.3, pysatCDF 0.3.0 (via pip) and have the most recent NASA CDF driver tools installed.

An example of a file that I can read successfully is ftp://spdf.gsfc.nasa.gov/pub/data/omni/omni_cdaweb/hro_5min/2012/omni_hro_5min_20120101_v01.cdf

and one that fails is ftp://spdf.gsfc.nasa.gov/pub/data/themis/thd/l2/gmom/2012/thd_l2_gmom_20120115_v01.cdf

I've replicated the error on a different machine, and have been able to read both CDF files using other tools.

I've attached output from an IPython session showing the relevant traceback.

cdf_read_error.txthttps://github.com/rstoneback/pysatCDF/files/3192182/cdf_read_error.txt

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/rstoneback/pysatCDF/issues/13?email_source=notifications&email_token=AA3N26NBYLK2V2AQYLNPZPDPV3HR3A5CNFSM4HNWNPU2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GUN4NNA, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA3N26JXP4NW4Y5GN3JUU4LPV3HR3ANCNFSM4HNWNPUQ.