esgf2-us / metagrid

ESGF Search UI
https://metagrid.readthedocs.io/en/latest/
MIT License
16 stars 4 forks source link

Urls for search results to share (related to Citation Service) #348

Open MartinaSt opened 2 years ago

MartinaSt commented 2 years ago

As requirement from the Citation Service, links to point to from the DOI landing page for data access are needed.

The example DOI landing page http://doi.org/10.22033/ESGF/CMIP6.2450 has currently two data access links pointing to the CoG at LLNL and DKRZ: http://esgf-data.dkrz.de/search/cmip6-dkrz/?mip_era=CMIP6&activity_id=ScenarioMIP&institution_id=DKRZ&source_id=MPI-ESM1-2-HR http://esgf-node.llnl.gov/search/cmip6/?mip_era=CMIP6&activity_id=ScenarioMIP&institution_id=DKRZ&source_id=MPI-ESM1-2-HR

Depending on the decision for a central or federated structure, one or both links need to be replaced in the Citation Service metadata base.

This feature is also useful for sharing of search results with colleagues.

sashakames commented 2 years ago

The current "link accept" feature requires a specific encoding. We will work on getting the link format updated so we can use a simple query string like CoG has. Then updating link will be a matter of replacing the "prefix" part with the domain name.

sashakames commented 2 years ago

Input4MIPs case: http://esgf-node.llnl.gov/search/input4mips/?mip_era=CMIP6&activity_id=input4MIPs&institution_id=PCMDI&target_mip=CMIP&source_id=PCMDI-AMIP-1-1-2 We can assume that source_id is the only facet necessary, others are extraneous (for now).

sashakames commented 2 years ago

For CMIP6 case, it is probably fine to limit to the 4 facets if that simplifies the solution.

MartinaSt commented 2 years ago

As the datasets belonging to a DOI are defined by the directory structure, the url should include all parts of the DRS above the DOI granularity (as is in CoG). We never know, with which combinations future modeling groups might come up with.

sashakames commented 7 months ago

This was not working when we tested this week....