NASA-IMPACT / admg-casei

ADMG Inventory
https://impact.earthdata.nasa.gov/casei/
Apache License 2.0
1 stars 0 forks source link

Enhancement/data products #532

Closed Tammo-Feldmann closed 1 year ago

Tammo-Feldmann commented 1 year ago

What I'm changing

The data-products filter initially used associated instruments to get the gcmd keywords. I have now updated the graphql schema to bring in the data product's (doi's)own gcmd keyword property. This variable is stored as a json string and needs to be parsed in the frontend.

I also made a few minor cosmetic changes.

Lastly, I also fixed a bug where I had been using an tag instead of the gatsby component for an internal link.

How you can test the enhancement

You can type in the text input box that says "Search for a measurement variable" then select one of the suggestions from the dropdown. The filtered results are data products that will have matching keywords when you navigate to them by clicking on the link in the table. For example, "AIR QUALITY > TROPOSPHERIC OZONE" returns a result for "TRACER-AQ Ozonesondes" which has the keywords "AIR QUALITY" and "TROPOSPHERIC OZONE".

Screen Shot 2023-06-06 at 3 25 28 PM