Overview
Excerpt | ||
---|---|---|
| ||
Imports time series data (grids) ArcInfoAscii files. |
Note |
---|
This import is available in DELFT-FEWS versions after 28-1-2007 |
...
The reader is named ArcInfoAsciiGrid which should be configured in the general section of the import: <importType>ArcInfoAsciiGrid</importType>.
Example:
No Format |
---|
<?xml version="1.0" encoding="UTF-8"?>
<!--Sample XML file generated by XMLSPY v2004 rel. 3 U (http://www.xmlspy.com)-->
<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>ArcInfoAsciiGrid</importType>
<folder>Import</folder>
<idMapId>IdImportSidbAsc</idMapId>
<geoDatum>Ordnance Survey Great Britain 1936</geoDatum>
</general>
<timeSeriesSet>
<moduleInstanceId>ImportSidbAsc</moduleInstanceId>
<valueType>grid</valueType>
<parameterId>P.radar.actual</parameterId>
<locationId>ARC_INFO_LOC</locationId>
<timeSeriesType>external historical</timeSeriesType>
<timeStep unit="minute" multiplier="15"/>
<readWriteMode>add originals</readWriteMode>
</timeSeriesSet>
</import>
</timeSeriesImportRun>
|
...
The IdMapping file should always refer to the external location ARC_INFO_LOC.
Example:
No Format |
---|
<?xml version="1.0" encoding="UTF-8"?>
<idMap version="1.1" 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/idMap.xsd">
<parameter external="CEH" internal="P.radar.actual"/>
<location external="ARC_INFO_LOC" internal="My_Location"/>
</idMap>
|
...
ARC ASCIIGRID refers to a specifc interchange format developed for ARC/INFO rasters in ASCII format. The format consists of a header that specifies the geographic domain and resolution, followed by the actual grid cell values. Usually the file extension is .asc.
No Format |
---|
ncols 157
nrows 171
xllcorner -156.08749650000
yllcorner 18.870890200000
cellsize 0.00833300
0 0 1 1 1 2 3 3 5 6 8 9 12 14 18 21 25 30 35 41 47 53
59 66 73 79 86 92 97 102 106 109 112 113 113 113 111 109 106
103 98 94 89 83 78 72 67 61 56 51 46 41 37 32 29 25 22 19
etc...
|
...
nodata_value refers to the value that represents missing data and xxxxx is the numerical value. The default is -9999.
Filename pattern
At the moment the filenamepattern is fixed. A very useful tool for easily renaming filenames is Batch Rename Command