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

Revert "Revert "fix for issue 658 (#659)"" #707

Merged
merged 1 commit into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions wis2box-management/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,11 @@ RUN apt-get update -y && apt-get install -y ${DEBIAN_PACKAGES} \
&& apt autoremove -y \
&& apt-get -q clean \
&& rm -rf /var/lib/apt/lists/* \
# cache WMDR codelists
&& mkdir -p /home/wis2box/wmdr-codelists \
&& curl -s "https://codes.wmo.int/wmdr/FacilityType?_format=csv&status=valid" > /home/wis2box/wmdr-codelists/FacilityType.csv \
&& curl -s "https://codes.wmo.int/wmdr/InstrumentOperatingStatus?_format=csv&status=valid" > /home/wis2box/wmdr-codelists/InstrumentOperatingStatus.csv \
&& curl -s "https://codes.wmo.int/wmdr/TerritoryName?_format=csv&status=valid" > /home/wis2box/wmdr-codelists/TerritoryName.csv \
&& curl -s "https://codes.wmo.int/wmdr/WMORegion?_format=csv&status=valid" > /home/wis2box/wmdr-codelists/WMORegion.csv
# create directory for wmdr codelists
&& mkdir -p /home/wis2box/wmdr-codelists

# copy wdmr codelists
COPY ./wmdr-codelists /home/wis2box/wmdr-codelists

# copy the app
COPY . /app
Expand Down
15 changes: 15 additions & 0 deletions wis2box-management/wmdr-codelists/FacilityType.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
@id,dct:description,rdf:type,rdfs:label,skos:notation
<http://codes.wmo.int/wmdr/FacilityType/airFixed>,"'Airborne station/platform, at fixed position'@en",skos:Concept,Air (fixed),airFixed
<http://codes.wmo.int/wmdr/FacilityType/airMobile>,"'Airborne station/platform, moving around'@en",skos:Concept,Air (mobile),airMobile
<http://codes.wmo.int/wmdr/FacilityType/lakeRiverFixed>,"'Station/platform at lake/river surface, at fixed position'@en",skos:Concept,Lake/River (fixed),lakeRiverFixed
<http://codes.wmo.int/wmdr/FacilityType/lakeRiverMobile>,"'station/platform at lake/river surface, moving around'@en",skos:Concept,Lake/River (mobile),lakeRiverMobile
<http://codes.wmo.int/wmdr/FacilityType/landFixed>,"'Station/platform on solid terrain, at fixed position'@en",skos:Concept,Land (fixed),landFixed
<http://codes.wmo.int/wmdr/FacilityType/landMobile>,"'Station/platform on solid terrain, moving around'@en",skos:Concept,Land (mobile),landMobile
<http://codes.wmo.int/wmdr/FacilityType/landOnIce>,"'Station/platform on ice-covered ground, moving with the ice'@en",skos:Concept,Land (on ice),landOnIce
<http://codes.wmo.int/wmdr/FacilityType/seaFixed>,"'Station/platform at sea surface, at fixed position'@en",skos:Concept,Sea (fixed),seaFixed
<http://codes.wmo.int/wmdr/FacilityType/seaMobile>,"'Station/platform at sea surface, moving around'@en",skos:Concept,Sea (mobile),seaMobile
<http://codes.wmo.int/wmdr/FacilityType/seaOnIce>,"'Station/platform on floating ice, moving with the ice'@en",skos:Concept,Sea (on ice),seaOnIce
<http://codes.wmo.int/wmdr/FacilityType/spaceBased>,'Satellite platform in orbit'@en,skos:Concept,Space-based,spaceBased
<http://codes.wmo.int/wmdr/FacilityType/underwaterFixed>,"'Station/platform under water, at fixed horizontal position'@en",skos:Concept,Underwater (fixed),underwaterFixed
<http://codes.wmo.int/wmdr/FacilityType/underwaterMobile>,"'Station/platform under water, moving around also horizontally'@en",skos:Concept,Underwater (mobile),underwaterMobile
<http://codes.wmo.int/wmdr/FacilityType/unknown>,'The station/platform type is unknown.'@en,skos:Concept,unknown,unknown
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@id,dct:description,rdf:type,rdfs:label,skos:notation
<http://codes.wmo.int/wmdr/InstrumentOperatingStatus/inactive>,'The instrument is deployed but presently not in service'@en,skos:Concept,Not in service / inactive,inactive
<http://codes.wmo.int/wmdr/InstrumentOperatingStatus/inapplicable>,'None of the codes in the table are applicable in the context of this particular observation'@en,skos:Concept,inapplicable,inapplicable
<http://codes.wmo.int/wmdr/InstrumentOperatingStatus/operational>,'The instrument is declared operational and subject to routine maintenance'@en,skos:Concept,Operational,operational
<http://codes.wmo.int/wmdr/InstrumentOperatingStatus/testing>,'The instrument is deployed for testing purposes and the information provided may not be reliable'@en,skos:Concept,Testing / commissioning,testing
<http://codes.wmo.int/wmdr/InstrumentOperatingStatus/unknown>,'The instrument operating status is unknown'@en,skos:Concept,unknown,unknown
Loading
Loading