zdefne-usgs / ocean-iso-metadata

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

xsl stylesheet update for spatial representation info vertical and temporal #25

Open salme146 opened 1 year ago

salme146 commented 1 year ago

I find that the axisDimensionProperties always misses the vertical resolution for my dataset.

     <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>16</gco:Integer>
           </gmd:dimensionSize>
           <gmd:resolution gco:nilReason="missing"/>.   <------MISSING
        </gmd:MD_Dimension>
     </gmd:axisDimensionProperties>

so I hardcoded it into my version of the xsl stylesheet (around line 300)

<---HERE . <--- HERE I did the same thing for the temporal dimension > I imagine this could be hard coded into the yaml file, however I am finding it hard to figure out the workflow for the spatial representation info.