Christophe Noel (Spacebel)
Christophe Noel (Spacebel)
Thanks so much for your support. However, I have tried with the code below, and this is unsucessful: nothing is displayed, and after a while a javascript error is shown...
As you have noticed, I'm a python newbie. Here it is: ``` dask.array Coordinates: * latitude (latitude) float64 4.406e+06 4.406e+06 ... 4.436e+06 4.436e+06 * longitude (longitude) float64 2.477e+05 2.477e+05 ......
This uses the UTM 30N (EPSG 32630) projection: https://epsg.io/32630
I tried after reprojecting to EPSG:4326 using pyproj: from pyproj import Transformer r3 = rf.isel(wavelength=0,latitude=slice(0,1000),longitude=slice(0,1000)) # Retrieve dataset and coordinates ``` lat = r3.latitude.data lon = r3.longitude.data # Reproject coordinates...
Thanks for the tip. I have tried from Binder on your repo and locally from the conda env below, but this doesn't change anything. ``` name: zarr-leaflet channels: - conda-forge...
You're right. I have created a repo and a binder: https://github.com/christophenoel/zarr-leaflet
Sorry, I made so many tests that I introduced an error. I added file zarr-leaflet-4326.ipynb which reproject to EPSG:4326.
For info, I have also added zarr-xy-leaflet.ipynb : in this NB I convert dims and coordinates name to x,y then use rioxarray to reproject the array. Same problem though... ;)
Hello David, Have you had some time to have a look to my binder? Any idea of the possible cause ? Maybe the extend is wrong or should be specificed...
The GeoZarr specification has been transferred to the Zarr-developers repository to facilitate collaborative work on the specification. https://github.com/zarr-developers/geozarr-spec