Skip to content

handle platform and instruments #79

@ferrighi

Description

@ferrighi

Information about platform and instruments will be handled according to the new approach that avoids using vocab.met.no, but rather allows use of different vocabularies depending of needs. What we can handle can be extended in the future, for now using Oscar for remote sensing and nerc vocabularies should be a good start.

The structure is always "long_name (short_name)" for concepts and "name:base_url" for vocabularies.

For remote sensing:

platform: "Earth Observation System - Aqua (Aqua)" ; 
platform_vocabulary: "WMO OSCAR Space:https://space.oscar.wmo.int/satellites";
instrument: "Moderate-resolution Imaging Spectro-radiometer (MODIS)" ; 
instrument_vocabulary: "WMO OSCAR Space:https://space.oscar.wmo.int/instruments"; 

we use the same approach as for keywords. Looking for vocabulary and Oscar. The mapping to the url is easy as all non alphabetical characters are translated into underscore. So this will become

<platform>
    <short_name>Aqua</short_name>
    <long_name>Earth Observation System - Aqua</long_name>
    <resource>https://space.oscar.wmo.int/satellites/view/aqua</resource>
    <instrument>
         <short_name>MODIS</short_name>
         <long_name>Moderate-resolution Imaging Spectro-radiometer</long_name>
         <resource>https://space.oscar.wmo.int/instruments/view/modis</resource>
    </instrument>
</platform>

If the short name not provided we can extract the long_name only and not the url. It is also possible to query the oscar api, but I think it would be quite heavy, so I would skip this for now.

Other types of platforms and instruments

Instrument reference can be given also in absence of platform details. For specific sensors, instruments and other types of devices the following vocabularies are recommended:

instrument: "Conductivity, temperature and depth package (CTD)" ;
instrument_vocabulary: "SeaVoX Device Catalogue:http://vocab.nerc.ac.uk/collection/L22/current/";

giving

<platform>
    <short_name/>
    <long_name/>
    <instrument>
         <short_name>CTD</short_name>
         <long_name>Conductivity, temperature and depth package</long_name>
         <resource>http://vocab.nerc.ac.uk/collection/L22/current/TOOL0001/</resource>
    </instrument>
</platform>

For other platforms that do not refer to remote sensing satellites, as for example ships and vessels, the following vocabulary is recommended:

For example, for the Oceania research vessel:

platform: "Oceania" ; 
platform_vocabulary: "ICES Platform Codes:https://vocab.nerc.ac.uk/collection/C17/current/"; 

giving

<platform>
    <short_name/>
    <long_name>Oceania</long_name>
    <resource>http://vocab.nerc.ac.uk/collection/C17/current/67CE/</resource>
</platform>

The url are easily extracted with sparql, e.g.:

PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
SELECT ?id WHERE {
  ?a skos:prefLabel "Conductivity, temperature and depth package"@en .
  ?a dc:identifier ?id
} LIMIT 1

giving SDN:L22::TOOL0001 which means: http://vocab.nerc.ac.uk/collection/L22/current/TOOL0001/
we can also use short_name or add it if missing.

This approach can be general for nerc vocabularies, as long as the base_url is given.

When we find the more generic GCMD

platform: "Platforms > Water-based Platforms > Fixed Platforms > Surface > OCEAN WEATHER STATIONS" ; 
platform_vocabulary: "GCMD Platforms"; 

instrument: "Instruments > In Situ/Laboratory Instruments > Probes > MAGNAPROBE" ; 
instrument_vocabulary: "GCMD Instruments";

we translate into keywords GCMDPLT and GCMDIST.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions