You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Current »

 

Available since 2019.01.

This parser can import NetCDF grid data  files from: https://tds.hycom.org/thredds/catalog/GLBv0.08/expt_93.0/data/forecasts/catalog.html?dataset=GLBv0.08/expt_93.0/data/forecasts/FMRC_best.ncd

It offers a maximum 1.000.000.000 data points per set. Files larger than than cannot be downloaded. Grids should be configured to stay under that limit.

 

Configuration example:

 Parameters:

import_all_layers: Default value is false. configure only if the requested data set contains vertical (z) coordinates (layers) and you wish to import all of them. Warning: importing many layers can easily lead to too large data bundles, and get an error from the website.
horizontal_Stride: default setting is 1. Needs to be configured only if a different value is needed.
time_Stride : default setting is 1. Needs to be configured only if a different value is needed.
add_latitude_longitude : default is true.  Needs to be configured only if a different value is needed.
disable_Project_Subset: default is true.  Needs to be configured only if a different value is needed.
TIME_ZERO is the time the forcast was created. Can be replaced by actual time in the following format: FMRC_RUN_2019-02-23T12:00:00Z.

 

<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2009 sp1 (http://www.altova.com) by ICT (Stichting Deltares) -->
<timeSeriesImportRun xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/timeSeriesImportRun.xsd">
   <!--Surface currents-->
   <import>
      <general>
         <importType>Hycom_netcdf</importType>
         <serverUrl>http://ncss.hycom.org/thredds/ncss/GLBv0.08/expt_93.0/data/forecasts/runs/FMRC_RUN_%TIME_ZERO(yyyy-MM-dd'T'HH:mm:ss'Z')%</serverUrl>
         <relativeViewPeriod unit="day" start="0" end="8" startOverrulable="true"/>
         <idMapId>IdImport_HYCOM</idMapId>
         <maximumVerticalSnapDistance>0.1</maximumVerticalSnapDistance>
         <missingValue>-999</missingValue>
         <importTimeZone>
            <timeZoneOffset>+00:00</timeZoneOffset>
         </importTimeZone>
         <dataFeedId>HYCOM</dataFeedId>
      </general>
      <properties>
        <bool key="import_all_layers" value="false"/>
		<bool key="add_latitude_longitude" value="true"/>
		<bool key="disable_Project_Subset" value="true"/>
		<int key="horizontal_Stride" value="1"/>
		<int key="time_Stride" value="1"/>
      </properties>
      <timeSeriesSet>
         <moduleInstanceId>Import_HYCOM_Currents</moduleInstanceId>
         <valueType>grid</valueType>
         <parameterId>C.simulated.u</parameterId>
         <locationSetId>HYCOM.ArabianSea_AllLayers</locationSetId>
         <timeSeriesType>external forecasting</timeSeriesType>
         <timeStep unit="hour" multiplier="3"/>
         <readWriteMode>add originals</readWriteMode>
         <synchLevel>6</synchLevel>
         <expiryTime unit="day" multiplier="30"/>
      </timeSeriesSet>
      <timeSeriesSet>
         <moduleInstanceId>Import_HYCOM_Currents</moduleInstanceId>
         <valueType>grid</valueType>
         <parameterId>C.simulated.v</parameterId>
         <locationSetId>HYCOM.ArabianSea_AllLayers</locationSetId>
         <timeSeriesType>external forecasting</timeSeriesType>
         <timeStep unit="hour" multiplier="3"/>
         <readWriteMode>add originals</readWriteMode>
         <synchLevel>6</synchLevel>
         <expiryTime unit="day" multiplier="30"/>
      </timeSeriesSet>
   </import>   
</timeSeriesImportRun>

 

The importer module should be registered in FEWS  Config/RegionConfigFiles/ModuleInstanceDescriptors.xml. Locations of the wanted time series should be registered in Config/RegionConfigFiles/Locations.xml.  Parameters should be registered in  Config/RegionConfigFiles/Parameter.xml. The workflow should be registered in Config\RegionConfigFiles\WorkflowDescriptors.xml. 

A grid needs to be configured in the  Config/RegionConfigFiles/Grids.xml file. Location id of the grid and the time series configured in import should be the same. 

  • No labels