NASA-PDS / validate

Validates PDS4 product labels, data and PDS3 Volumes
https://nasa-pds.github.io/validate/
Apache License 2.0
15 stars 11 forks source link

As a user, I want to validate the DOI referenced in the PDS4 label #555

Open tloubrieu-jpl opened 1 year ago

tloubrieu-jpl commented 1 year ago

🧑‍🔬 User Persona(s)

Data Engineer

💪 Motivation

...so that I can validate that the DOI is valid and consistent with the PDS4 label.

(Requested during Face 2 face Management Council meeting in November 2022.)

📖 Additional Details

To be completed

⚖️ Acceptance Criteria

Given When I perform Then I expect

⚙️ Engineering Details

msbentley commented 1 year ago

This means looking the DOI up online and confirming if it exists? Or validating certain key meta-data against DataCite etc.? I guess it would flag a warning if not found or it does't match? (just checking that this won't cause problems for non-PDS data)

jordanpadams commented 1 year ago

@msbentley I am imagining at this point it would look up the DOI through our PDS DOI database, but I agree, we will need to figure this out for non-NASA DOIs. maybe we handle this similar to context product checks? or maybe PSA could send us regular reports of their DOIs so we can import into our database?

msbentley commented 1 year ago

Thanks @jordanpadams - let's discuss offline the best way to do this. As we talked about at IPDA we don't have a unique DOI prefix for planetary data (it's mixed in with other ESA science data collections). However, we could consider opening our database of products (I believe it has a TAP service hooked up, but would have to confirm), or as you suggest giving validate the option to take an external json or similar.

jordanpadams commented 1 year ago

👍

msbentley commented 1 year ago

To come back on the above, indeed the TAP service with our DOIs will be open publically, so when everything is in place I'll get back to you to understand how we could use it to allow validation of PSA DOIs