NASA-PDS / doi-service

Service and tools for generating DOIs for PDS bundles, collections, and data sets
https://nasa-pds.github.io/doi-service
Other
2 stars 3 forks source link

Update all past DOIs for consistent metadata #294

Closed jordanpadams closed 2 years ago

jordanpadams commented 2 years ago

💪 Motivation

...so that I can easily correlate all DOIs together

📖 Additional Details

Some of the older DOIs have invalid metadata. We want to make this consistent

I think the tasks below have been deprecated per #303

  • [ ] PDS3 DOIs have inconsistent URNs in the metadata
    • Some use the PDS3 Data Set ID, e.g. 10.17189/1521151
      "identifiers": [
      {
      "identifier": "1521151",
      "identifierType": "IAD ID"
      },
      {
      "identifier": "CO-E/SW/J/S-MAG-3-RDR-FULL-RES-V2.0",
      "identifierType": "Site ID"
      }
      ],
      "relatedIdentifiers": [
      {
      "relationType": "IsIdenticalTo",
      "relatedIdentifier": "CO-E/SW/J/S-MAG-3-RDR-FULL-RES-V2.0",
      "relatedIdentifierType": "URN"
      }
      ],
    • others use the PDS4 registry identifier, e.g. 10.17189/1519454
      "identifiers": [
      {
      "identifier": "1519454",
      "identifierType": "IAD ID"
      },
      {
      "identifier": "A14A-L-CCIG-3-ATMOS-DENSITY-PLOTS-V1.0",
      "identifierType": "Site ID"
      }
      ],
      "relatedIdentifiers": [
      {
      "relationType": "IsIdenticalTo",
      "relatedIdentifier": "urn:nasa:pds:context_pds3:data_set:data_set.a14a-l-ccig-3-atmos-density-plots-v1.0",
      "relatedIdentifierType": "URN"
      }
      ],
  • [ ] updating all these PDS3 DOIs to use the data set ID as Handle and generate the URN from the data set ID as the URN, so for example, these 2 different use cases from above: 1.
    "identifiers": [
    {
      "identifier": "1521151",
      "identifierType": "IAD ID"
    },
    {
      "identifier": "CO-E/SW/J/S-MAG-3-RDR-FULL-RES-V2.0",
      "identifierType": "Site ID"
    }
    ],
    "relatedIdentifiers": [
    {
      "relationType": "IsIdenticalTo",
      "relatedIdentifier": "CO-E/SW/J/S-MAG-3-RDR-FULL-RES-V2.0",
      "relatedIdentifierType": "URN"
    }
    ],

    becomes

    "identifiers": [
    {
      "identifier": "1521151",
      "identifierType": "IAD ID"
    },
    {
      "identifier": "CO-E/SW/J/S-MAG-3-RDR-FULL-RES-V2.0",
      "identifierType": "Site ID"
    }
    ],
    "relatedIdentifiers": [
    {
      "relationType": "IsIdenticalTo",
      "relatedIdentifier": "CO-E/SW/J/S-MAG-3-RDR-FULL-RES-V2.0",
      "relatedIdentifierType": "Handle"
    }
    {
      "relationType": "IsIdenticalTo",
      "relatedIdentifier": "urn:nasa:pds:context_pds3:data_set:data_set.co-e-sw-j-s-mag-3-rdr-full-res-v2.0",
      "relatedIdentifierType": "Handle"
    }
    ],

    **Note: To create the URN, you will need to convert / to -.

2.

  "identifiers": [
    {
      "identifier": "1519454",
      "identifierType": "IAD ID"
    },
    {
      "identifier": "A14A-L-CCIG-3-ATMOS-DENSITY-PLOTS-V1.0",
      "identifierType": "Site ID"
    }
  ],
  "relatedIdentifiers": [
    {
      "relationType": "IsIdenticalTo",
      "relatedIdentifier": "urn:nasa:pds:context_pds3:data_set:data_set.a14a-l-ccig-3-atmos-density-plots-v1.0",
      "relatedIdentifierType": "URN"
    }
  ],

becomes this:

  "identifiers": [
    {
      "identifier": "1519454",
      "identifierType": "IAD ID"
    },
    {
      "identifier": "A14A-L-CCIG-3-ATMOS-DENSITY-PLOTS-V1.0",
      "identifierType": "Site ID"
    }
  ],
  "relatedIdentifiers": [
    {
      "relationType": "IsIdenticalTo",
      "relatedIdentifier": "A14A-L-CCIG-3-ATMOS-DENSITY-PLOTS-V1.0",
      "relatedIdentifierType": "URN"
    }
    {
      "relationType": "IsIdenticalTo",
      "relatedIdentifier": "urn:nasa:pds:context_pds3:data_set:data_set.a14a-l-ccig-3-atmos-density-plots-v1.0",
      "relatedIdentifierType": "URN"
    }
  ],
tloubrieu-jpl commented 2 years ago

The result of this ticket should be the work done + a re-usable documentation for next similar cases.

jordanpadams commented 2 years ago

spot checked a few DOIs and this looks good to go