-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESGF facets for CORDEX-Adjust
, CORDEX-ESD
, CORDEX-Reklies
#2221
Comments
CORDEX-Adjust
, CORDEX-ESD
, CORDEX-Reklies
CORDEX-Adjust
, CORDEX-ESD
, CORDEX-Reklies
CORDEX-Adjust
, CORDEX-ESD
, CORDEX-Reklies
Note, that search results will depend on the ESGF host for, at least, import requests
hosts = [
"esgf.ceda.ac.uk",
"esgf-node.llnl.gov",
"esgf-data.dkrz.de"
]
def request(
host, project="CORDEX-Adjust", type="Dataset", **search,
):
print(f"searching: {host}")
url = f"https://{host}/esg-search/search"
version = search.get("version", None)
if type == "File" and version:
# this does not work for File searches since version denotes here rcm_version
del search["version"]
elif version and version.startswith("v"):
search["version"] = version[1:]
params = dict(
project=project,
type=type,
format="application/solr+json",
limit=None,
distrib=True,
replica=False,
)
params.update(search)
return requests.get(url, params)
facets = {
"rcm_name": "REMO2009",
"variable": "tasAdjust",
}
responses = [request(h, **facets) for h in hosts]
[r.json()["response"]["numFound"] for r in responses] results in:
Did someone encounter similiar cases before? I see that ESMValCore/esmvalcore/config/_esgf_pyclient.py Lines 145 to 154 in 469fd09
|
A pull request would be most welcome. Usually, the most difficult part is to figure out how to translate the names used on ESGF to the ESMValTool vocabulary.
Yes, I've seen similar issues with CMIP3:
Actually, that was quite a poor place to document that behaviour, a better place would have been here. Related to that: on the [email protected] mailing list it was recently mentioned that there is currently an issue with the CEDA index node:
|
Is your feature request related to a problem? Please describe.
esmvalcore.esgf.find_files
will not find any files for CORDEX related projects, e.g.,CORDEX-Reklies
: data produced in the REKLIES project (not really clear to me why this is separate project in ESGF)CORDEX-Adjust
: bias adjusted scenariosCORDEX-ESD
: statistically downscaled datasetsWould you be able to help out?
The solution is straight forward, e.g., simply adding these projects to
esmvalcore.esgf.facets
.The text was updated successfully, but these errors were encountered: