Example with GRIB2 data #229
Answered
by
giswqs
blaylockbk
asked this question in
Q&A
-
There is a lot of weather data in the GRIB2 format. It's easy to read GRIB2 into an xarray DataFrame with cfgrib. Is there an easy way to add data from xarray to leafmap? Sorry if I missed an existing example in the docs. |
Beta Was this translation helpful? Give feedback.
Answered by
giswqs
Mar 29, 2022
Replies: 1 comment 6 replies
-
You can convert xarray to COG then use Map.add_geotiff() to display data. It doesn't support loading data directly from xarray in the memory yet. |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
giswqs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can convert xarray to COG then use Map.add_geotiff() to display data. It doesn't support loading data directly from xarray in the memory yet.
https://leafmap.org/notebooks/47_numpy_to_cog/