goes2go
goes2go copied to clipboard
goes2go xarray accessors could not be imported.
Hello,
First off, thank you for providing this package. I'll admit that I am not so experienced with python and python environments (come from nodejs background).
When trying to import goes2go
after installing, I get the following error:
UserWarning: goes2go xarray accessors could not be imported.
warnings.warn("goes2go xarray accessors could not be imported.")
This prevents me from using the package. Not sure how to resolve and would love some guidance.
I'll have to look into this.
This warning means the xarray accessors could not be imported. My first guess is that you might not have Cartopy installed, which is required for some of the accessors to work (see accessors.py).
import cartopy.crs as ccrs
I suppose the setup.py file should be updated to require cartopy as a dependency.
I admit, the design isn't super robust; cartopy is only required if you are using the field-of-view accessors, not the RGB accessors.
You shouldn't need the accessors to just download GOES data.
For what it's worth, I have installed Cartopy from this source: https://www.lfd.uci.edu/~gohlke/pythonlibs/ Cartopy-0.20.2-cp310-cp310-win_amd64.whl