GithubHelp home page GithubHelp logo

Comments (7)

Hoxbro avatar Hoxbro commented on August 24, 2024

We can only find out what the problem is with a minimal, reproducible example (MRE).

from geoviews.

morf1102 avatar morf1102 commented on August 24, 2024

Sorry for the delay; for some reason I encountered some difficulties in recreating the error with a MRE, but here's what I came up with:

import hvplot.xarray
import numpy as np
import pandas as pd
import xarray as xr
TT = np.random.randn(100, 100, 24)
lon = list(range(0, 100))
lat = list(range(0, 100))
time = pd.date_range("2023-07-05", periods=24, freq="1H")

ds = xr.Dataset(
    data_vars=dict(
        TT=(["lon", "lat", "time"], TT),
    ),
    coords=dict(lon=(["lon"], lon), lat=(["lat"], lat), time=(["time"], time)),
).chunk()

ds = ds.resample(time="3H").max()
ds.isel(time=0).hvplot.quadmesh(
    geo=True,
    project=True,
    rasterize=True,
    dynamic=True,
)

from geoviews.

Hoxbro avatar Hoxbro commented on August 24, 2024

I don't get the error what are your versions of HoloViews and Datashader?

from geoviews.

morf1102 avatar morf1102 commented on August 24, 2024

Holoviews : 1.16.1
Datashader: 0.15.0

from geoviews.

Hoxbro avatar Hoxbro commented on August 24, 2024

Those seem like recent enough versions. Where do you see the error in Jupyter notebook / Jupyter lab / VScode?

from geoviews.

morf1102 avatar morf1102 commented on August 24, 2024

Jupyter lab

from geoviews.

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.