-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove Xarray Private API and remove pinning #381
Comments
Signed-off-by: pilotchute <akootz@ucar.edu>
This seems relevant: pydata/xarray#7645 |
This is private API, you should vendor it though the current version isn't the most friendly for vendoring. So perhaps reimplement it. Also I recommend updating your |
Signed-off-by: pilotchute <akootz@ucar.edu>
Part of this issue appears in 02-more_advanced_functionality and prevents graphs from being generated # Minimal Example:
from geocat.comp import climatology_average
import xarray as xr
import geocat.datafiles as gdf
nc_file = gdf.get('netcdf_files/atm.20C.hourly6-1990-1995-TS.nc')
ds = xr.open_dataset(nc_file)
ds = ds.isel(member_id=0) # select one model from the ensemble
temp = ds.TS
monthly_temp = climatology_average(temp, freq='month') Throws: The issue seems to come from For now, while running locally by changing Until there is a public API this can be change in /home/user/miniconda3/envs/geocat-tutorials/lib/python3.10/site-packages/geocat/comp/climatologies.py on conda to run the tutorial
|
Currently, an open issue on geocat-comp. Can get around the error by setting
|
Describe the bug
Xarray 2023.03.0 breaks tests due to a call on line 1818 of xarray/core/common.py
To Reproduce
run tests
Expected behavior
no error
Screenshots
Failing test run
OS:
Both MacOS and Ubuntu
Environment
n/a
The text was updated successfully, but these errors were encountered: