Add validation/check methods
Closed this issue · 1 comments
glevava commented
Add Validation/check methods at least for Collection and Term levels.
Example:
institutions = load_collection('wcrp', 'cmip6', 'institution-id')
institutions.has_term('IPSL')
Additional validation method on a full dataset ID or path against the DRS could be useful.
Example:
cmip6 = load_scope('wcrp', 'cmip6')
dset = cmip6.parse("cmip6.output1.MOHC.HadGEM2-A.amip4xCO2.mon.atmos.Amon.r1i1p1.v20110523")
dset.is_valid()
path = cmip6.parse("/my/archive/cmip6/..../tas/v20110523")
path.is_valid()
asladeofgreen commented