EarthSystemCoG / COG

COG source code
BSD 3-Clause "New" or "Revised" License
8 stars 16 forks source link

Clearly display retracted datasets #1332

Closed LucaCinquini closed 7 years ago

LucaCinquini commented 7 years ago

Who: DKRZ

ESGF is going to support "retraction" of datasets: this means that data is no longer available for download, but the datasets remain in the Solr index for persistent reference, and are marked as "retracted". A CoG search should NOT return retracted datasets by default, but should be able to retrieve them and clearly mark them as such when needed.

LucaCinquini commented 7 years ago

Now implemented. The following searches will NOT return any retracted datasets:

o default search o search all replicas o local search only (including replicas)

This is because ALL retracted datasets (retracted=true) also have latest=false.

Instead the following search will return ALL versions of a dataset, including retracted datasets:

o Search all versions

Note that retracted datasets are clearly marked as such by CoG (see picture).

LucaCinquini commented 7 years ago

retracted_datasets