Then, opened the file in Spyder, and tried to run this simple script: import xarray as xrĭs = xr.open_dataset('ib', engine='cfgrib')Ĭan't read index file 'C:\Users\name\Desktop\data\'įile "C:\Users\name\anaconda3\envs\Weather\lib\site-packages\cfgrib\messages.py", line 351, in from_indexpath_or_filestreamįile "C:\Users\name\anaconda3\envs\Weather\lib\site-packages\cfgrib\messages.py", line 323, in from_indexpathĪn error ocurred while starting the kernelĮCCODES ERROR : Unable to find f. Once there, I have changed the directory to the place where I have the grib files that I will be working with, in order to install cfgrib, I have used the following command:Īs the Python module depends on ECMWF ecCodes binary library, in the same Anaconda Prompt, I ran the following command: I have accessed Anaconda Prompt for the environment that I will be working.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |