Created
November 9, 2022 01:06
-
-
Save cortehz/7d150e276c6e63c9ea91958a7b50aea6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%time col = intake.open_esm_datastore(col_url) | |
col_url = "/pool/data/Catalogs/dkrz_cmip6_disk.json" | |
sourceIds = ['CAMS-CSM1-0', 'CMCC-CM2-SR5', 'CMCC-ESM2', 'ACCESS-ESM1-5', 'ACCESS-CM2', 'MPI-ESM1-2-LR'] | |
cat = col.search(member_id='r1i1p1f1', | |
experiment_id='historical', | |
activity_id='CMIP', | |
table_id='Omon', | |
variable_id='thetao', | |
grid_label='gn', | |
source_id=sourceIds) | |
with dask.config.set(**{'array.slicing.split_large_chunks': True}): | |
data_dict = cat.to_dataset_dict(cdf_kwargs={"chunks": {"time": -1}, | |
"use_cftime": True}, preprocess=combined_preprocessing) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment