<gmd:MD_Metadata xmlns:gmd="http://www.isotc211.org/2005/gmd" xmlns:gco="http://www.isotc211.org/2005/gco" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml" xmlns:gmx="http://www.isotc211.org/2005/gmx" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.isotc211.org/2005/gmd http://www.isotc211.org/2005/gmd/gmd.xsd">
    <gmd:fileIdentifier>
     <gco:CharacterString>10.5880/wsm.2017.002</gco:CharacterString>
    </gmd:fileIdentifier>
    <gmd:language>
     <gmd:LanguageCode codeList="http://www.loc.gov/standards/iso639-2/" codeListValue="eng">eng</gmd:LanguageCode>
    </gmd:language>
    <gmd:characterSet>
     <gmd:MD_CharacterSetCode codeListValue="utf8" codeList="http://www.isotc211.org/2005/resources/codeList.xml#MD_CharacterSetCode"/>
    </gmd:characterSet>
    <gmd:hierarchyLevel>
     <gmd:MD_ScopeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_ScopeCode" codeListValue="dataset">dataset</gmd:MD_ScopeCode>
    </gmd:hierarchyLevel>
    <gmd:hierarchyLevelName>
     <gco:CharacterString/>
    </gmd:hierarchyLevelName>
    <gmd:contact>
     <gmd:CI_ResponsibleParty>
      <gmd:organisationName>
       <gco:CharacterString>GFZ German Research Centre for Geosciences</gco:CharacterString>
      </gmd:organisationName>
      <gmd:contactInfo>
       <gmd:CI_Contact>
        <gmd:address>
         <gmd:CI_Address>
          <gmd:electronicMailAddress>
           <gco:CharacterString>datapub@gfz-potsdam.de</gco:CharacterString>
          </gmd:electronicMailAddress>
         </gmd:CI_Address>
        </gmd:address>
        <gmd:onlineResource>
         <gmd:CI_OnlineResource>
          <gmd:linkage>
           <gmd:URL>http://www.gfz-potsdam.de</gmd:URL>
          </gmd:linkage>
          <gmd:name>
           <gco:CharacterString>Helmholtz-Centre Potsdam - GFZ German Research Centre for Geosciences</gco:CharacterString>
          </gmd:name>
          <gmd:description>
           <gco:CharacterString>Helmholtz-Centre Potsdam - GFZ German Research Centre for Geosciences</gco:CharacterString>
          </gmd:description>
         </gmd:CI_OnlineResource>
        </gmd:onlineResource>
       </gmd:CI_Contact>
      </gmd:contactInfo>
      <gmd:role>
       <gmd:CI_RoleCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode" codeListValue="pointOfContact">pointOfContact</gmd:CI_RoleCode>
      </gmd:role>
     </gmd:CI_ResponsibleParty>
    </gmd:contact>
    <gmd:dateStamp>
     <gco:Date>2019-05-06</gco:Date>
    </gmd:dateStamp>
    <gmd:referenceSystemInfo>
     <gmd:MD_ReferenceSystem>
      <gmd:referenceSystemIdentifier>
       <gmd:RS_Identifier>
        <gmd:code>
         <gco:CharacterString>urn:ogc:def:crs:EPSG:4326</gco: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>
         <gco:CharacterString>Matlab script Stress2Grid</gco:CharacterString>
        </gmd:title>
        <gmd:date>
         <gmd:CI_Date>
          <gmd:date>
           <gco:Date>2019-05-06</gco:Date>
          </gmd:date>
          <gmd:dateType>
           <gmd:CI_DateTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_DateTypeCode" codeListValue="revision">revision</gmd:CI_DateTypeCode>
          </gmd:dateType>
         </gmd:CI_Date>
        </gmd:date>
        <gmd:identifier>
         <gmd:MD_Identifier>
          <gmd:code>
           <gco:CharacterString>doi:10.5880/wsm.2017.002</gco:CharacterString>
          </gmd:code>
         </gmd:MD_Identifier>
        </gmd:identifier>
        <gmd:citedResponsibleParty xlink:href="http://orcid.org/0000-0002-2288-2820">
         <gmd:CI_ResponsibleParty>
          <gmd:individualName>
           <gco:CharacterString>Ziegler, Moritz</gco:CharacterString>
          </gmd:individualName>
          <gmd:organisationName>
           <gco:CharacterString>GFZ German Research Centre for Geosciences, Potsdam, Germany</gco:CharacterString>
          </gmd:organisationName>
          <gmd:role>
           <gmd:CI_RoleCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode" codeListValue="author">author</gmd:CI_RoleCode>
          </gmd:role>
         </gmd:CI_ResponsibleParty>
        </gmd:citedResponsibleParty>
        <gmd:citedResponsibleParty xlink:href="http://orcid.org/0000-0001-8009-5422">
         <gmd:CI_ResponsibleParty>
          <gmd:individualName>
           <gco:CharacterString>Heidbach, Oliver</gco:CharacterString>
          </gmd:individualName>
          <gmd:organisationName>
           <gco:CharacterString>GFZ German Research Centre for Geosciences, Potsdam, Germany</gco:CharacterString>
          </gmd:organisationName>
          <gmd:role>
           <gmd:CI_RoleCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode" codeListValue="author">author</gmd:CI_RoleCode>
          </gmd:role>
         </gmd:CI_ResponsibleParty>
        </gmd:citedResponsibleParty>
        <gmd:citedResponsibleParty>
         <gmd:CI_ResponsibleParty>
          <gmd:individualName>
           <gco:CharacterString>GFZ German Rersearch Centre for Geosciences</gco:CharacterString>
          </gmd:individualName>
          <gmd:organisationName>
           <gco:CharacterString>GFZ German Research Centre for Geosciences, Potsdam, Germany</gco:CharacterString>
          </gmd:organisationName>
          <gmd:role>
           <gmd:CI_RoleCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode" codeListValue="originator">originator</gmd:CI_RoleCode>
          </gmd:role>
         </gmd:CI_ResponsibleParty>
        </gmd:citedResponsibleParty>
        <gmd:citedResponsibleParty>
         <gmd:CI_ResponsibleParty>
          <gmd:organisationName>
           <gco:CharacterString>GFZ Data Services</gco:CharacterString>
          </gmd:organisationName>
          <gmd:role>
           <gmd:CI_RoleCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode" codeListValue="publisher">publisher</gmd:CI_RoleCode>
          </gmd:role>
         </gmd:CI_ResponsibleParty>
        </gmd:citedResponsibleParty>
       </gmd:CI_Citation>
      </gmd:citation>
      <gmd:abstract>
       <gco:CharacterString>The distribution of data records for the maximum horizontal stress orientation SHmax in the Earth’s crust is sparse and very unequally. In order to analyse the stress pattern and its wavelength or to predict the mean SHmax orientation on a regular grid, statistical interpolation as conducted e.g. by Coblentz and Richardson (1995), Müller et al. (2003), Heidbach and Höhne (2008), Heidbach et al. (2010) or Reiter et al. (2014) is necessary. Based on their work we wrote the Matlab® script Stress2Grid that provides several features to analyse the mean SHmax pattern. The script facilitates and speeds up this analysis and extends the functionality compared to aforementioned publications. The script is complemented by a number of example and input files as described in the WSM Technical Report (Ziegler and Heidbach, 2017, http://doi.org/10.2312/wsm.2017.002).
 
      
 The script provides two different concepts to calculate the mean SHmax orientation on a regular grid. The first is using a fixed search radius around the grid point and computes the mean SHmax orientation if sufficient data records are within the search radius. The larger the search radius the larger is the filtered wavelength of the stress pattern. The second approach is using variable search radii and determines the search radius for which the variance of the mean SHmax orientation is below a given threshold. This approach delivers mean SHmax orientations with a user-defined degree of reliability. It resolves local stress perturbations and is not available in areas with conflicting information that result in a large variance. Furthermore, the script can also estimate the deviation between plate motion direction and the mean SHmax orientation.</gco:CharacterString>
      </gmd:abstract>
      <gmd:status>
       <gmd:MD_ProgressCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#MD_ProgressCode" codeListValue="Complete">Complete</gmd:MD_ProgressCode>
      </gmd:status>
      <gmd:pointOfContact>
       <gmd:CI_ResponsibleParty>
        <gmd:individualName>
         <gco:CharacterString>Heidbach, Oliver</gco:CharacterString>
        </gmd:individualName>
        <gmd:organisationName>
         <gco:CharacterString>GFZ German Research Centre for Geosciences, Potsdam, Germany</gco:CharacterString>
        </gmd:organisationName>
        <gmd:contactInfo>
         <gmd:CI_Contact>
          <gmd:address>
           <gmd:CI_Address>
            <gmd:electronicMailAddress>
             <gco:CharacterString>heidbach@gfz-potsdam.de</gco:CharacterString>
            </gmd:electronicMailAddress>
           </gmd:CI_Address>
          </gmd:address>
         </gmd:CI_Contact>
        </gmd:contactInfo>
        <gmd:role>
         <gmd:CI_RoleCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode" codeListValue="pointOfContact">pointOfContact</gmd:CI_RoleCode>
        </gmd:role>
       </gmd:CI_ResponsibleParty>
      </gmd:pointOfContact>
      <gmd:descriptiveKeywords>
       <gmd:MD_Keywords>
        <gmd:keyword>
         <gco:CharacterString>World Stress Map</gco:CharacterString>
        </gmd:keyword>
        <gmd:keyword>
         <gco:CharacterString>Stress orientation data analysis tool for Matlab</gco:CharacterString>
        </gmd:keyword>
       </gmd:MD_Keywords>
      </gmd:descriptiveKeywords>
      <gmd:descriptiveKeywords>
       <gmd:MD_Keywords>
        <gmd:keyword>
         <gco:CharacterString>EARTH SCIENCE &gt; SOLID EARTH &gt; TECTONICS &gt; NEOTECTONICS</gco:CharacterString>
        </gmd:keyword>
        <gmd:keyword>
         <gco:CharacterString>EARTH SCIENCE &gt; SOLID EARTH &gt; TECTONICS &gt; PLATE TECTONICS &gt; CRUSTAL MOTION &gt; CRUSTAL MOTION DIRECTION</gco:CharacterString>
        </gmd:keyword>
        <gmd:keyword>
         <gco:CharacterString>EARTH SCIENCE &gt; SOLID EARTH &gt; TECTONICS &gt; PLATE TECTONICS &gt; FAULT MOVEMENT</gco:CharacterString>
        </gmd:keyword>
        <gmd:keyword>
         <gco:CharacterString>EARTH SCIENCE &gt; SOLID EARTH &gt; TECTONICS &gt; PLATE TECTONICS &gt; PLATE BOUNDARIES</gco:CharacterString>
        </gmd:keyword>
        <gmd:keyword>
         <gco:CharacterString>EARTH SCIENCE &gt; SOLID EARTH &gt; TECTONICS &gt; PLATE TECTONICS &gt; STRESS</gco:CharacterString>
        </gmd:keyword>
        <gmd:thesaurusName>
         <gmd:CI_Citation>
          <gmd:title>
           <gco:CharacterString>NASA/GCMD Earth Science Keywords</gco:CharacterString>
          </gmd:title>
          <gmd:date>
           <gmd:CI_Date>
            <gmd:date gco:nilReason="missing"/>
            <gmd:dateType>
             <gmd:CI_DateTypeCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_DateTypeCode" codeListValue="publication">publication</gmd:CI_DateTypeCode>
            </gmd:dateType>
           </gmd:CI_Date>
          </gmd:date>
         </gmd:CI_Citation>
        </gmd:thesaurusName>
       </gmd:MD_Keywords>
      </gmd:descriptiveKeywords>
      <gmd:resourceConstraints xlink:href="https://www.gnu.org/licenses/gpl-3.0.en.html">
       <gmd:MD_Constraints>
        <gmd:useLimitation>
         <gco:CharacterString>GNU General Public License, Version 3, 29 June 2007 Copyright © 2017 Helmholtz Centre Potsdam GFZ German Research Centre for Geosciences, Potsdam, Germany</gco:CharacterString>
        </gmd:useLimitation>
       </gmd:MD_Constraints>
      </gmd:resourceConstraints>
      <gmd:resourceConstraints>
       <gmd:MD_LegalConstraints>
        <gmd:accessConstraints>
         <gmd:MD_RestrictionCode codeList="http://www.isotc211.org/2005/resources/codeList.xml#MD_RestrictionCode" codeListValue="otherRestrictions"/>
        </gmd:accessConstraints>
        <gmd:otherConstraints>
         <gco:CharacterString>GNU General Public License, Version 3, 29 June 2007 Copyright © 2017 Helmholtz Centre Potsdam GFZ German Research Centre for Geosciences, Potsdam, Germany</gco:CharacterString>
        </gmd:otherConstraints>
       </gmd:MD_LegalConstraints>
      </gmd:resourceConstraints>
      <gmd:resourceConstraints>
       <gmd:MD_SecurityConstraints>
        <gmd:classification>
         <gmd:MD_ClassificationCode codeList="http://www.isotc211.org/2005/resources/codeList.xml#MD_ClassificationCode" codeListValue="unclassified"/>
        </gmd:classification>
       </gmd:MD_SecurityConstraints>
      </gmd:resourceConstraints>
      <gmd:aggregationInfo>
       <gmd:MD_AggregateInformation>
        <gmd:aggregateDataSetIdentifier>
         <gmd:RS_Identifier>
          <gmd:code>
           <gco:CharacterString>10.2312/wsm.2017.002</gco:CharacterString>
          </gmd:code>
          <gmd:codeSpace>
           <gco:CharacterString>DOI</gco:CharacterString>
          </gmd:codeSpace>
         </gmd:RS_Identifier>
        </gmd:aggregateDataSetIdentifier>
        <gmd:associationType>
         <gmd:DS_AssociationTypeCode codeList="http://datacite.org/schema/kernel-4" codeListValue="IsDocumentedBy">IsDocumentedBy</gmd:DS_AssociationTypeCode>
        </gmd:associationType>
       </gmd:MD_AggregateInformation>
      </gmd:aggregationInfo>
      <gmd:aggregationInfo>
       <gmd:MD_AggregateInformation>
        <gmd:aggregateDataSetIdentifier>
         <gmd:RS_Identifier>
          <gmd:code>
           <gco:CharacterString>10.5880/wsm.2016.001</gco:CharacterString>
          </gmd:code>
          <gmd:codeSpace>
           <gco:CharacterString>DOI</gco:CharacterString>
          </gmd:codeSpace>
         </gmd:RS_Identifier>
        </gmd:aggregateDataSetIdentifier>
        <gmd:associationType>
         <gmd:DS_AssociationTypeCode codeList="http://datacite.org/schema/kernel-4" codeListValue="IsSupplementTo">IsSupplementTo</gmd:DS_AssociationTypeCode>
        </gmd:associationType>
       </gmd:MD_AggregateInformation>
      </gmd:aggregationInfo>
      <gmd:aggregationInfo>
       <gmd:MD_AggregateInformation>
        <gmd:aggregateDataSetIdentifier>
         <gmd:RS_Identifier>
          <gmd:code>
           <gco:CharacterString>10.5880/wsm.2019.002</gco:CharacterString>
          </gmd:code>
          <gmd:codeSpace>
           <gco:CharacterString>DOI</gco:CharacterString>
          </gmd:codeSpace>
         </gmd:RS_Identifier>
        </gmd:aggregateDataSetIdentifier>
        <gmd:associationType>
         <gmd:DS_AssociationTypeCode codeList="http://datacite.org/schema/kernel-4" codeListValue="IsPreviousVersionOf">IsPreviousVersionOf</gmd:DS_AssociationTypeCode>
        </gmd:associationType>
       </gmd:MD_AggregateInformation>
      </gmd:aggregationInfo>
      <gmd:language>
       <gco:CharacterString>eng</gco:CharacterString>
      </gmd:language>
      <gmd:characterSet>
       <gmd:MD_CharacterSetCode codeListValue="utf8" codeList="http://www.isotc211.org/2005/resources/codeList.xml#MD_CharacterSetCode"/>
      </gmd:characterSet>
      <gmd:topicCategory>
       <gmd:MD_TopicCategoryCode>geoscientificInformation</gmd:MD_TopicCategoryCode>
      </gmd:topicCategory>
     </gmd:MD_DataIdentification>
    </gmd:identificationInfo>
    <gmd:distributionInfo>
     <gmd:MD_Distribution>
      <gmd:transferOptions>
       <gmd:MD_DigitalTransferOptions>
        <gmd:onLine>
         <gmd:CI_OnlineResource>
          <gmd:linkage>
           <gmd:URL>http://doi.org/10.5880/wsm.2017.002</gmd:URL>
          </gmd:linkage>
          <gmd:protocol>
           <gco:CharacterString>WWW:LINK-1.0-http--link</gco:CharacterString>
          </gmd:protocol>
          <gmd:name>
           <gco:CharacterString>Data Access - DOI</gco:CharacterString>
          </gmd:name>
          <gmd:description>
           <gco:CharacterString>Data Access - DOI</gco:CharacterString>
          </gmd:description>
          <gmd:function>
           <gmd:CI_OnLineFunctionCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_OnLineFunctionCode" codeListValue="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_OnLineFunctionCode_information">information</gmd:CI_OnLineFunctionCode>
          </gmd:function>
         </gmd:CI_OnlineResource>
        </gmd:onLine>
       </gmd:MD_DigitalTransferOptions>
      </gmd:transferOptions>
     </gmd:MD_Distribution>
    </gmd:distributionInfo>
    <gmd:dataQualityInfo>
     <gmd:DQ_DataQuality>
      <gmd:scope>
       <gmd:DQ_Scope>
        <gmd:level>
         <gmd:MD_ScopeCode codeListValue="dataset" codeList="http://www.isotc211.org/2005/resources/codeList.xml#MD_ScopeCode"/>
        </gmd:level>
       </gmd:DQ_Scope>
      </gmd:scope>
     </gmd:DQ_DataQuality>
    </gmd:dataQualityInfo>
   </gmd:MD_Metadata>