-
Notifications
You must be signed in to change notification settings - Fork 44
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
Error while extracting SSP126 temperature & salinity #207
Comments
The same code is working for Historical & other SSP scenarios. |
Hi @Yadidya5, thanks for using cmip6_preprocessing. I cannot reproduce your example above. It seems to me that the I tried two things:
import dask
import intake
from cmip6_preprocessing.preprocessing import combined_preprocessing
wrapper = combined_preprocessing
url = "https://storage.googleapis.com/cmip6/pangeo-cmip6.json"
col = intake.open_esm_datastore(url)
query_tsz = dict(experiment_id=['historical'],
table_id='Omon',source_id=['CanESM5'],
variable_id=['thetao','so'],
member_id = 'r1i1p1f1',)
col_subset = col.search(require_all_on=['experiment_id'], **query_tsz)
print(col_subset.df.groupby('experiment_id')[['member_id', 'variable_id', 'table_id']].nunique())
cat_tsz = col.search(**query_tsz)
cat_tsz.df['experiment_id'].unique()
z_kwargs = {'consolidated': True, 'decode_times':False}
# pass the preprocessing directly
with dask.config.set(**{'array.slicing.split_large_chunks': True}):
dset_dict_tsz = cat_tsz.to_dataset_dict(zarr_kwargs=z_kwargs,
preprocess=wrapper)
import xarray as xr
for store in cat_tsz.df['zstore'].tolist():
ds_test = xr.open_zarr(store) Both of these work for me. Could you provide some information on what |
Thanks for the reply @jbusecke! I defined the
I'm running this code on my local machine. Oops! I just rechecked the error and apologies for my mistake in the code I first attached. The code is running for
After running
The error is:
|
Sorry for the delay. I have just confirmed this error. Since this is not related to cmip6_preprocessing (as we have confirmed by opening the 'raw' store), this cannot be fixed here. I just opened an issue here. Please note that I dont think this problem will be fixed immediately. We are working on quite major changes over there. In the meantime, I would suggest you modify the resulting catalog (and remove the stores that fail to open). sorry for the inconvenience. |
Thank you for the clarification @jbusecke! I understand that it may take a while for this issue to be resolved but hats off to all the amazing work that your team is up to. Cheers! |
This is my code:
Error:
The text was updated successfully, but these errors were encountered: