GOES rgb recipes doesn't work out of the box #19
|
Hi, I am hitting a roadblock where |
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 pltds = goes_latest()ds.rgbrgb = ds.rgb.TrueColor()
rgbplt.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 |




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
rgbattribute 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…