zdefne-usgs / ocean-iso-metadata

Describing ocean model outputs based on ISO metadata standards
Apache License 2.0
1 stars 3 forks source link

how to include CF convention as a reference in the metadata? #5

Open zdefne-usgs opened 6 years ago

zdefne-usgs commented 6 years ago

For example, http://cfconventions.org/Data/cf-conventions/cf-conventions-1.7/cf-conventions.html or CF github page https://github.com/cf-convention/cf-conventions/releases has the information we need.

Ideally CF conventions should have a DOI number that we can cite in the metadata. Where do we insert that information in the ISO metadata?

zdefne-usgs commented 6 years ago

Here's how we are handling this currently:


<gmd:MD_Georeferenceable>
  <gmd:numberOfDimensions>
    <gco:Integer>2</gco:Integer>
  </gmd:numberOfDimensions>
  <gmd:axisDimensionProperties>
    <gmd:MD_Dimension>
      <gmd:dimensionName>
        <gmd:MD_DimensionNameTypeCode codeList="http://www.ngdc.noaa.gov/metadata/published/xsd/schema/resources/Codelist/gmxCodelists.xml#MD_DimensionNameTypeCode"
                                            codeListValue="vertical">vertical</gmd:MD_DimensionNameTypeCode>
      </gmd:dimensionName>
      <gmd:dimensionSize>
        <gco:Integer>7</gco:Integer>
      </gmd:dimensionSize>
      <gmd:resolution>
        <gco:Measure uom="meter">0.01</gco:Measure>
      </gmd:resolution>
    </gmd:MD_Dimension>
  </gmd:axisDimensionProperties>
  <gmd:axisDimensionProperties>
    <gmd:MD_Dimension>
      <gmd:dimensionName>
        <gmd:MD_DimensionNameTypeCode codeList="http://www.ngdc.noaa.gov/metadata/published/xsd/schema/resources/Codelist/gmxCodelists.xml#MD_DimensionNameTypeCode"
                                            codeListValue="temporal">temporal</gmd:MD_DimensionNameTypeCode>
      </gmd:dimensionName>
      <gmd:dimensionSize>
        <gco:Integer>10272</gco:Integer>
      </gmd:dimensionSize>
      <gmd:resolution>
        <gco:Measure uom="minutes">30</gco:Measure>
      </gmd:resolution>
    </gmd:MD_Dimension>
  </gmd:axisDimensionProperties>
  <gmd:cellGeometry>
    <gmd:MD_CellGeometryCode codeList="http://www.ngdc.noaa.gov/metadata/published/xsd/schema/resources/Codelist/gmxCodelists.xml#MD_CellGeometryCode"
                                 codeListValue="area">area</gmd:MD_CellGeometryCode>
  </gmd:cellGeometry>
  <gmd:transformationParameterAvailability>
    <gco:Boolean>true</gco:Boolean>
  </gmd:transformationParameterAvailability>
  <gmd:controlPointAvailability/>
  <gmd:orientationParameterAvailability/>
  <gmd:georeferencedParameters>
    <gco:Record xsi:type="gco:CharacterString_PropertyType">
      <gco:CharacterString>Vertical coordinates</gco:CharacterString>
    </gco:Record>
  </gmd:georeferencedParameters>
  <gmd:parameterCitation>
    <gmd:CI_Citation>
      <gmd:title>
        <gco:CharacterString>CF Conventions and Metadata</gco:CharacterString>
      </gmd:title>
      <gmd:date>
        <gmd:CI_Date>
          <gmd:date>
            <gco:Date>2017-08-01</gco:Date>
          </gmd:date>
          <gmd:dateType>
            <gmd:CI_DateTypeCode codeList="http://www.ngdc.noaa.gov/metadata/published/xsd/schema/resources/Codelist/gmxCodelists.xml#CI_DateTypeCode"
                                         codeListValue="lastUpdate">lastUpdate</gmd:CI_DateTypeCode>
          </gmd:dateType>
        </gmd:CI_Date>
      </gmd:date>
        <gmd:citedResponsibleParty>
          <gmd:CI_ResponsibleParty>
            <gmd:organisationName>
              <gco:CharacterString>Climate and Forecast (CF) Metadata Conventions Organization</gco:CharacterString>
            </gmd:organisationName>
            <gmd:contactInfo>
              <gmd:CI_Contact>
                <gmd:onlineResource>
                  <gmd:CI_OnlineResource>
                    <gmd:linkage>
                      <gmd:URL>http://cfconventions.org/Data/cf-conventions/cf-conventions-1.7/cf-conventions.html#parametric-v-coord </gmd:URL>
                    </gmd:linkage>
                    <gmd:protocol>
                      <gco:CharacterString>WWW:LINK</gco:CharacterString>
                    </gmd:protocol>
                    <gmd:applicationProfile>
                      <gco:CharacterString>web browser</gco:CharacterString>
                    </gmd:applicationProfile>
                    <gmd:name>
                      <gco:CharacterString/>
                    </gmd:name>
                    <gmd:description>
                      <gco:CharacterString/>
                    </gmd:description>
                    <gmd:function>
                      <gmd:CI_OnLineFunctionCode codeList="http://www.ngdc.noaa.gov/metadata/published/xsd/schema/resources/Codelist/gmxCodelists.xml#CI_OnLineFunctionCode"
                               codeListValue="information">information</gmd:CI_OnLineFunctionCode>
                    </gmd:function>
                  </gmd:CI_OnlineResource>
                </gmd:onlineResource>
              </gmd:CI_Contact>
            </gmd:contactInfo>
            <gmd:role>
              <gmd:CI_RoleCode codeList="http://www.ngdc.noaa.gov/metadata/published/xsd/schema/resources/Codelist/gmxCodelists.xml#CI_RoleCode"
                   codeListValue="author">author</gmd:CI_RoleCode>
            </gmd:role>
        </gmd:CI_ResponsibleParty>
      </gmd:citedResponsibleParty>
    </gmd:CI_Citation>
  </gmd:parameterCitation>
</gmd:MD_Georeferenceable>