Metadata testing

This commit is contained in:
Fabio Sinibaldi 2021-04-08 16:15:25 +02:00
parent 13df103c93
commit 3ed3648739
5 changed files with 919 additions and 0 deletions

View File

@ -0,0 +1,220 @@
<?xml version="1.0" encoding="UTF-8"?>
<gmd:MD_Metadata
xmlns:gmd="http://www.isotc211.org/2005/gmd"
xmlns:gmx="http://www.isotc211.org/2005/gmx"
xmlns:gml="http://www.opengis.net/gml/3.2"
xmlns:srv1="http://www.isotc211.org/2005/srv"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gmi="http://standards.iso.org/iso/19115/-2/gmi/1.0"
xmlns:gcol="http://www.isotc211.org/2005/gco"
xmlns:gts="http://www.isotc211.org/2005/gts">
<gmd:hierarchyLevel>
<gmd:MD_ScopeCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_ScopeCode"
codeListValue="dataset">Dataset</gmd:MD_ScopeCode>
</gmd:hierarchyLevel>
<gmd:metadataStandardName>
<gcol:CharacterString>Geographic Information — Metadata Part 1:
Fundamentals</gcol:CharacterString>
</gmd:metadataStandardName>
<gmd:metadataStandardVersion>
<gcol:CharacterString>ISO 19115-1:2014</gcol:CharacterString>
</gmd:metadataStandardVersion>
<gmd:spatialRepresentationInfo>
<gmd:MD_GridSpatialRepresentation>
<gmd:numberOfDimensions>
<gcol:Integer>4</gcol:Integer>
</gmd:numberOfDimensions>
<gmd:axisDimensionProperties>
<gmd:MD_Dimension>
<gmd:dimensionName>
<gmd:MD_DimensionNameTypeCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_DimensionNameTypeCode"
codeListValue="vertical">Vertical</gmd:MD_DimensionNameTypeCode>
</gmd:dimensionName>
<gmd:dimensionSize>
<gcol:Integer>63</gcol:Integer>
</gmd:dimensionSize>
</gmd:MD_Dimension>
</gmd:axisDimensionProperties>
<gmd:axisDimensionProperties>
<gmd:MD_Dimension>
<gmd:dimensionName>
<gmd:MD_DimensionNameTypeCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_DimensionNameTypeCode"
codeListValue="column">Column</gmd:MD_DimensionNameTypeCode>
</gmd:dimensionName>
<gmd:dimensionSize>
<gcol:Integer>97</gcol:Integer>
</gmd:dimensionSize>
</gmd:MD_Dimension>
</gmd:axisDimensionProperties>
<gmd:axisDimensionProperties>
<gmd:MD_Dimension>
<gmd:dimensionName>
<gmd:MD_DimensionNameTypeCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_DimensionNameTypeCode"
codeListValue="row">Row</gmd:MD_DimensionNameTypeCode>
</gmd:dimensionName>
<gmd:dimensionSize>
<gcol:Integer>129</gcol:Integer>
</gmd:dimensionSize>
</gmd:MD_Dimension>
</gmd:axisDimensionProperties>
<gmd:axisDimensionProperties>
<gmd:MD_Dimension>
<gmd:dimensionName>
<gmd:MD_DimensionNameTypeCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_DimensionNameTypeCode"
codeListValue="time">Time</gmd:MD_DimensionNameTypeCode>
</gmd:dimensionName>
<gmd:dimensionSize>
<gcol:Integer>1</gcol:Integer>
</gmd:dimensionSize>
</gmd:MD_Dimension>
</gmd:axisDimensionProperties>
<gmd:cellGeometry>
<gmd:MD_CellGeometryCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_CellGeometryCode"
codeListValue="area">Area</gmd:MD_CellGeometryCode>
</gmd:cellGeometry>
<gmd:transformationParameterAvailability>
<gcol:Boolean>false</gcol:Boolean>
</gmd:transformationParameterAvailability>
</gmd:MD_GridSpatialRepresentation>
</gmd:spatialRepresentationInfo>
<gmd:referenceSystemInfo>
<gmd:MD_ReferenceSystem>
<gmd:referenceSystemIdentifier>
<gmd:RS_Identifier>
<gmd:code>
<gcol:CharacterString>time depth lat lon</gcol:CharacterString>
</gmd:code>
</gmd:RS_Identifier>
</gmd:referenceSystemIdentifier>
</gmd:MD_ReferenceSystem>
</gmd:referenceSystemInfo>
<gmd:identificationInfo>
<gmd:MD_DataIdentification>
<gmd:citation>
<gmd:CI_Citation>
<gmd:title>
<gcol:CharacterString>Kinetic Energy annual climatology map
</gcol:CharacterString>
</gmd:title>
<gmd:identifier>
<gmd:MD_Identifier>
<gmd:code>
<gcol:CharacterString>out_data_(SEASTATV1_ID_62daba28-d3b9-4833-a507-b2dac9838e5c)
</gcol:CharacterString>
</gmd:code>
</gmd:MD_Identifier>
</gmd:identifier>
<gmd:citedResponsibleParty>
<gmd:CI_ResponsibleParty>
<gmd:organisationName>
<gcol:CharacterString>Centro Euro-Mediterraneo sui Cambiamenti
Climatici - CMCC, Italy</gcol:CharacterString>
</gmd:organisationName>
<gmd:role>
<gmd:CI_RoleCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#CI_RoleCode"
codeListValue="originator">Originator</gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>
</gmd:citedResponsibleParty>
<gmd:otherCitationDetails>
<gcol:CharacterString>Please check -
https://www.blue-cloud.org/demonstrators/marine-environmental-indicators
</gcol:CharacterString>
</gmd:otherCitationDetails>
</gmd:CI_Citation>
</gmd:citation>
<gmd:pointOfContact>
<gmd:CI_ResponsibleParty>
<gmd:organisationName>
<gcol:CharacterString>Centro Euro-Mediterraneo sui Cambiamenti
Climatici - CMCC, Italy</gcol:CharacterString>
</gmd:organisationName>
<gmd:role>
<gmd:CI_RoleCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#CI_RoleCode"
codeListValue="pointOfContact">Point of contact</gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>
</gmd:pointOfContact>
<gmd:spatialRepresentationType>
<gmd:MD_SpatialRepresentationTypeCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_SpatialRepresentationTypeCode"
codeListValue="grid">Grid</gmd:MD_SpatialRepresentationTypeCode>
</gmd:spatialRepresentationType>
<gmd:resourceFormat>
<gmd:MD_Format>
<gmd:name>
<gcol:CharacterString>NetCDF-4</gcol:CharacterString>
</gmd:name>
<gmd:specification>
<gcol:CharacterString>Hierarchical Data Format, version 5
</gcol:CharacterString>
</gmd:specification>
</gmd:MD_Format>
</gmd:resourceFormat>
<gmd:supplementalInformation>
<gcol:CharacterString>Please check -
https://www.blue-cloud.org/demonstrators/marine-environmental-indicators
</gcol:CharacterString>
</gmd:supplementalInformation>
</gmd:MD_DataIdentification>
</gmd:identificationInfo>
<gmd:contentInfo>
<gmd:MD_CoverageDescription>
<gmd:dimension>
<gmd:MD_SampleDimension>
<gmd:sequenceIdentifier>
<gcol:MemberName>
<gcol:aName>
<gcol:CharacterString>depth_bnds</gcol:CharacterString>
</gcol:aName>
<gcol:attributeType>
<gcol:TypeName>
<gcol:aName>
<gcol:CharacterString>double[2][63]</gcol:CharacterString>
</gcol:aName>
</gcol:TypeName>
</gcol:attributeType>
</gcol:MemberName>
</gmd:sequenceIdentifier>
</gmd:MD_SampleDimension>
</gmd:dimension>
</gmd:MD_CoverageDescription>
</gmd:contentInfo>
<gmd:contentInfo>
<gmd:MD_CoverageDescription>
<gmd:dimension>
<gmd:MD_SampleDimension>
<gmd:sequenceIdentifier>
<gcol:MemberName>
<gcol:aName>
<gcol:CharacterString>ke</gcol:CharacterString>
</gcol:aName>
<gcol:attributeType>
<gcol:TypeName>
<gcol:aName>
<gcol:CharacterString>float[97][129][63][1]
</gcol:CharacterString>
</gcol:aName>
</gcol:TypeName>
</gcol:attributeType>
</gcol:MemberName>
</gmd:sequenceIdentifier>
<gmd:descriptor>
<gcol:CharacterString>Annual Climatology Map of Kinetic Energy
</gcol:CharacterString>
</gmd:descriptor>
<gmd:units></gmd:units>
</gmd:MD_SampleDimension>
</gmd:dimension>
</gmd:MD_CoverageDescription>
</gmd:contentInfo>
</gmd:MD_Metadata>

View File

@ -0,0 +1,188 @@
<?xml version="1.0" encoding="UTF-8"?>
<gmi:MI_Metadata
xmlns:gmd="http://www.isotc211.org/2005/gmd"
xmlns:gmx="http://www.isotc211.org/2005/gmx"
xmlns:gml="http://www.opengis.net/gml/3.2"
xmlns:srv1="http://www.isotc211.org/2005/srv"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gmi="http://standards.iso.org/iso/19115/-2/gmi/1.0"
xmlns:gcol="http://www.isotc211.org/2005/gco"
xmlns:gts="http://www.isotc211.org/2005/gts">
<gmd:hierarchyLevel>
<gmd:MD_ScopeCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_ScopeCode"
codeListValue="dataset">Dataset</gmd:MD_ScopeCode>
</gmd:hierarchyLevel>
<gmd:metadataStandardName>
<gcol:CharacterString>Geographic Information — Metadata Part 1:
Fundamentals</gcol:CharacterString>
</gmd:metadataStandardName>
<gmd:metadataStandardVersion>
<gcol:CharacterString>ISO 19115-1:2014</gcol:CharacterString>
</gmd:metadataStandardVersion>
<gmd:spatialRepresentationInfo>
<gmd:MD_GridSpatialRepresentation>
<gmd:numberOfDimensions>
<gcol:Integer>2</gcol:Integer>
</gmd:numberOfDimensions>
<gmd:axisDimensionProperties>
<gmd:MD_Dimension>
<gmd:dimensionName>
<gmd:MD_DimensionNameTypeCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_DimensionNameTypeCode"
codeListValue="column">Column</gmd:MD_DimensionNameTypeCode>
</gmd:dimensionName>
<gmd:dimensionSize>
<gcol:Integer>120960</gcol:Integer>
</gmd:dimensionSize>
</gmd:MD_Dimension>
</gmd:axisDimensionProperties>
<gmd:axisDimensionProperties>
<gmd:MD_Dimension>
<gmd:dimensionName>
<gmd:MD_DimensionNameTypeCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_DimensionNameTypeCode"
codeListValue="row">Row</gmd:MD_DimensionNameTypeCode>
</gmd:dimensionName>
<gmd:dimensionSize>
<gcol:Integer>47040</gcol:Integer>
</gmd:dimensionSize>
</gmd:MD_Dimension>
</gmd:axisDimensionProperties>
<gmd:cellGeometry>
<gmd:MD_CellGeometryCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_CellGeometryCode"
codeListValue="area">Area</gmd:MD_CellGeometryCode>
</gmd:cellGeometry>
<gmd:transformationParameterAvailability>
<gcol:Boolean>false</gcol:Boolean>
</gmd:transformationParameterAvailability>
</gmd:MD_GridSpatialRepresentation>
</gmd:spatialRepresentationInfo>
<gmd:referenceSystemInfo>
<gmd:MD_ReferenceSystem>
<gmd:referenceSystemIdentifier>
<gmd:RS_Identifier>
<gmd:code>
<gcol:CharacterString>WGS 84</gcol:CharacterString>
</gmd:code>
</gmd:RS_Identifier>
</gmd:referenceSystemIdentifier>
</gmd:MD_ReferenceSystem>
</gmd:referenceSystemInfo>
<gmd:identificationInfo>
<gmd:MD_DataIdentification>
<gmd:citation>
<gmd:CI_Citation>
<gmd:title>
<gcol:CharacterString>10-daily Leaf Area Index 333M: GLOBE
2014-01-10T00:00:00Z</gcol:CharacterString>
</gmd:title>
<gmd:edition>
<gcol:CharacterString>V1.0.1</gcol:CharacterString>
</gmd:edition>
<gmd:identifier>
<gmd:MD_Identifier>
<gmd:code>
<gcol:CharacterString>c_gls_LAI300_201401100000_GLOBE_PROBAV_V1.0.1
</gcol:CharacterString>
</gmd:code>
</gmd:MD_Identifier>
</gmd:identifier>
<gmd:citedResponsibleParty>
<gmd:CI_ResponsibleParty>
<gmd:organisationName>
<gcol:CharacterString>VITO NV</gcol:CharacterString>
</gmd:organisationName>
<gmd:role>
<gmd:CI_RoleCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#CI_RoleCode"
codeListValue="originator">Originator</gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>
</gmd:citedResponsibleParty>
<gmd:otherCitationDetails>
<gcol:CharacterString>http://land.copernicus.eu/global/products/lai
</gcol:CharacterString>
</gmd:otherCitationDetails>
</gmd:CI_Citation>
</gmd:citation>
<gmd:pointOfContact>
<gmd:CI_ResponsibleParty>
<gmd:organisationName>
<gcol:CharacterString>VITO NV</gcol:CharacterString>
</gmd:organisationName>
<gmd:role>
<gmd:CI_RoleCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#CI_RoleCode"
codeListValue="pointOfContact">Point of contact</gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>
</gmd:pointOfContact>
<gmd:spatialRepresentationType>
<gmd:MD_SpatialRepresentationTypeCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_SpatialRepresentationTypeCode"
codeListValue="grid">Grid</gmd:MD_SpatialRepresentationTypeCode>
</gmd:spatialRepresentationType>
<gmd:resourceFormat>
<gmd:MD_Format>
<gmd:name>
<gcol:CharacterString>NetCDF-4</gcol:CharacterString>
</gmd:name>
<gmd:specification>
<gcol:CharacterString>Hierarchical Data Format, version 5
</gcol:CharacterString>
</gmd:specification>
</gmd:MD_Format>
</gmd:resourceFormat>
</gmd:MD_DataIdentification>
</gmd:identificationInfo>
<gmd:contentInfo>
<gmd:MD_CoverageDescription>
<gmd:dimension>
<gmd:MD_SampleDimension>
<gmd:sequenceIdentifier>
<gcol:MemberName>
<gcol:aName>
<gcol:CharacterString>LAI</gcol:CharacterString>
</gcol:aName>
<gcol:attributeType>
<gcol:TypeName>
<gcol:aName>
<gcol:CharacterString>ubyte[120960][47040]
</gcol:CharacterString>
</gcol:aName>
</gcol:TypeName>
</gcol:attributeType>
</gcol:MemberName>
</gmd:sequenceIdentifier>
<gmd:descriptor>
<gcol:CharacterString>Leaf Area Index 333m</gcol:CharacterString>
</gmd:descriptor>
<gmd:scaleFactor>
<gcol:Real>0.033333</gcol:Real>
</gmd:scaleFactor>
<gmd:offset>
<gcol:Real>0.0</gcol:Real>
</gmd:offset>
</gmd:MD_SampleDimension>
</gmd:dimension>
</gmd:MD_CoverageDescription>
</gmd:contentInfo>
<gmi:acquisitionInformation>
<gmi:MI_AcquisitionInformation>
<gmi:platform>
<gmi:MI_Platform>
<gmi:identifier>
<gmd:MD_Identifier>
<gmd:code>
<gcol:CharacterString>Proba-V</gcol:CharacterString>
</gmd:code>
</gmd:MD_Identifier>
</gmi:identifier>
</gmi:MI_Platform>
</gmi:platform>
</gmi:MI_AcquisitionInformation>
</gmi:acquisitionInformation>
</gmi:MI_Metadata>

View File

@ -0,0 +1,103 @@
package org.gcube.spatial.data.sdi.test;
import static org.junit.Assert.assertTrue;
import static org.junit.Assume.assumeTrue;
import java.io.File;
import java.io.FilenameFilter;
import java.nio.file.Paths;
import java.util.Set;
import javax.ws.rs.client.Entity;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import org.gcube.spatial.data.sdi.model.ServiceConstants;
import org.gcube.spatial.data.sdi.model.metadata.MetadataReport;
import org.gcube.spatial.data.sdi.model.metadata.TemplateInvocation;
import org.gcube.spatial.data.sdi.model.metadata.TemplateInvocationBuilder;
import org.glassfish.jersey.media.multipart.FormDataMultiPart;
import org.glassfish.jersey.media.multipart.file.FileDataBodyPart;
import org.junit.Test;
public class MetadataTests extends ServiceTest {
@Test
public void testUpload() {
assumeTrue(isTestInfrastructureEnabled());
}
@Test
public void testMetadataTemplates() throws Exception {
assumeTrue(isTestInfrastructureEnabled());
File metadata=Paths.get("src/test/resources/xml").toFile();
for(File f:metadata.listFiles(new FilenameFilter() {
@Override
public boolean accept(File dir, String name) {
return name.endsWith(".xml");
}
})) {
publishMetadataFile(f,
new TemplateInvocationBuilder().
threddsOnlineResources("my_hostname", "some_dataset.nc", "myPersonalCatalog").get());
}
}
private void publishMetadataFile(File toPublish, Set<TemplateInvocation> templates) throws Exception {
try {
String id= pushMetadata(toPublish, target(ServiceConstants.Metadata.INTERFACE));
MetadataReport applicationReport= applytemplate(id, target(ServiceConstants.Metadata.INTERFACE), templates);
System.out.println(applicationReport);
assertTrue(applicationReport.getAppliedTemplates().size()==templates.size());
MetadataReport publishReport= publish(id, target(ServiceConstants.Metadata.INTERFACE),
true, true, ServiceConstants.Metadata.DEFAULT_CATEGORY, ServiceConstants.Metadata.DEFAULT_STYLESHEET);
System.out.println(publishReport);
assertTrue(publishReport.getPublishedUUID()!=null);
}catch(Exception e) {
throw new Exception("Failed test on xml file "+toPublish.getName());
}
}
private static String pushMetadata(File toPublish,WebTarget endpoint) throws Exception {
FormDataMultiPart multi=new FormDataMultiPart();
// multi.field("file",toPublish,MediaType.APPLICATION_OCTET_STREAM_TYPE);
FileDataBodyPart fileDataBodyPart = new FileDataBodyPart(ServiceConstants.Metadata.UPLOADED_FILE_PARAMETER,
toPublish,MediaType.APPLICATION_OCTET_STREAM_TYPE);
multi.bodyPart(fileDataBodyPart);
Response resp= endpoint.request().post(Entity.entity(multi, multi.getMediaType()));
checkResponse(resp);
return resp.readEntity(String.class);
}
private static MetadataReport applytemplate(String uploadedID, WebTarget endpoint,Set<TemplateInvocation> templates) throws Exception {
Response resp= endpoint.path(uploadedID).
request(MediaType.APPLICATION_JSON).put(Entity.entity(templates,MediaType.APPLICATION_JSON));
checkResponse(resp);
return resp.readEntity(MetadataReport.class);
}
private static MetadataReport publish(String uploadedID,WebTarget endpoint,boolean validate,
boolean setPublic, String category, String stylesheet) throws Exception {
Response resp= endpoint.path(ServiceConstants.Metadata.PUBLISH_METHOD).path(uploadedID).path(category).
queryParam(ServiceConstants.Metadata.VALIDATE_PARAMETER, validate).
queryParam(ServiceConstants.Metadata.PUBLIC_PARAMETER, setPublic).
queryParam(ServiceConstants.Metadata.STYLESHEET_PARAMETER, stylesheet).
request(MediaType.APPLICATION_JSON).get();
checkResponse(resp);
return resp.readEntity(MetadataReport.class);
}
}

View File

@ -0,0 +1,220 @@
<?xml version="1.0" encoding="UTF-8"?>
<gmd:MD_Metadata
xmlns:gmd="http://www.isotc211.org/2005/gmd"
xmlns:gmx="http://www.isotc211.org/2005/gmx"
xmlns:gml="http://www.opengis.net/gml/3.2"
xmlns:srv1="http://www.isotc211.org/2005/srv"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gmi="http://standards.iso.org/iso/19115/-2/gmi/1.0"
xmlns:gcol="http://www.isotc211.org/2005/gco"
xmlns:gts="http://www.isotc211.org/2005/gts">
<gmd:hierarchyLevel>
<gmd:MD_ScopeCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_ScopeCode"
codeListValue="dataset">Dataset</gmd:MD_ScopeCode>
</gmd:hierarchyLevel>
<gmd:metadataStandardName>
<gcol:CharacterString>Geographic Information — Metadata Part 1:
Fundamentals</gcol:CharacterString>
</gmd:metadataStandardName>
<gmd:metadataStandardVersion>
<gcol:CharacterString>ISO 19115-1:2014</gcol:CharacterString>
</gmd:metadataStandardVersion>
<gmd:spatialRepresentationInfo>
<gmd:MD_GridSpatialRepresentation>
<gmd:numberOfDimensions>
<gcol:Integer>4</gcol:Integer>
</gmd:numberOfDimensions>
<gmd:axisDimensionProperties>
<gmd:MD_Dimension>
<gmd:dimensionName>
<gmd:MD_DimensionNameTypeCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_DimensionNameTypeCode"
codeListValue="vertical">Vertical</gmd:MD_DimensionNameTypeCode>
</gmd:dimensionName>
<gmd:dimensionSize>
<gcol:Integer>63</gcol:Integer>
</gmd:dimensionSize>
</gmd:MD_Dimension>
</gmd:axisDimensionProperties>
<gmd:axisDimensionProperties>
<gmd:MD_Dimension>
<gmd:dimensionName>
<gmd:MD_DimensionNameTypeCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_DimensionNameTypeCode"
codeListValue="column">Column</gmd:MD_DimensionNameTypeCode>
</gmd:dimensionName>
<gmd:dimensionSize>
<gcol:Integer>97</gcol:Integer>
</gmd:dimensionSize>
</gmd:MD_Dimension>
</gmd:axisDimensionProperties>
<gmd:axisDimensionProperties>
<gmd:MD_Dimension>
<gmd:dimensionName>
<gmd:MD_DimensionNameTypeCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_DimensionNameTypeCode"
codeListValue="row">Row</gmd:MD_DimensionNameTypeCode>
</gmd:dimensionName>
<gmd:dimensionSize>
<gcol:Integer>129</gcol:Integer>
</gmd:dimensionSize>
</gmd:MD_Dimension>
</gmd:axisDimensionProperties>
<gmd:axisDimensionProperties>
<gmd:MD_Dimension>
<gmd:dimensionName>
<gmd:MD_DimensionNameTypeCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_DimensionNameTypeCode"
codeListValue="time">Time</gmd:MD_DimensionNameTypeCode>
</gmd:dimensionName>
<gmd:dimensionSize>
<gcol:Integer>1</gcol:Integer>
</gmd:dimensionSize>
</gmd:MD_Dimension>
</gmd:axisDimensionProperties>
<gmd:cellGeometry>
<gmd:MD_CellGeometryCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_CellGeometryCode"
codeListValue="area">Area</gmd:MD_CellGeometryCode>
</gmd:cellGeometry>
<gmd:transformationParameterAvailability>
<gcol:Boolean>false</gcol:Boolean>
</gmd:transformationParameterAvailability>
</gmd:MD_GridSpatialRepresentation>
</gmd:spatialRepresentationInfo>
<gmd:referenceSystemInfo>
<gmd:MD_ReferenceSystem>
<gmd:referenceSystemIdentifier>
<gmd:RS_Identifier>
<gmd:code>
<gcol:CharacterString>time depth lat lon</gcol:CharacterString>
</gmd:code>
</gmd:RS_Identifier>
</gmd:referenceSystemIdentifier>
</gmd:MD_ReferenceSystem>
</gmd:referenceSystemInfo>
<gmd:identificationInfo>
<gmd:MD_DataIdentification>
<gmd:citation>
<gmd:CI_Citation>
<gmd:title>
<gcol:CharacterString>Kinetic Energy annual climatology map
</gcol:CharacterString>
</gmd:title>
<gmd:identifier>
<gmd:MD_Identifier>
<gmd:code>
<gcol:CharacterString>out_data_(SEASTATV1_ID_62daba28-d3b9-4833-a507-b2dac9838e5c)
</gcol:CharacterString>
</gmd:code>
</gmd:MD_Identifier>
</gmd:identifier>
<gmd:citedResponsibleParty>
<gmd:CI_ResponsibleParty>
<gmd:organisationName>
<gcol:CharacterString>Centro Euro-Mediterraneo sui Cambiamenti
Climatici - CMCC, Italy</gcol:CharacterString>
</gmd:organisationName>
<gmd:role>
<gmd:CI_RoleCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#CI_RoleCode"
codeListValue="originator">Originator</gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>
</gmd:citedResponsibleParty>
<gmd:otherCitationDetails>
<gcol:CharacterString>Please check -
https://www.blue-cloud.org/demonstrators/marine-environmental-indicators
</gcol:CharacterString>
</gmd:otherCitationDetails>
</gmd:CI_Citation>
</gmd:citation>
<gmd:pointOfContact>
<gmd:CI_ResponsibleParty>
<gmd:organisationName>
<gcol:CharacterString>Centro Euro-Mediterraneo sui Cambiamenti
Climatici - CMCC, Italy</gcol:CharacterString>
</gmd:organisationName>
<gmd:role>
<gmd:CI_RoleCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#CI_RoleCode"
codeListValue="pointOfContact">Point of contact</gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>
</gmd:pointOfContact>
<gmd:spatialRepresentationType>
<gmd:MD_SpatialRepresentationTypeCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_SpatialRepresentationTypeCode"
codeListValue="grid">Grid</gmd:MD_SpatialRepresentationTypeCode>
</gmd:spatialRepresentationType>
<gmd:resourceFormat>
<gmd:MD_Format>
<gmd:name>
<gcol:CharacterString>NetCDF-4</gcol:CharacterString>
</gmd:name>
<gmd:specification>
<gcol:CharacterString>Hierarchical Data Format, version 5
</gcol:CharacterString>
</gmd:specification>
</gmd:MD_Format>
</gmd:resourceFormat>
<gmd:supplementalInformation>
<gcol:CharacterString>Please check -
https://www.blue-cloud.org/demonstrators/marine-environmental-indicators
</gcol:CharacterString>
</gmd:supplementalInformation>
</gmd:MD_DataIdentification>
</gmd:identificationInfo>
<gmd:contentInfo>
<gmd:MD_CoverageDescription>
<gmd:dimension>
<gmd:MD_SampleDimension>
<gmd:sequenceIdentifier>
<gcol:MemberName>
<gcol:aName>
<gcol:CharacterString>depth_bnds</gcol:CharacterString>
</gcol:aName>
<gcol:attributeType>
<gcol:TypeName>
<gcol:aName>
<gcol:CharacterString>double[2][63]</gcol:CharacterString>
</gcol:aName>
</gcol:TypeName>
</gcol:attributeType>
</gcol:MemberName>
</gmd:sequenceIdentifier>
</gmd:MD_SampleDimension>
</gmd:dimension>
</gmd:MD_CoverageDescription>
</gmd:contentInfo>
<gmd:contentInfo>
<gmd:MD_CoverageDescription>
<gmd:dimension>
<gmd:MD_SampleDimension>
<gmd:sequenceIdentifier>
<gcol:MemberName>
<gcol:aName>
<gcol:CharacterString>ke</gcol:CharacterString>
</gcol:aName>
<gcol:attributeType>
<gcol:TypeName>
<gcol:aName>
<gcol:CharacterString>float[97][129][63][1]
</gcol:CharacterString>
</gcol:aName>
</gcol:TypeName>
</gcol:attributeType>
</gcol:MemberName>
</gmd:sequenceIdentifier>
<gmd:descriptor>
<gcol:CharacterString>Annual Climatology Map of Kinetic Energy
</gcol:CharacterString>
</gmd:descriptor>
<gmd:units></gmd:units>
</gmd:MD_SampleDimension>
</gmd:dimension>
</gmd:MD_CoverageDescription>
</gmd:contentInfo>
</gmd:MD_Metadata>

View File

@ -0,0 +1,188 @@
<?xml version="1.0" encoding="UTF-8"?>
<gmi:MI_Metadata
xmlns:gmd="http://www.isotc211.org/2005/gmd"
xmlns:gmx="http://www.isotc211.org/2005/gmx"
xmlns:gml="http://www.opengis.net/gml/3.2"
xmlns:srv1="http://www.isotc211.org/2005/srv"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gmi="http://standards.iso.org/iso/19115/-2/gmi/1.0"
xmlns:gcol="http://www.isotc211.org/2005/gco"
xmlns:gts="http://www.isotc211.org/2005/gts">
<gmd:hierarchyLevel>
<gmd:MD_ScopeCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_ScopeCode"
codeListValue="dataset">Dataset</gmd:MD_ScopeCode>
</gmd:hierarchyLevel>
<gmd:metadataStandardName>
<gcol:CharacterString>Geographic Information — Metadata Part 1:
Fundamentals</gcol:CharacterString>
</gmd:metadataStandardName>
<gmd:metadataStandardVersion>
<gcol:CharacterString>ISO 19115-1:2014</gcol:CharacterString>
</gmd:metadataStandardVersion>
<gmd:spatialRepresentationInfo>
<gmd:MD_GridSpatialRepresentation>
<gmd:numberOfDimensions>
<gcol:Integer>2</gcol:Integer>
</gmd:numberOfDimensions>
<gmd:axisDimensionProperties>
<gmd:MD_Dimension>
<gmd:dimensionName>
<gmd:MD_DimensionNameTypeCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_DimensionNameTypeCode"
codeListValue="column">Column</gmd:MD_DimensionNameTypeCode>
</gmd:dimensionName>
<gmd:dimensionSize>
<gcol:Integer>120960</gcol:Integer>
</gmd:dimensionSize>
</gmd:MD_Dimension>
</gmd:axisDimensionProperties>
<gmd:axisDimensionProperties>
<gmd:MD_Dimension>
<gmd:dimensionName>
<gmd:MD_DimensionNameTypeCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_DimensionNameTypeCode"
codeListValue="row">Row</gmd:MD_DimensionNameTypeCode>
</gmd:dimensionName>
<gmd:dimensionSize>
<gcol:Integer>47040</gcol:Integer>
</gmd:dimensionSize>
</gmd:MD_Dimension>
</gmd:axisDimensionProperties>
<gmd:cellGeometry>
<gmd:MD_CellGeometryCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_CellGeometryCode"
codeListValue="area">Area</gmd:MD_CellGeometryCode>
</gmd:cellGeometry>
<gmd:transformationParameterAvailability>
<gcol:Boolean>false</gcol:Boolean>
</gmd:transformationParameterAvailability>
</gmd:MD_GridSpatialRepresentation>
</gmd:spatialRepresentationInfo>
<gmd:referenceSystemInfo>
<gmd:MD_ReferenceSystem>
<gmd:referenceSystemIdentifier>
<gmd:RS_Identifier>
<gmd:code>
<gcol:CharacterString>WGS 84</gcol:CharacterString>
</gmd:code>
</gmd:RS_Identifier>
</gmd:referenceSystemIdentifier>
</gmd:MD_ReferenceSystem>
</gmd:referenceSystemInfo>
<gmd:identificationInfo>
<gmd:MD_DataIdentification>
<gmd:citation>
<gmd:CI_Citation>
<gmd:title>
<gcol:CharacterString>10-daily Leaf Area Index 333M: GLOBE
2014-01-10T00:00:00Z</gcol:CharacterString>
</gmd:title>
<gmd:edition>
<gcol:CharacterString>V1.0.1</gcol:CharacterString>
</gmd:edition>
<gmd:identifier>
<gmd:MD_Identifier>
<gmd:code>
<gcol:CharacterString>c_gls_LAI300_201401100000_GLOBE_PROBAV_V1.0.1
</gcol:CharacterString>
</gmd:code>
</gmd:MD_Identifier>
</gmd:identifier>
<gmd:citedResponsibleParty>
<gmd:CI_ResponsibleParty>
<gmd:organisationName>
<gcol:CharacterString>VITO NV</gcol:CharacterString>
</gmd:organisationName>
<gmd:role>
<gmd:CI_RoleCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#CI_RoleCode"
codeListValue="originator">Originator</gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>
</gmd:citedResponsibleParty>
<gmd:otherCitationDetails>
<gcol:CharacterString>http://land.copernicus.eu/global/products/lai
</gcol:CharacterString>
</gmd:otherCitationDetails>
</gmd:CI_Citation>
</gmd:citation>
<gmd:pointOfContact>
<gmd:CI_ResponsibleParty>
<gmd:organisationName>
<gcol:CharacterString>VITO NV</gcol:CharacterString>
</gmd:organisationName>
<gmd:role>
<gmd:CI_RoleCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#CI_RoleCode"
codeListValue="pointOfContact">Point of contact</gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>
</gmd:pointOfContact>
<gmd:spatialRepresentationType>
<gmd:MD_SpatialRepresentationTypeCode
codeList="http://schemas.opengis.net/iso/19139/20070417/resources/Codelist/gmxCodelists.xml#MD_SpatialRepresentationTypeCode"
codeListValue="grid">Grid</gmd:MD_SpatialRepresentationTypeCode>
</gmd:spatialRepresentationType>
<gmd:resourceFormat>
<gmd:MD_Format>
<gmd:name>
<gcol:CharacterString>NetCDF-4</gcol:CharacterString>
</gmd:name>
<gmd:specification>
<gcol:CharacterString>Hierarchical Data Format, version 5
</gcol:CharacterString>
</gmd:specification>
</gmd:MD_Format>
</gmd:resourceFormat>
</gmd:MD_DataIdentification>
</gmd:identificationInfo>
<gmd:contentInfo>
<gmd:MD_CoverageDescription>
<gmd:dimension>
<gmd:MD_SampleDimension>
<gmd:sequenceIdentifier>
<gcol:MemberName>
<gcol:aName>
<gcol:CharacterString>LAI</gcol:CharacterString>
</gcol:aName>
<gcol:attributeType>
<gcol:TypeName>
<gcol:aName>
<gcol:CharacterString>ubyte[120960][47040]
</gcol:CharacterString>
</gcol:aName>
</gcol:TypeName>
</gcol:attributeType>
</gcol:MemberName>
</gmd:sequenceIdentifier>
<gmd:descriptor>
<gcol:CharacterString>Leaf Area Index 333m</gcol:CharacterString>
</gmd:descriptor>
<gmd:scaleFactor>
<gcol:Real>0.033333</gcol:Real>
</gmd:scaleFactor>
<gmd:offset>
<gcol:Real>0.0</gcol:Real>
</gmd:offset>
</gmd:MD_SampleDimension>
</gmd:dimension>
</gmd:MD_CoverageDescription>
</gmd:contentInfo>
<gmi:acquisitionInformation>
<gmi:MI_AcquisitionInformation>
<gmi:platform>
<gmi:MI_Platform>
<gmi:identifier>
<gmd:MD_Identifier>
<gmd:code>
<gcol:CharacterString>Proba-V</gcol:CharacterString>
</gmd:code>
</gmd:MD_Identifier>
</gmi:identifier>
</gmi:MI_Platform>
</gmi:platform>
</gmi:MI_AcquisitionInformation>
</gmi:acquisitionInformation>
</gmi:MI_Metadata>