odis-arch
odis-arch copied to clipboard
connect NMDIS-China catalogue as ODIS node
Summary of status:
- metadata available through CMOC/China : https://www.cmoc-china.cn/
- catalogue: https://www.cmoc-china.cn/pages/commit.html
- ERDDAP endpoint: http://222.186.3.18:8888/erddap/index.html
- ISO xml endpoint: http://222.186.3.18:8889/services/xml
- sample record: http://222.186.3.18:8889/data/Bathymetry%20Data/BATM_NMDIS_2020_Jinli_Seamount/metadata/BATM_NMDIS_2020_Jinli_Seamount.xml
Possible next steps:
- introduce NMDIS team to ODIS' JSON-LD patterns
- work with NMDIS team to help them generate the necessary JSON-LD for their records
Updates from today's meeting:
- ERDDAP does have native JSON-LD support
- this service has ERDDAP version 2.16
- NMDIS team to investigate enabling JSON-LD through ERDDAP configuration
- alternatively, there is a way to convert ISO 19139 metadata to JSON-LD through styesheets
- scripts: https://github.com/iodepo/odis-arch/tree/master/code/notebooks/Mapping/ISO19139mapping
- next meeting we can adapt one ODIS JSON-LD pattern for the CMOC metadata
- sample metadata record provided: BATM_NMDIS_2021_Hechi_Knolls_iso19115.xml.zip
This looks like a 115/139 flavor. Thought it will not likely work directly, an approach like is found in https://github.com/iodepo/odis-arch/tree/master/code/notebooks/Mapping/ISO19139mapping could be used.
The XsLT there would not work directly, I suspect, but could be used as a guide to make one that does.
There is a notebook to provide an example of using this approach to process the XML/XSLT pair, but any XSLT processing engine should work.
@jmckenna got some info from a group I know using ERDAP
There is a way to modify the css, js, of ERDDAP. In this section, https://coastwatch.pfeg.noaa.gov/erddap/download/setup.html#initialSetup, under #3 they talk about erddap2.css I've used that location to set my own css images, and whatever. Then, in the datasets.xml file, you can modify the HTML head with this tag <startHeadHtml5>. Details here: https://coastwatch.pfeg.noaa.gov/erddap/download/setupDatasetsXml.html#standardText
updates from today:
- NMDIS team has configured ERDDAP for JSON-LD support
- see "M" links on http://222.186.3.18:8888/erddap/info/BATM_NMDIS_2020_Jinli_Seamount/index.html
- sample layer with embedded JSON-LD: http://222.186.3.18:8888/erddap/info/BATM_NMDIS_2020_Jinli_Seamount/index.html
- some minor issues with the JSON-LD, to be discussed in another issue/ticket
- sitemap also exists: http://222.186.3.18:8888/erddap/sitemap.xml
update:
- added note into ODIS Book for a generic
encodingFormat
fordistribution
, through https://github.com/iodepo/odis-arch/commit/49c110b31764671716620a0237cc82232cda5c6c - NMDIS records are live in the front-end search