erddap icon indicating copy to clipboard operation
erddap copied to clipboard

Wrong link in the iso19115.xml metadata extraction !

Open geofrizz opened this issue 1 year ago • 5 comments

Some links inside the xml are wrong !

If you extract the metadata in the iso19115 format from any dataset.

inside the xml file there are some wrong link similar to : ----------><---------- ...  <srv:couplingType>     <srv:SV_CouplingType codeList="https://data.noaa.gov/ISO19139/resources/codeList.xml#SV_CouplingType" codeListValue="tight">tight</srv:SV_CouplingType>  </srv:couplingType> ... ----------><----------

The answer from the server: The requested URL /ISO19139/resources/codeList.xml was not found on this server.

ERDDAP, Version 2.23 TOMCAT_VERSION=10.1.15 JAVA_VERSION=jdk-17.0.8.1+1 openjdk 17.0.8.1 2023-08-24 OpenJDK Runtime Environment Temurin-17.0.8.1+1 (build 17.0.8.1+1) OpenJDK 64-Bit Server VM Temurin-17.0.8.1+1 (build 17.0.8.1+1, mixed mode, sharing)

  • OS: docker image: ubuntu 22.04 host: debian 12
  • Browser: chrome, opera, firefox, brave, chromium

geofrizz avatar Feb 02 '24 12:02 geofrizz

Thank for reporting. Do you know of a currently available version of the data it is supposed to be linking to?

ChrisJohnNOAA avatar Feb 02 '24 15:02 ChrisJohnNOAA

Well, inside of the iso19115.xml file there are other links to:

https://data.noaa.gov/resources/iso19139/schema/resources/Codelist/gmxCodelists.xml

Inside of this document there are the reference for "SV_CouplingType" but for the "gml:SV_CouplingType", not "srv:SV_CouplingType"

Maybe need to link to: https://data.noaa.gov/resources/iso19139/schema/srv/srv.xsd or https://data.noaa.gov/resources/iso19139/schema/srv/serviceMetadata.xsd

geofrizz avatar Feb 02 '24 15:02 geofrizz

Thanks, I'll look into it.

ChrisJohnNOAA avatar Feb 02 '24 17:02 ChrisJohnNOAA

Thanks, I'll look into it.

Hi @ChrisJohnNOAA can I work on it, please? From what I understood, we need to replace the link https://data.noaa.gov/ISO19139/resources/codeList.xml#SV_CouplingType with https://data.noaa.gov/resources/iso19139/schema/srv/serviceMetadata.xsd as suggested by @geofrizz

dextrot avatar Feb 24 '24 08:02 dextrot

I don't know what content was at the original link, but it seems likely that it was more specific than the info at the new link. You might want to see if the ISO 19115 generated by current ncISO (in THREDDS and standalone) has a better URL. Alternatively, you can contact whoever is leading NOAA's current metadata efforts. (Search for the ISO 19115 validator/rubric.) NOAA has always had some specific preferences related to ISO 19115 content.

BobSimons avatar Feb 24 '24 16:02 BobSimons