miniufo / xgrads

Parse and read ctl and associated binary file commonly used by GrADS into xarray
https://xgrads.readthedocs.io/
MIT License
70 stars 27 forks source link

there are missing binary files #39

Closed JQQQQQQ closed 1 year ago

JQQQQQQ commented 2 years ago

Hello, I follow your modification after the operation reported the following error。My binary data file is from 00 hours to 24 hours. Please help me, thank you!

Traceback (most recent call last): File "F:/python/CUACE/test20161216.py", line 3, in fn=open_CtlDataset('G:/CUACE/result/0907/chemvar.ctl') File "D:\soft\Anaconda\lib\site-packages\xgrads\io.py", line 143, in open_CtlDataset raise Exception('there are missing binary files') Exception: there are missing binary files warning: G:/CUACE/result/0907/chemvar201612160002500 is missing...

miniufo commented 1 year ago

Sorry I missed your post. Could you please show me the ctl content and also all your data files (names only)? I guess your tdef is longer than the actual data length.