Hi,
I read my GOES19 data using satpy. But when I use this to plot my data:
my_channel = 'C13'
import cartopy.crs as ccrs
crs = scn[my_channel].attrs['area'].to_cartopy_crs()
plt.figure()
ax = plt.axes(projection=ccrs.PlateCarree())
my_data = scn[my_channel]
my_data.plot.imshow(transform=crs)
ax.coastlines()
ax.gridlines()
plt.show()
I had this error:
crs = scn[my_channel].attrs['area'].to_cartopy_crs()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'StackedAreaDefinition' object has no attribute
'to_cartopy_crs'
I copy to plot my data from 07_cartopy_geoviews.ipynb from:
https://github.com/pytroll/tutorial-satpy-half-day/blob/main/notebooks/07_cartopy_geoviews.ipynb
Could you help me
Thanks,
Conrado
--
You received this message because you are subscribed to the Google Groups "pytroll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pytroll+u...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/pytroll/ec7be5b8-407b-4357-b0fb-cea52bfa720b%40gmail.com.