GOES rgb recipes doesn't work out of the box #19
-
Hi, I am hitting a roadblock where |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @data-panda, sorry you are hitting a roadblock. I'm not able to reproduce your problem. This is what I did... from goes2go.data import goes_latest
import matplotlib.pyplot as plt ds = goes_latest() ds.rgb rgb = ds.rgb.TrueColor()
rgb plt.imshow(rgb) That said, the These lines are at the top of init.py when you import goes2go
If you are getting the warning that goes2go xarray accessors could not be imported, then that would be your problem. These are imported by the accessor; if any of these are not in your python environment, that could cause the problem import warnings
import cartopy.crs as ccrs
import numpy as np
import xarray as xr
from shapely.geometry import Point, Polygon |
Beta Was this translation helpful? Give feedback.
Hi @data-panda, sorry you are hitting a roadblock.
I'm not able to reproduce your problem. This is what I did...
That said, the
rgb
attribute in the statementds.rgb.TrueColor()
is an xarray Dataset accessor, which should be loaded when you import goes2go.These lines are at the top of init.py when you import goes2go
If you are getting the warning that goes2go xarray accessors could not be imported, then that would be your problem.
Thes…