Page tree
Skip to end of metadata
Go to start of metadata


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.

As the files contain no time data the configuration should contain fileNameObservationDateTimePattern. More over the pattern here:

Import Module configuration options#fileNameObservationDateTimePattern

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>
			<fileNameObservationDateTimePattern>'ETA40_p??????a'ddMMyy'.dat'</fileNameObservationDateTimePattern>
			<fileNameForecastCreationDateTimePattern>'ETA40_p'ddMMyy'a??????.dat'</fileNameForecastCreationDateTimePattern>
			<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