You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vic_ele is the elevation data extracted from vic_grid.
2024-02-02 17:38:17,872 [WARNING]: dataset.py(open_dataset:128) >> "No time coordinates were found in this dataset to decode. If time coordinates were expected to exist, make sure they are detectable by setting the CF 'axis' or 'standard_name' attribute (e.g., ds['time'].attrs['axis'] = 'T' or ds['time'].attrs['standard_name'] = 'time'). Afterwards, try decoding again with `xcdat.decode_time`."
2024-02-02 17:38:17,872 [WARNING]: dataset.py(open_dataset:128) >> "No time coordinates were found in this dataset to decode. If time coordinates were expected to exist, make sure they are detectable by setting the CF 'axis' or 'standard_name' attribute (e.g., ds['time'].attrs['axis'] = 'T' or ds['time'].attrs['standard_name'] = 'time'). Afterwards, try decoding again with `xcdat.decode_time`."
2024-02-02 17:38:17,898 [WARNING]: dataset.py(open_dataset:128) >> "No time coordinates were found in this dataset to decode. If time coordinates were expected to exist, make sure they are detectable by setting the CF 'axis' or 'standard_name' attribute (e.g., ds['time'].attrs['axis'] = 'T' or ds['time'].attrs['standard_name'] = 'time'). Afterwards, try decoding again with `xcdat.decode_time`."
2024-02-02 17:38:17,898 [WARNING]: dataset.py(open_dataset:128) >> "No time coordinates were found in this dataset to decode. If time coordinates were expected to exist, make sure they are detectable by setting the CF 'axis' or 'standard_name' attribute (e.g., ds['time'].attrs['axis'] = 'T' or ds['time'].attrs['standard_name'] = 'time'). Afterwards, try decoding again with `xcdat.decode_time`."
0.6.1
<xarray.Dataset>
Dimensions: (lon: 312, lat: 264, bnds: 2)
Coordinates:
* lon (lon) float64 -123.0 -122.9 -122.8 -122.8 ... -103.7 -103.6 -103.5
* lat (lat) float64 32.53 32.59 32.66 32.72 ... 48.78 48.84 48.91 48.97
Dimensions without coordinates: bnds
Data variables:
elev (lat, lon) float64 ...
mask (lat, lon) int32 ...
frac (lat, lon) float64 ...
area (lat, lon) float64 ...
lon_bnds (lon, bnds) float64 -123.0 -122.9 -122.9 ... -103.6 -103.6 -103.5
lat_bnds (lat, bnds) float64 32.5 32.56 32.56 32.62 ... 48.94 48.94 49.0
Attributes:
title: VIC domain data
Conventions: CF-1.6
history: created by shiduan, 2023-11-14 11:56:44.828806
user_comment: VIC domain data
source: generated from VIC North American 1/16 deg. model paramete...
What I get:
What did you expect to happen? Are there are possible answers you came across?
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?
Originally discussed here: #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:
![image](https://private-user-images.githubusercontent.com/26401994/302006314-0d1ba84d-93d8-4954-8201-1dcbfda36970.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxOTEzMTIsIm5iZiI6MTczOTE5MTAxMiwicGF0aCI6Ii8yNjQwMTk5NC8zMDIwMDYzMTQtMGQxYmE4NGQtOTNkOC00OTU0LTgyMDEtMWRjYmZkYTM2OTcwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDEyMzY1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQwNjhlODhkMDQ1MTdkOTYzN2YwMzNjZTAwMTBiN2MyZDEzNzM5MDQzODczYjQ0NzcwYmQ0YTA4ZDk1NjE4ODkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.kZNMrF_Y9aHJ5npj0iW2C3HDugKM5Ujf5-FnzXw3Pgo)
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
The text was updated successfully, but these errors were encountered: