You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As it stands now invalid dimensions where the data is 100% null (e.g., "rcp85 scenario + "CRU-TS") are handled on an ad hoc basis in the API. If we continue the pattern of combining historical and future data in a single coverage, we'll continue to have the need to handle invalid dimensions. We should perhaps add the invalid dimensional combinations to the metadata in the ingest.json files so that the API can either drop them from the packaged data dictionary without much hassle (traversing a nested dictionary, checking for key combinations, etc.). They could probably even be dropped immediately after the response.
Something in like
invalid_dims = {
[0, 1, 1]...
}
But maybe encode with the actual names to make it clear.
The text was updated successfully, but these errors were encountered:
This would be a very useful feature for the CMIP6 (and someday, CMIP7) data where we have a dozen or more models, with varying availability of scenarios.
Currently in the API, our CMIP6 coverage in Rasdaman returns arrays of all zeros (as opposed to NaN or -9999) when a scenario is missing from a model. Without a hard-coded lookup table of model/scenario availability in the API, this zero return is difficult address. Including this lookup in the coverage metadata (rather than in the API config) would be a great solution.
As it stands now invalid dimensions where the data is 100% null (e.g., "rcp85 scenario + "CRU-TS") are handled on an ad hoc basis in the API. If we continue the pattern of combining historical and future data in a single coverage, we'll continue to have the need to handle invalid dimensions. We should perhaps add the invalid dimensional combinations to the metadata in the
ingest.json
files so that the API can either drop them from the packaged data dictionary without much hassle (traversing a nested dictionary, checking for key combinations, etc.). They could probably even be dropped immediately after the response.Something in like
But maybe encode with the actual names to make it clear.
The text was updated successfully, but these errors were encountered: