Closed ShihengDuan closed 3 months ago
I can't reproduce this (datasets aren't readable/publicly accessible with full path names).
This may not be the issue, but have you tried calling the regridder as is shown in the docs?
xcdat-test.zip It seems I cannot upload nc files directly but this should work.
The above is what I am getting when running @ShihengDuan's code above with the latest main branch after #533 being merged. @ShihengDuan Does this look reasonable to you?
Yes I think this makes sense to me. Thanks!
@ShihengDuan thanks for confirming! I am closing this issue but please feel free to reopen when you have any further issue.
Originally discussed here: https://github.com/xCDAT/xcdat/discussions/598
What happened?
Initially I have a problem with Regrid2Regridder since it shows NANs: Regrid2Regridder.
When I try to create an example, I found that if the target_grid only has one variable, it works well. I'm not sure if this is related to this.
Code:
vic_ele
is the elevation data extracted fromvic_grid
.What I get:
What did you expect to happen? Are there are possible answers you came across?
No response
Minimal Complete Verifiable Example (MVCE)
No response
Relevant log output
No response
Anything else we need to know?
Example files: UA_swe.nc domain.vic.WUS.0625deg.nc vic_ele.nc
Environment
INSTALLED VERSIONS
commit: None python: 3.9.15 | packaged by conda-forge | (main, Nov 22 2022, 08:45:29) [GCC 10.4.0] python-bits: 64 OS: Linux OS-release: 4.18.0-513.9.1.1toss.t4.x86_64 machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 LOCALE: ('en_US', 'UTF-8') libhdf5: 1.12.1 libnetcdf: 4.8.1
xarray: 2023.1.0 pandas: 1.5.3 numpy: 1.26.3 scipy: 1.12.0 netCDF4: 1.5.8 pydap: None h5netcdf: None h5py: None Nio: None zarr: None cftime: 1.6.3 nc_time_axis: 1.4.1 PseudoNetCDF: None rasterio: None cfgrib: None iris: None bottleneck: None dask: 2022.6.1 distributed: 2022.6.1 matplotlib: 3.3.2 cartopy: 0.21.0 seaborn: None numbagg: None fsspec: 2023.12.2 cupy: None pint: None sparse: 0.15.1 flox: None numpy_groupies: None setuptools: 69.0.3 pip: 23.3.2 conda: None pytest: None mypy: None IPython: 8.12.0 sphinx: None