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

Compare with Current View Page History

Version 1 Current »


Available since 2020.01.

This parser can import grid data from txt files in the following format:

-83.00 -50.20   0.0
-83.00 -49.80   0.0
-83.00 -49.40   0.0
-83.00 -49.00   0.0
-83.00 -48.60   2.0
-83.00 -48.20   0.0
-83.00 -47.80   0.0
-83.00 -47.40   0.0

First two columns are the grid coordinates, third colomn is the value.

The name of the files which are to be imported should all follow this format:

ETAnn_pddMMyyaddmmyy.dat

Where:
nn - is a two digit number
dd - is a day of the month
MM - is the month
yy is the year.
The part between _p and "a" is the forecast time, after the "a" is the time of the timestap. Example:

ETA40_p010119a020119.dat - a forecast made on January 01, 2019, predicting values for January 02, 2019.

Example configuration:

<?xml version="1.0" encoding="UTF-8"?>
<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">
	<import>
		<general>
			<importType>ONS-CPTEC_ETA</importType>
			<folder>D:/fews/Import/ETA</folder>
			<deleteImportedFiles>false</deleteImportedFiles>
			<unitConversionsId>ImportUnitConversions</unitConversionsId>
			<importTimeZone>
				<timeZoneName>GMT+0</timeZoneName>
			</importTimeZone>
			<dataFeedId>ETA</dataFeedId>
		</general>
		<timeSeriesSet>
			<moduleInstanceId>Import_ETA</moduleInstanceId>
			<valueType>grid</valueType>
			<parameterId>P.forecast</parameterId>
			<locationId>ETA</locationId>
			<timeSeriesType>external forecasting</timeSeriesType>
			<timeStep id="day00"/>
			<readWriteMode>add originals</readWriteMode>
		</timeSeriesSet>
		<externUnit parameterId="P.forecast" unit="mm"/>
	</import>
</timeSeriesImportRun>


  • No labels