Hi folks,
Yet more issues for the hivemind. When using intake-esm to load numerous models to dictionary via ‘to_dataset_dict’ I’m encountering a recursion error, specifically:
RecursionError: maximum recursion depth exceeded while calling a Python object
From the intake-esm forums this appears to be related to models with incompatible vertical coordinates (even though I’m preprocessing prior to intake with the preprocess= modifier). My question is, how can I tell which models/variable, out of potentially dozens, is causing the recursion error, if it is indeed the cause.
Code below:
col_url=‘https://raw.githubusercontent.com/NCAR/intake-esm-datastore/master/catalogs/pangeo-cmip6.json’
col = intake.open_esm_datastore(col_url)
col.aggregation_info[‘aggregations’][0].update({‘options’: {‘compat’: ‘override’}})cat = col.search(require_all_on=[“source_id”],experiment_id=[‘ssp585’],table_id=‘Omon’,variable_id=[‘thetao’,‘so’,‘vmo’,‘dissic’],grid_label=‘gn’)
dset_dict_thetaso = cat.to_dataset_dict(zarr_kwargs={‘consolidated’: True, ‘decode_times’: True},cdf_kwargs={‘chunks’: {}, ‘decode_times’: True})