ERDDAP / erddap

ERDDAP is a scientific data server that gives users a simple, consistent way to download subsets of gridded and tabular scientific datasets in common file formats and make graphs and maps. ERDDAP is a Free and Open Source (Apache and Apache-like) Java Servlet from NOAA NMFS SWFSC Environmental Research Division (ERD).
Creative Commons Zero v1.0 Universal
84 stars 58 forks source link

Wrong link in the iso19115.xml metadata extraction ! #132

Open geofrizz opened 8 months ago

geofrizz commented 8 months ago

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>     \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)

ChrisJohnNOAA commented 8 months ago

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

geofrizz commented 8 months ago

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

ChrisJohnNOAA commented 8 months ago

Thanks, I'll look into it.

dextrot commented 7 months ago

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

BobSimons commented 7 months ago

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.