Open andersy005 opened 4 years ago
For CMIP6, only DCPP experiments contain sub experiments (see https://github.com/WCRP-CMIP/CMIP6_CVs/blob/master/CMIP6_experiment_id.json - under the "sub_experiment_id" key). As long as conventions are observed, it may be safe to assume that if DCPP resides in the path, you'll need to treat it as a special case.
I've put together a file parser for cesm2_cmip6 collection, however, I am not sure I am getting everything right especially the
experiment
attribute for the Decadal Prediction (DCPP) output.For instance, here's what I get for one file:
/glade/collections/cdg/timeseries-cmip6/DCPP/011-020/b.e11.BDP.f09_g16.1969-11.014/atm/proc/tseries/month_1/b.e11.BDP.f09_g16.1969-11.014.cam.h0.SOLIN.196911-197912.nc'
Note that I am getting
experiment=1969-11
. Is this right or should we treat DCPP outputs as a special case?I seem to be getting the right attributes for outputs from other experiments:
Originally posted by @andersy005 in https://github.com/NCAR/intake-esm-datastore/pull/47