Closed rfrenchseti closed 4 years ago
To be clear, the Details page needs to link to ALL relevant labels - the main index file, supplemental index file, planet/moon geometry, ring geometry, etc.
From Mark: Specifically, for any index table in the metadata tree, it is now possible to view a single well-formatted page containing the information from one (or sometimes more) rows of the table. This is way better than trying to read the metadata tables themselves, which are monstrous things. This will be useful because it means that, on the results page of OPUS, you will be able to provide links to all of the metadata, including everything that we previously designated as "viewable but not searchable" and also "not viewable"
Here is an example link: https://pds-rings.seti.org/viewmaster/metadata/COISS_2xxx/COISS_2006/COISS_2006_moon_summary.tab/W1474490313_1
You can see that the URL treats the name of the table as a directory, and the "subdirectory" is the (partial or complete) name of the file for which you want information. It comes back in a cleanly formatted table that looks a lot like a PDS3 label. Users could cut-and-paste if they want to preserve this info or "curl" a whole bunch of pages if they want to.
In the UI, when you search Viewmaster down to the level of an individual data product, these options appear as "related links". Here's an example: https://pds-rings.seti.org/viewmaster/volumes/COISS_2xxx/COISS_2006/data/1474060914_1474210307/N1474060996_1.IMG Under related links you will now see a bunch of items identified as "Selected row(s)" of one of the index tables.
Reopening this to record that ViewMaster can throw a 404 error when the given image is not present in the index table. This is not very user-friendly.
This will be fixed by having PdsFile look to see if the observation is in the summary file and if it isn't, we won't provide the link in the first place.
The 404 error is now gone because ViewMaster displays a prettier page. But we could still not include the link to begin with.
Moved to pds-webtools
Reopened because we need to make a change in OPUS once PdsFile is fixed.
PdsFile now has functionality to handle this so we can proceed at some point
This is related to #981 and they should be done together.
N1460979808 is a good test case for the test database in COISS_2002 v1487539692_ir is a good test case for VIMS
Since we have removed all metadata that was "displayed" but not "searchable", we need a way for the user to be able to find this data. Thus, the "Details" page needs to have a link to the appropriate ViewMaster label file.