bopen / c3s-eqc-toolbox-template

CADS Toolbox template application
Apache License 2.0
5 stars 4 forks source link

Problem in regridding the dataset #121

Closed akankshabalha closed 9 months ago

akankshabalha commented 10 months ago

Notebook description

The attached code ran successfully two months ago. But now, in 'Step: Plot 2m temperature maps', it does generate the output of Time-weighted raster plot of original and re-gridded 2m temperature (t2m) dataset but with a ValueError. In the next step 'Download and transform (spatial-weighted) t2m data', it again gives error. I am not sure if the error is due to regridding or something else. Albedo_Rev_27Nov (1).zip

Notebook link or upload

No response

Anything else we need to know?

No response

Environment

name: wp5 channels: - conda-forge dependencies: - _libgcc_mutex=0.1=conda_forge - _openmp_mutex=4.5=2_gnu - affine=2.4.0=pyhd8ed1ab_0 - aiohttp=3.8.6=py310h2372a71_1 - aiosignal=1.3.1=pyhd8ed1ab_0 - alsa-lib=1.2.10=hd590300_0 - annotated-types=0.6.0=pyhd8ed1ab_0 - ansiwrap=0.8.4=py_0 - antlr-python-runtime=4.11.1=pyhd8ed1ab_0 - anyio=4.0.0=pyhd8ed1ab_0 - argon2-cffi=23.1.0=pyhd8ed1ab_0 - argon2-cffi-bindings=21.2.0=py310h2372a71_4 - arrow=1.3.0=pyhd8ed1ab_0 - asciitree=0.3.3=py_2 - asttokens=2.4.1=pyhd8ed1ab_0 - async-lru=2.0.4=pyhd8ed1ab_0 - async-timeout=4.0.3=pyhd8ed1ab_0 - attr=2.5.1=h166bdaf_1 - attrs=23.1.0=pyh71513ae_1 - aws-c-auth=0.7.6=h37ad1db_0 - aws-c-cal=0.6.9=h3b91eb8_1 - aws-c-common=0.9.8=hd590300_0 - aws-c-compression=0.2.17=hfd9eb17_6 - aws-c-event-stream=0.3.2=hae413d4_6 - aws-c-http=0.7.14=h162056d_1 - aws-c-io=0.13.35=hc23c90e_8 - aws-c-mqtt=0.9.9=h1387108_0 - aws-c-s3=0.3.23=h7630044_1 - aws-c-sdkutils=0.1.12=hfd9eb17_5 - aws-checksums=0.1.17=hfd9eb17_5 - aws-crt-cpp=0.24.6=h270613d_0 - aws-sdk-cpp=1.11.182=h771f7cb_6 - babel=2.13.1=pyhd8ed1ab_0 - backports=1.0=pyhd8ed1ab_3 - backports.functools_lru_cache=1.6.5=pyhd8ed1ab_0 - beautifulsoup4=4.12.2=pyha770c72_0 - black=23.10.1=py310hff52083_0 - bleach=6.1.0=pyhd8ed1ab_0 - blosc=1.21.5=h0f2a231_0 - bokeh=3.3.1=pyhd8ed1ab_0 - bottleneck=1.3.7=py310h1f7b6fc_1 - branca=0.7.0=pyhd8ed1ab_1 - brotli=1.1.0=hd590300_1 - brotli-bin=1.1.0=hd590300_1 - brotli-python=1.1.0=py310hc6cd4ac_1 - bzip2=1.0.8=hd590300_5 - c-ares=1.21.0=hd590300_0 - ca-certificates=2023.7.22=hbcca054_0 - cached-property=1.5.2=hd8ed1ab_1 - cached_property=1.5.2=pyha770c72_1 - cairo=1.18.0=h3faef2a_0 - cartopy=0.22.0=py310hcc13569_1 - cdsapi=0.6.1=pyhd8ed1ab_0 - certifi=2023.7.22=pyhd8ed1ab_0 - cf-units=3.2.0=py310h1f7b6fc_4 - cf_xarray=0.8.6=pyhd8ed1ab_0 - cffi=1.16.0=py310h2fee648_0 - cfgrib=0.9.10.4=pyhd8ed1ab_0 - cfitsio=4.3.0=hbdc6101_0 - cftime=1.6.3=py310h1f7b6fc_0 - charset-normalizer=3.3.2=pyhd8ed1ab_0 - click=8.1.7=unix_pyh707e725_0 - click-plugins=1.1.1=py_0 - cligj=0.7.2=pyhd8ed1ab_1 - cloudpickle=3.0.0=pyhd8ed1ab_0 - colorama=0.4.6=pyhd8ed1ab_0 - comm=0.1.4=pyhd8ed1ab_0 - contourpy=1.2.0=py310hd41b1e2_0 - cycler=0.12.1=pyhd8ed1ab_0 - cytoolz=0.12.2=py310h2372a71_1 - dask=2023.11.0=pyhd8ed1ab_0 - dask-core=2023.11.0=pyhd8ed1ab_0 - dbus=1.13.6=h5008d03_3 - debugpy=1.8.0=py310hc6cd4ac_1 - decorator=5.1.1=pyhd8ed1ab_0 - defusedxml=0.7.1=pyhd8ed1ab_0 - distributed=2023.11.0=pyhd8ed1ab_0 - eccodes=2.32.1=h35c6de3_0 - entrypoints=0.4=pyhd8ed1ab_0 - esmf=8.4.2=nompi_h9e768e6_3 - esmpy=8.4.2=pyhc1e730c_4 - exceptiongroup=1.1.3=pyhd8ed1ab_0 - executing=2.0.1=pyhd8ed1ab_0 - expat=2.5.0=hcb278e6_1 - fasteners=0.17.3=pyhd8ed1ab_0 - findlibs=0.0.5=pyhd8ed1ab_0 - fiona=1.9.5=py310h7631d76_0 - flox=0.8.2=pyhd8ed1ab_0 - folium=0.15.0=pyhd8ed1ab_0 - font-ttf-dejavu-sans-mono=2.37=hab24e00_0 - font-ttf-inconsolata=3.000=h77eed37_0 - font-ttf-source-code-pro=2.038=h77eed37_0 - font-ttf-ubuntu=0.83=hab24e00_0 - fontconfig=2.14.2=h14ed4e7_0 - fonts-conda-ecosystem=1=0 - fonts-conda-forge=1=0 - fonttools=4.44.1=py310h2372a71_0 - fqdn=1.5.1=pyhd8ed1ab_0 - freeglut=3.2.2=hac7e632_2 - freetype=2.12.1=h267a509_2 - freexl=2.0.0=h743c826_0 - frozenlist=1.4.0=py310h2372a71_1 - fsspec=2023.10.0=pyhca7485f_0 - gdal=3.7.3=py310h5c4b078_4 - geopandas=0.14.1=pyhd8ed1ab_0 - geopandas-base=0.14.1=pyha770c72_0 - geos=3.12.0=h59595ed_0 - geotiff=1.7.1=hf074850_14 - gettext=0.21.1=h27087fc_0 - gflags=2.2.2=he1b5a44_1004 - giflib=5.2.1=h0b41bf4_3 - glib=2.78.1=hfc55251_0 - glib-tools=2.78.1=hfc55251_0 - glog=0.6.0=h6f12383_0 - gmp=6.3.0=h59595ed_0 - graphite2=1.3.13=h58526e2_1001 - greenlet=3.0.1=py310hc6cd4ac_0 - gst-plugins-base=1.22.7=h8e1006c_0 - gstreamer=1.22.7=h98fc4e7_0 - harfbuzz=8.3.0=h3d44ed6_0 - hdf4=4.2.15=h2a13503_7 - hdf5=1.14.2=nompi_h4f84152_100 - icu=73.2=h59595ed_0 - idna=3.4=pyhd8ed1ab_0 - importlib-metadata=6.8.0=pyha770c72_0 - importlib_metadata=6.8.0=hd8ed1ab_0 - importlib_resources=6.1.1=pyhd8ed1ab_0 - ipykernel=6.26.0=pyhf8b6a83_0 - ipython=8.17.2=pyh41d4057_0 - isoduration=20.11.0=pyhd8ed1ab_0 - jasper=4.1.0=he6dfbbe_0 - jedi=0.19.1=pyhd8ed1ab_0 - jinja2=3.1.2=pyhd8ed1ab_1 - joblib=1.3.2=pyhd8ed1ab_0 - json-c=0.17=h7ab15ed_0 - json5=0.9.14=pyhd8ed1ab_0 - jsonpointer=2.4=py310hff52083_3 - jsonschema=4.19.2=pyhd8ed1ab_0 - jsonschema-specifications=2023.7.1=pyhd8ed1ab_0 - jsonschema-with-format-nongpl=4.19.2=pyhd8ed1ab_0 - jupyter-lsp=2.2.0=pyhd8ed1ab_0 - jupyter_client=8.6.0=pyhd8ed1ab_0 - jupyter_core=5.5.0=py310hff52083_0 - jupyter_events=0.9.0=pyhd8ed1ab_0 - jupyter_server=2.10.0=pyhd8ed1ab_0 - jupyter_server_terminals=0.4.4=pyhd8ed1ab_1 - jupyterlab=4.0.8=pyhd8ed1ab_0 - jupyterlab_pygments=0.2.2=pyhd8ed1ab_0 - jupyterlab_server=2.25.1=pyhd8ed1ab_0 - kealib=1.5.2=hcd42e92_1 - keyutils=1.6.1=h166bdaf_0 - kiwisolver=1.4.5=py310hd41b1e2_1 - krb5=1.21.2=h659d440_0 - lame=3.100=h166bdaf_1003 - lcms2=2.15=hb7c19ff_3 - ld_impl_linux-64=2.40=h41732ed_0 - lerc=4.0.0=h27087fc_0 - libabseil=20230802.1=cxx17_h59595ed_0 - libaec=1.1.2=h59595ed_1 - libarchive=3.7.2=h039dbb9_0 - libarrow=14.0.1=he5826ec_2_cpu - libarrow-acero=14.0.1=h59595ed_2_cpu - libarrow-dataset=14.0.1=h59595ed_2_cpu - libarrow-flight=14.0.1=h120cb0d_2_cpu - libarrow-flight-sql=14.0.1=h61ff412_2_cpu - libarrow-gandiva=14.0.1=hacb8726_2_cpu - libarrow-substrait=14.0.1=h61ff412_2_cpu - libblas=3.9.0=19_linux64_openblas - libboost-headers=1.82.0=ha770c72_6 - libbrotlicommon=1.1.0=hd590300_1 - libbrotlidec=1.1.0=hd590300_1 - libbrotlienc=1.1.0=hd590300_1 - libcap=2.69=h0f662aa_0 - libcblas=3.9.0=19_linux64_openblas - libclang=15.0.7=default_h7634d5b_3 - libclang13=15.0.7=default_h9986a30_3 - libcrc32c=1.1.2=h9c3ff4c_0 - libcups=2.3.3=h4637d8d_4 - libcurl=8.4.0=hca28451_0 - libdeflate=1.19=hd590300_0 - libedit=3.1.20191231=he28a2e2_2 - libev=4.33=h516909a_1 - libevent=2.1.12=hf998b51_1 - libexpat=2.5.0=hcb278e6_1 - libffi=3.4.2=h7f98852_5 - libflac=1.4.3=h59595ed_0 - libgcc-ng=13.2.0=h807b86a_3 - libgcrypt=1.10.2=hd590300_0 - libgdal=3.7.3=he5b8fdc_4 - libgfortran-ng=13.2.0=h69a702a_3 - libgfortran5=13.2.0=ha4646dd_3 - libglib=2.78.1=hebfc3b9_0 - libglu=9.0.0=hac7e632_1003 - libgomp=13.2.0=h807b86a_3 - libgoogle-cloud=2.12.0=h5206363_4 - libgpg-error=1.47=h71f35ed_0 - libgrpc=1.59.2=hd6c4280_0 - libiconv=1.17=h166bdaf_0 - libjpeg-turbo=3.0.0=hd590300_1 - libkml=1.3.0=h01aab08_1018 - liblapack=3.9.0=19_linux64_openblas - libllvm14=14.0.6=hcd5def8_4 - libllvm15=15.0.7=h5cf9203_3 - libnetcdf=4.9.2=nompi_h80fb2b6_112 - libnghttp2=1.58.0=h47da74e_0 - libnsl=2.0.1=hd590300_0 - libnuma=2.0.16=h0b41bf4_1 - libogg=1.3.4=h7f98852_1 - libopenblas=0.3.24=pthreads_h413a1c8_0 - libopus=1.3.1=h7f98852_1 - libparquet=14.0.1=h352af49_2_cpu - libpng=1.6.39=h753d276_0 - libpq=16.1=hfc447b1_0 - libprotobuf=4.24.4=hf27288f_0 - libre2-11=2023.06.02=h7a70373_0 - librttopo=1.1.0=hb58d41b_14 - libsndfile=1.2.2=hc60ed4a_1 - libsodium=1.0.18=h36c2ea0_1 - libspatialindex=1.9.3=h9c3ff4c_4 - libspatialite=5.1.0=h090f1da_1 - libsqlite=3.44.0=h2797004_0 - libssh2=1.11.0=h0841786_0 - libstdcxx-ng=13.2.0=h7e041cc_3 - libsystemd0=254=h3516f8a_0 - libthrift=0.19.0=hb90f79a_1 - libtiff=4.6.0=ha9c0a0a_2 - libudunits2=2.2.28=h40f5838_3 - libutf8proc=2.8.0=h166bdaf_0 - libuuid=2.38.1=h0b41bf4_0 - libvorbis=1.3.7=h9c3ff4c_0 - libwebp-base=1.3.2=hd590300_0 - libxcb=1.15=h0b41bf4_0 - libxkbcommon=1.6.0=h5d7e998_0 - libxml2=2.11.5=h232c23b_1 - libzip=1.10.1=h2629f0a_3 - libzlib=1.2.13=hd590300_5 - llvmlite=0.41.1=py310h1b8f574_0 - locket=1.0.0=pyhd8ed1ab_0 - lz4=4.3.2=py310h350c4a5_1 - lz4-c=1.9.4=hcb278e6_0 - lzo=2.10=h516909a_1000 - mapclassify=2.6.1=pyhd8ed1ab_0 - markdown-it-py=3.0.0=pyhd8ed1ab_0 - markupsafe=2.1.3=py310h2372a71_1 - matplotlib=3.8.1=py310hff52083_0 - matplotlib-base=3.8.1=py310h62c0568_0 - matplotlib-inline=0.1.6=pyhd8ed1ab_0 - mdurl=0.1.0=pyhd8ed1ab_0 - minizip=4.0.3=h0ab5242_0 - mistune=3.0.2=pyhd8ed1ab_0 - mpg123=1.32.3=h59595ed_0 - msgpack-python=1.0.6=py310hd41b1e2_0 - multidict=6.0.4=py310h2372a71_1 - munch=4.0.0=pyhd8ed1ab_0 - munkres=1.1.4=pyh9f0ad1d_0 - mypy_extensions=1.0.0=pyha770c72_0 - mysql-common=8.0.33=hf1915f5_6 - mysql-libs=8.0.33=hca2cd23_6 - nbclient=0.8.0=pyhd8ed1ab_0 - nbconvert=7.11.0=pyhd8ed1ab_0 - nbconvert-core=7.11.0=pyhd8ed1ab_0 - nbconvert-pandoc=7.11.0=pyhd8ed1ab_0 - nbformat=5.9.2=pyhd8ed1ab_0 - nc-time-axis=1.4.1=pyhd8ed1ab_0 - ncurses=6.4=h59595ed_2 - nest-asyncio=1.5.8=pyhd8ed1ab_0 - netcdf-fortran=4.6.1=nompi_hacb5139_102 - netcdf4=1.6.5=nompi_py310hba70d50_100 - networkx=3.2.1=pyhd8ed1ab_0 - notebook-shim=0.2.3=pyhd8ed1ab_0 - nspr=4.35=h27087fc_0 - nss=3.94=h1d7d5a4_0 - numba=0.58.1=py310h7dc5dd1_0 - numcodecs=0.12.1=py310hc6cd4ac_0 - numpy=1.26.0=py310hb13e2d6_0 - numpy_groupies=0.10.2=pyhd8ed1ab_0 - openjpeg=2.5.0=h488ebb8_3 - openssl=3.1.4=hd590300_0 - orc=1.9.0=h4b38347_4 - overrides=7.4.0=pyhd8ed1ab_0 - packaging=23.2=pyhd8ed1ab_0 - pandas=2.1.3=py310hcc13569_0 - pandoc=3.1.3=h32600fe_0 - pandocfilters=1.5.0=pyhd8ed1ab_0 - papermill=2.4.0=pyhd8ed1ab_0 - parso=0.8.3=pyhd8ed1ab_0 - partd=1.4.1=pyhd8ed1ab_0 - pathspec=0.11.2=pyhd8ed1ab_0 - patsy=0.5.3=pyhd8ed1ab_0 - pcre2=10.40=hc3806b6_0 - pexpect=4.8.0=pyh1a96a4e_2 - pickleshare=0.7.5=py_1003 - pillow=10.1.0=py310h01dd4db_0 - pip=23.3.1=pyhd8ed1ab_0 - pixman=0.42.2=h59595ed_0 - pkgutil-resolve-name=1.3.10=pyhd8ed1ab_1 - platformdirs=4.0.0=pyhd8ed1ab_0 - plotly=5.18.0=pyhd8ed1ab_0 - ply=3.11=py_1 - pooch=1.8.0=pyhd8ed1ab_0 - poppler=23.11.0=h590f24d_0 - poppler-data=0.4.12=hd8ed1ab_0 - postgresql=16.1=h8972f4a_0 - proj=9.3.0=h1d62c97_2 - prometheus_client=0.18.0=pyhd8ed1ab_1 - prompt-toolkit=3.0.41=pyha770c72_0 - prompt_toolkit=3.0.41=hd8ed1ab_0 - properscoring=0.1=py_0 - psutil=5.9.5=py310h2372a71_1 - pthread-stubs=0.4=h36c2ea0_1001 - ptyprocess=0.7.0=pyhd3deb0d_0 - pulseaudio-client=16.1=hb77b528_5 - pure_eval=0.2.2=pyhd8ed1ab_0 - pwlf=2.2.1=py310hff52083_3 - pyarrow=14.0.1=py310hf9e7431_2_cpu - pyarrow-hotfix=0.5=pyhd8ed1ab_0 - pycparser=2.21=pyhd8ed1ab_0 - pydantic=2.5.0=pyhd8ed1ab_0 - pydantic-core=2.14.1=py310hcb5633a_0 - pydantic-settings=2.1.0=pyhd8ed1ab_0 - pydoe=0.3.8=py_1 - pygments=2.16.1=pyhd8ed1ab_0 - pyparsing=3.1.1=pyhd8ed1ab_0 - pyproj=3.6.1=py310h32c33b7_4 - pyqt=5.15.9=py310h04931ad_5 - pyqt5-sip=12.12.2=py310hc6cd4ac_5 - pyshp=2.3.1=pyhd8ed1ab_0 - pysocks=1.7.1=pyha2e5f31_6 - python=3.10.13=hd12c33a_0_cpython - python-dateutil=2.8.2=pyhd8ed1ab_0 - python-dotenv=1.0.0=pyhd8ed1ab_1 - python-eccodes=1.6.1=py310h1f7b6fc_1 - python-fastjsonschema=2.18.1=pyhd8ed1ab_0 - python-json-logger=2.0.7=pyhd8ed1ab_0 - python-tzdata=2023.3=pyhd8ed1ab_0 - python_abi=3.10=4_cp310 - pytz=2023.3.post1=pyhd8ed1ab_0 - pyyaml=6.0.1=py310h2372a71_1 - pyzmq=25.1.1=py310h795f18f_2 - qt-main=5.15.8=h82b777d_17 - rasterio=1.3.9=py310h6a913dc_0 - rdma-core=28.9=h59595ed_1 - re2=2023.06.02=h2873b5e_0 - readline=8.2=h8228510_1 - referencing=0.30.2=pyhd8ed1ab_0 - regionmask=0.11.0=pyhd8ed1ab_0 - requests=2.31.0=pyhd8ed1ab_0 - rfc3339-validator=0.1.4=pyhd8ed1ab_0 - rfc3986-validator=0.1.1=pyh9f0ad1d_0 - rich=13.6.0=pyhd8ed1ab_0 - rioxarray=0.15.0=pyhd8ed1ab_0 - rpds-py=0.12.0=py310hcb5633a_0 - rtree=1.1.0=py310hbdcdc62_0 - s2n=1.3.56=h06160fa_0 - scikit-learn=1.3.2=py310h1fdf081_1 - scipy=1.11.3=py310hb13e2d6_1 - seaborn=0.13.0=hd8ed1ab_0 - seaborn-base=0.13.0=pyhd8ed1ab_0 - send2trash=1.8.2=pyh41d4057_0 - setuptools=68.2.2=pyhd8ed1ab_0 - shapely=2.0.2=py310h7dcad9a_0 - shellingham=1.5.4=pyhd8ed1ab_0 - sip=6.7.12=py310hc6cd4ac_0 - six=1.16.0=pyh6c4a22f_0 - snappy=1.1.10=h9fff704_0 - sniffio=1.3.0=pyhd8ed1ab_0 - snuggs=1.4.7=py_0 - sortedcontainers=2.4.0=pyhd8ed1ab_0 - soupsieve=2.5=pyhd8ed1ab_1 - sparse=0.14.0=pyhd8ed1ab_0 - sqlalchemy=2.0.23=py310h2372a71_0 - sqlite=3.44.0=h2c6b66d_0 - stack_data=0.6.2=pyhd8ed1ab_0 - statsmodels=0.14.0=py310h1f7b6fc_2 - structlog=23.2.0=pyhd8ed1ab_0 - tblib=2.0.0=pyhd8ed1ab_0 - tenacity=8.2.3=pyhd8ed1ab_0 - terminado=0.18.0=pyh0d859eb_0 - textwrap3=0.9.2=py_0 - threadpoolctl=3.2.0=pyha21a80b_0 - tiledb=2.16.3=h8c794c1_3 - tinycss2=1.2.1=pyhd8ed1ab_0 - tk=8.6.13=noxft_h4845f30_101 - toml=0.10.2=pyhd8ed1ab_0 - tomli=2.0.1=pyhd8ed1ab_0 - toolz=0.12.0=pyhd8ed1ab_0 - tornado=6.3.3=py310h2372a71_1 - tqdm=4.66.1=pyhd8ed1ab_0 - traitlets=5.13.0=pyhd8ed1ab_0 - typer=0.9.0=pyhd8ed1ab_0 - types-python-dateutil=2.8.19.14=pyhd8ed1ab_0 - typing-extensions=4.8.0=hd8ed1ab_0 - typing_extensions=4.8.0=pyha770c72_0 - typing_utils=0.1.0=pyhd8ed1ab_0 - tzcode=2023c=h0b41bf4_0 - tzdata=2023c=h71feb2d_0 - ucx=1.15.0=h64cca9d_0 - udunits2=2.2.28=h40f5838_3 - unicodedata2=15.1.0=py310h2372a71_0 - uri-template=1.3.0=pyhd8ed1ab_0 - uriparser=0.9.7=hcb278e6_1 - urllib3=2.1.0=pyhd8ed1ab_0 - wcwidth=0.2.10=pyhd8ed1ab_0 - webcolors=1.13=pyhd8ed1ab_0 - webencodings=0.5.1=pyhd8ed1ab_2 - websocket-client=1.6.4=pyhd8ed1ab_0 - wheel=0.41.3=pyhd8ed1ab_0 - xarray=2023.10.1=pyhd8ed1ab_0 - xarraymannkendall=1.4.5=pyhd8ed1ab_0 - xcb-util=0.4.0=hd590300_1 - xcb-util-image=0.4.0=h8ee46fc_1 - xcb-util-keysyms=0.4.0=h8ee46fc_1 - xcb-util-renderutil=0.3.9=hd590300_1 - xcb-util-wm=0.4.1=h8ee46fc_1 - xerces-c=3.2.4=hac6953d_3 - xesmf=0.8.2=pyhd8ed1ab_0 - xhistogram=0.3.2=pyhd8ed1ab_0 - xkeyboard-config=2.40=hd590300_0 - xorg-fixesproto=5.0=h7f98852_1002 - xorg-inputproto=2.3.2=h7f98852_1002 - xorg-kbproto=1.0.7=h7f98852_1002 - xorg-libice=1.1.1=hd590300_0 - xorg-libsm=1.2.4=h7391055_0 - xorg-libx11=1.8.7=h8ee46fc_0 - xorg-libxau=1.0.11=hd590300_0 - xorg-libxdmcp=1.1.3=h7f98852_0 - xorg-libxext=1.3.4=h0b41bf4_2 - xorg-libxfixes=5.0.3=h7f98852_1004 - xorg-libxi=1.7.10=h7f98852_0 - xorg-libxrender=0.9.11=hd590300_0 - xorg-renderproto=0.11.1=h7f98852_1002 - xorg-xextproto=7.3.0=h0b41bf4_1003 - xorg-xf86vidmodeproto=2.3.1=h7f98852_1002 - xorg-xproto=7.0.31=h7f98852_1007 - xskillscore=0.0.24=pyhd8ed1ab_0 - xyzservices=2023.10.1=pyhd8ed1ab_0 - xz=5.2.6=h166bdaf_0 - yaml=0.2.5=h7f98852_2 - yarl=1.9.2=py310h2372a71_1 - zarr=2.16.1=pyhd8ed1ab_0 - zeromq=4.3.5=h59595ed_0 - zict=3.0.0=pyhd8ed1ab_0 - zipp=3.17.0=pyhd8ed1ab_0 - zlib=1.2.13=hd590300_5 - zstd=1.5.5=hfc55251_0 - pip: - c3s-eqc-automatic-quality-control==0.1.2.dev94+ge501e48 - cacholote==0.5.2 - cads-toolbox==0.0.2b0 - cgul==0.0.4 - coucal==0.0.1b3 - emohawk==0.0.4b0 - kaleido==0.2.1 - pymannkendall==1.4.3 prefix: /data/common/miniforge3/envs/wp5 Note: you may need to restart the kernel to use updated packages.
malmans2 commented 10 months ago

The problem is the plotting function. Do you want to compute the spatial weighted statistics shown to the right of the plots? If no, you can just use this argument show_stats=False.

plot.projected_map(da_t2m_regrid, cmap="YlOrRd", show_stats=False)

If yes, you need to rechunk or load into memory the dataarray because dask does not allow to compute quantiles along chunked dimension. For example, you just have to do this:

da_t2m_regrid = diagnostics.regrid(
    da_t2m, grid_out=da_albedo_subset_p, method="nearest_s2d"
).compute()
plot.projected_map(da_t2m_regrid, cmap="YlOrRd")
malmans2 commented 10 months ago

Hi @akankshabalha,

Did the fix work? Can I close this issue?