Skip to content
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

Fix climatology_bounds of the preprocess data #48

Open
SarahAlidoost opened this issue Nov 2, 2021 · 0 comments
Open

Fix climatology_bounds of the preprocess data #48

SarahAlidoost opened this issue Nov 2, 2021 · 0 comments

Comments

@SarahAlidoost
Copy link
Contributor

SarahAlidoost commented Nov 2, 2021

In notebooks (after merging #38), we add seasons as time values together with climatology_bounds, like this example. The preprocessed data can be read with both iris and xarray. However, some operations might return an error, for example:

ds = xr.open_dataset("./AtlasData/preprocess/atlas_EUCP_CNRM_CMIP6_KCC_cons_tas.nc")
ds.to_array()

ValueError: coordinate climatology_bounds has dimensions ('climatology_bounds',), but these are not a subset of the DataArray dimensions ('variable', 'time', 'latitude', 'longitude', 'percentile')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant