Giter VIP home page Giter VIP logo

Comments (8)

davidbrochart avatar davidbrochart commented on July 20, 2024 1

It works fine on my local setup but it's not even pushed to master yet, we need an ipyleaflet release before.
I will let you know when it's done, thanks for reporting the issue.

from xarray_leaflet.

davidbrochart avatar davidbrochart commented on July 20, 2024 1

Can you try removing da = xr.where(da==nan, np.nan, da)?

from xarray_leaflet.

davidbrochart avatar davidbrochart commented on July 20, 2024 1

Fantastic! Removing that line solves the issue.

I don't fully understand why removing this line makes it work though.

I will be integrating xarray_leaflet into geemap shortly. Loading local datasets and cloud optimized GeoTIFF is a highly desirable feature. Thank you very much for your excellent work!

Thanks! I'm excited to see what you will do with xarray-leaflet, I think that to have you using it is a great opportunity to improve it. I'll try to keep up with your feedback!

BTW, can the color ramp be customized?

Yes, for now it's just a matplotlib colormap so you can tweak it, see this example. Feedback is also welcome in #14.

from xarray_leaflet.

giswqs avatar giswqs commented on July 20, 2024 1

I just figured it out.

from xarray_leaflet.

davidbrochart avatar davidbrochart commented on July 20, 2024

It should be fixed in v0.1.9.

from xarray_leaflet.

giswqs avatar giswqs commented on July 20, 2024

It seems there is still some weird black background when displaying GeoTIFF with v0.1.9.

Here is the notebook to reproduce the issue.

from xarray_leaflet.

giswqs avatar giswqs commented on July 20, 2024

Fantastic! Removing that line solves the issue. I will be integrating xarray_leaflet into geemap shortly. Loading local datasets and cloud optimized GeoTIFF is a highly desirable feature. Thank you very much for your excellent work!

from xarray_leaflet.

giswqs avatar giswqs commented on July 20, 2024

BTW, can the color ramp be customized?

from xarray_leaflet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.