NASA-PDS / operations

Tickets for the PDSEN Operations Team
Other
5 stars 1 forks source link

As a Data Provider, I want to see deprecated Context LIDs and their replacements #206

Open c-suh opened 2 years ago

c-suh commented 2 years ago

💪 Motivation

...so that I can know which Context LIDs to use and not to use

📖 Additional Details

Continuation of https://github.com/NASA-PDS/operations/issues/167

⚖️ Acceptance Criteria

Given the Context LIDs page When I perform a search in the table Then I expect to see a full list of Context LIDs with clear indicators of which are deprecated and what to use in its stead

⚙️ Engineering Details

jordanpadams commented 2 years ago

@rchenatjpl can we actually turn this README into a PDS4 table product? We can then use some of our tools to read in the data into databases. Ideally this would actually be a product_metadata_supplemental product, but we can look into that down the road.

rchenatjpl commented 2 years ago

Doh, yes, that's a good idea. I'll start on it.

rchenatjpl commented 2 years ago

@c-suh @jordanpadams Any suggestions on where to put such a file? I thought of making a deprecated/ directory and moving all deprecated context products there, but both the good and the deprecated products would have LIDs like urn:nasa:pds:context:instrument:... and then the collection.csv would sit in the good directory but would contain LIDs whose files sat in deprecated/. I guess that's not the worst. Maybe it is.

Or I could create an ancillary/ or such directory and put this product_metadata_supplemental in there with its csv, but that bloats https://pds.nasa.gov/data/pds4/context-pds4/, which currently only has bundle, collection, and context products. Eh, that's more legal, less elegant, so I'll do that unless someone thinks otherwise. I'd remove readme.txt

jordanpadams commented 2 years ago

@rchenatjpl in reality, the bundle, collection products probably should be there. maybe a new document_context collection? we can then put the context product guide that ATM has into that collection?

this would be part of the system_bundle, and I think we can just create a directory at data/pds4/document_context?

and we can update the context-pds4 collection to reference those documents from the Reference_List?

rchenatjpl commented 2 years ago

Did I get confused between this and email? I added https://pds.nasa.gov/data/pds4/context-pds4/miscellaneous/ which has lids_deprecated.xml and .csv. It's working its way through ingest, but the files are there. Let me know if anyone thinks the info should sit elsewhere, particularly outside of context-pds4/. That would be fine.

jordanpadams commented 2 years ago

@rchenatjpl sounds good! that is perfect

jordanpadams commented 2 years ago

now the task is onto @c-suh to add this to the search tool she created for context LIDs.

c-suh commented 2 years ago

Just over 200 done (in 2 stretches - this past week and back in December). There are less than 50 left but am tabling this for higher priority tasks.