Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

goes2go xarray accessors could not be imported. #69

Open
jimmycrackc0rn7 opened this issue Jul 26, 2023 · 2 comments
Open

goes2go xarray accessors could not be imported. #69

jimmycrackc0rn7 opened this issue Jul 26, 2023 · 2 comments

Comments

@jimmycrackc0rn7
Copy link

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.

@blaylockbk
Copy link
Owner

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.

@jimmycrackc0rn7
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants