This looks more like a bug than a feature, but maybe I'm just missing the underlying logic... I have already felt that there was something not quite right with period='last_100y' and explore('choices') but I had not tried to describe my problem
If I specify the following dataset with period='*', I get several results with explore('choices'), because there are several realizations:
I also get an error when trying to use resolve. It's good that I'm getting an error, though it would probably be more accurate to report that there are several realizations, rather than reporting that there are holes
>>> ds_test_noperiod.explore('resolve')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/ciclad-home/jservon/Evaluation/CliMAF/climaf_installs/climaf_V2.0.0/climaf/classes.py", line 690, in explore
raise Climaf_Classes_Error("Periods with holes are not handled %s" % val)
climaf.utils.Climaf_Classes_Error: 'Periods with holes are not handled [2900-2999, 4150-5000, 7550-7894]'
Now, if I use period='last_100y', I would expect to still get all the realizations, except maybe if one of them has less than 100y of available data. BUT one of the available realizations has been automatically selected (don't know why) and explore('choices') returns an empty dictionary
This looks more like a bug than a feature, but maybe I'm just missing the underlying logic... I have already felt that there was something not quite right with
period='last_100y'
andexplore('choices')
but I had not tried to describe my problemIf I specify the following dataset with
period='*'
, I get several results withexplore('choices')
, because there are several realizations:I also get an error when trying to use
resolve
. It's good that I'm getting an error, though it would probably be more accurate to report that there are several realizations, rather than reporting that there are holesNow, if I use
period='last_100y'
, I would expect to still get all the realizations, except maybe if one of them has less than 100y of available data. BUT one of the available realizations has been automatically selected (don't know why) andexplore('choices')
returns an empty dictionaryJust to be sure, I have also explicitly specified the
r1i1p1f2
realization, in order to check that I'm getting the same result