Open susopeiz opened 6 months ago
It seems all the inconsistency comes from using the default value (facets='*'
) in conn.new_context(**fields)
If I set ctx = conn.new_context(facets = 'project', **fields)
, I get all the available results. Actually, this is explained in the documentation
I'm trying to query all available CMIP6 projections for selected models, scenarios and variables but I'm getting different results depending on the additional parameters I use in the query. I write an example for clarity
I connect to the German data center
I query all available projections for the
CanESM5
model, scenariossp245
, variablezg500
and member_idr1i1p1f1
And get in theory 0 counts (as provided by
ctx.hit_count()
) but results show there are 2 instances for this specific query (one in the Canadian server and one in the American server)If I query without the restriction of the specific member_id (
r1i1p1f1
)I now get 4 counts (¿?), but the same instances than before.
However, if I extend the query to include
pr
in addition tozg500
...I get no available instances for zg500 anymore (I do get some for
pr
though)Or for example if I extend to different number of scenarios:
I get no results for ssp's but only 1 for the historical.
Is this behaviour expected? It is required for my analysis to be able to do cross-parameters searches so I can identify which simulations are available across a certain list of variables and scenarios.