<dataset type="EDDGridFromNcFiles" datasetID="global_so_zarr" active="true">
    <reloadEveryNMinutes>10080</reloadEveryNMinutes>
    <updateEveryNMillis>10000</updateEveryNMillis>
    <fileDir>/datasources/</fileDir>
    <fileNameRegex>global_so\.zarr</fileNameRegex>
    <recursive>true</recursive>
    <pathRegex>.*</pathRegex>
    <metadataFrom>last</metadataFrom>
    <matchAxisNDigits>20</matchAxisNDigits>
    <fileTableInMemory>false</fileTableInMemory>

    <addAttributes>
        <att name="title">Instantaneous fields for product GLOBAL_ANALYSISFORECAST_PHY_001_024</att>
        <att name="summary">Instantaneous fields for product GLOBAL_ANALYSISFORECAST_PHY_001_024</att>
        <att name="infoUrl">https://copernicus.eu</att>
        <att name="institution">Mercator Ocean</att>
        <att name="source">MERCATOR GLO12</att>
        <att name="references">http://marine.copernicus.eu</att>
        <att name="credit">E.U. Copernicus Marine Service Information (CMEMS)</att>
        <att name="Conventions">CF-1.6</att>
        <att name="creator_email">servicedesk.cmems@mercator-ocean.eu</att>
        <att name="cdm_data_type">Grid</att>
        <att name="keywords">salinity, cmems, mercator, ocean</att>
        <att name="ioos_category">Oceanography</att>
    </addAttributes>

    <axisVariable>
        <sourceName>time/dim0</sourceName>
        <destinationName>time</destinationName>
        <addAttributes>
            <att name="units">hours since 1950-01-01T00:00:00Z</att>
            <att name="axis">T</att>
            <att name="ioos_category">Time</att>
            <att name="calendar">proleptic_gregorian</att>
            <att name="long_name">time</att>
            <att name="standard_name">time</att>
        </addAttributes>
    </axisVariable>

    <axisVariable>
        <sourceName>longitude/dim1</sourceName>
        <destinationName>longitude</destinationName>
        <addAttributes>
            <att name="axis">X</att>
            <att name="ioos_category">Location</att>
            <att name="long_name">longitude</att>
            <att name="standard_name">longitude</att>
            <att name="units">degrees_east</att>
        </addAttributes>
    </axisVariable>

    <axisVariable>
        <sourceName>latitude/dim2</sourceName>
        <destinationName>latitude</destinationName>
        <addAttributes>
            <att name="ioos_category">Location</att>
            <att name="units">degrees_north</att>
            <att name="axis">Y</att>
            <att name="long_name">latitude</att>
            <att name="standard_name">latitude</att>
        </addAttributes>
    </axisVariable>

    <axisVariable>
        <sourceName>depth/dim3</sourceName>
        <destinationName>depth</destinationName>
        <addAttributes>
            <att name="long_name">depth</att>
            <att name="standard_name">depth</att>
            <att name="units">m</att>
            <att name="axis">Z</att>
            <att name="positive">down</att>
            <att name="ioos_category">Location</att>
        </addAttributes>
    </axisVariable>

    <dataVariable>
        <sourceName>so</sourceName>
        <destinationName>salinity</destinationName>
        <dataType>float</dataType>
        <addAttributes>
            <att name="standard_name">sea_water_salinity</att>
            <att name="units">psu</att>
            <att name="long_name">Sea Water Salinity</att>
            <att name="ioos_category">Salinity</att>
        </addAttributes>
    </dataVariable>

</dataset>
