Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
geofrizz opened this issue Feb 2, 2024 · 5 comments
Open

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

geofrizz opened this issue Feb 2, 2024 · 5 comments
Labels
good first issue This is suitable for a first time programming project.

Comments

@geofrizz
Copy link

geofrizz commented Feb 2, 2024

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
@ChrisJohnNOAA
Copy link
Contributor

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

@geofrizz
Copy link
Author

geofrizz commented Feb 2, 2024

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
Copy link
Contributor

Thanks, I'll look into it.

@ChrisJohnNOAA ChrisJohnNOAA added the good first issue This is suitable for a first time programming project. label Feb 23, 2024
@dextrot
Copy link

dextrot commented Feb 24, 2024

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
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue This is suitable for a first time programming project.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants