Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The MapStack format is a FEWS specific way to export and import a grid timeseries in one or more files using either ESRI ASCII grid, PC-Raster or USGS BIL format files. As the ASCII grid file format can only contain a single grid dataset, for this format multiple files are stored, one per timestep and / or parameter. The MapStack format was implemented primarily for the purpose of transferring gridded dat data to and from external models using the General Adapter, but it is also supported by both the Import and Export module. A map stack is always represented by a main XML file which contains the relevant meta data of the exported set of grid files.

...

No Format
<?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>piMapStack</importType>
			<fileNamePatternFilter>*.xml</fileNamePatternFilter>
			<folder>$IMPORT_FOLDER$</folder>
			<deleteImportedFiles>false</deleteImportedFiles>
			<idMapId>MapStack</idMapId>
            <missingValue>NaN</missingValue>
		</general>
		<timeSeriesSet>
			<moduleInstanceId>GridImportMapStackAscii</moduleInstanceId>
			<valueType>grid</valueType>
			<parameterId>H.sim</parameterId>
			<locationId>locA</locationId>
			<timeSeriesType>simulated forecasting</timeSeriesType>
			<timeStep unit="hour" multiplier="1"/>
            <relativeViewPeriod unit="hour" start="0" end="2"/>
			<readWriteMode>add originals</readWriteMode>
		</timeSeriesSet>
	</import>
</timeSeriesImportRun>
Note
As the file format does not include geographical datum information you may need to configure the geoDatum field in the general section


An example of the structure of the MapStack XML file is given below, this example uses the ESRI ASCII grid format to store the actual data where the filename contains a date/time stamp:

...