Open ScottWales opened 5 years ago
In a way we have the first "dot" not as database table but as json files. What's still missing is the point 2 and 3
There is now a function in cordex.py get_esgf_facets(project) to retrieve the facets and values. Will need to review this when cordex release is done
We reverted to previous behaviour just getting the facets from json file. Will have to review this later on
Download the list of valid facets from ESGF to a local table.
This would allow facets to be validated for all projects, including CORDEX etc.
It would also allow use of SQL wildcards to select multiple projects, e.g. model='ACCESS%'
Requires:
esgf_facet
with columnskey
,value