odis-arch icon indicating copy to clipboard operation
odis-arch copied to clipboard

connect NMDIS-China catalogue as ODIS node

Open jmckenna opened this issue 1 year ago • 6 comments

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

jmckenna avatar Jun 27 '23 12:06 jmckenna

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

jmckenna avatar Jul 11 '23 12:07 jmckenna

jmckenna avatar Aug 04 '23 14:08 jmckenna

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.

fils avatar Aug 08 '23 11:08 fils

@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

fils avatar Aug 08 '23 15:08 fils

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

jmckenna avatar Aug 22 '23 12:08 jmckenna

update:

  • added note into ODIS Book for a generic encodingFormat for distribution, through https://github.com/iodepo/odis-arch/commit/49c110b31764671716620a0237cc82232cda5c6c
  • NMDIS records are live in the front-end search

jmckenna avatar Nov 13 '23 13:11 jmckenna