Transforming SRTM data to WAsP maps
SRTM coordinates are non-projected (latitude, longitude). Horizontal reference system (datum) is
WGS84 and vertical reference is the
EGM96
geoid. Transforming SRTM data to WAsP elevation maps therefore require the following:
- Transformation of geo. coordinates to a metric system
- Transformation of grid point elevations to height contours
- Transformation of WGS84 to another datum – if need be
One possible procedure is outlined in detail in Steps 1-6 below. The tools available in
this example are assumed to be:
- Surfer 8
- WAsP Map Editor 9
- WAsP Utility Programs 3
Other procedures and software exist to load, view and transform SRTM data,
including generation of vector height contour maps. Different WAsP users have
mentioned:
as alternatives. A note on the use of SAGA for establishing WAsP vector maps
can be downloaded
here.
Step 1: Download data from the SRTM site
- Download SRTM data from
the SRTM site
(http://dds.cr.usgs.gov/srtm/version2_1/)
- Download tiles to cover the met. station or wind farm area out to approx.
10 km from any site
Note, that the file names refer to the lower left (LL) corner of each 1 by 1
degree tile. The SRTM HGT format is similar to the GTOPO30 format, which is
supported by Surfer.
Step 2: Convert the HGT file to GRD format using Surfer
- Unzip the downloaded ZIP file
- Rename the HGT file to DEM
- Create HDR and STX files (with the same file name)
- Insert upper left corner coordinates (signed) in the HDR file
- Start Surfer and choose Grid | Convert…
- Open the *.HDR file
- Save grid as *.GRD file (with the same file name)
The result is a Surfer GRD file in geographical coordinates (WGS84). Inspect
the grid for voids (undefined values) and spikes and wells using Surfer. Remove
spikes and wells by inserting a sensible elevation value using the Surfer grid
editor.
Step 3: Change the coordinate system to UTM
First, convert the grid file to a list-of-points file in Surfer:
- Choose Grid | Convert…
- Open GRD file and save as ASCII XYZ (*.dat)
- Repeat steps 1-2 for each tile, if need be
Second, transform the geographical coordinates to UTM coordinates. If
two or more tiles are needed to cover the area, merge the DAT files into one
DAT file. Now, you can use the Geo-Projection Transformer utility program to
make this transformation, using File | Transform XYZ-file.
Alternatively, in the WAsP Utility Programs Command Prompt (CP) window:
- Write UTM 1 at the prompt
- Enter the UTM zone number
- Drag and drop the DAT file from Windows Explorer to the CP window
- Write ‘y’ to ‘File of (X, Y, Z) coordinates’
- Drag and drop the DAT file again
- Change the file name extension to *.xyz
The result in both cases should be an ASCII XYZ file in metric map coordinates (WGS84).
Step 4: Make a metric GRD file
- In Surfer, choose Grid | Data…
- Open the XYZ file as ‘Golden Software Data’
- Choose ‘Skip leading spaces’ and ‘Treat consecutive delimiters as one’
- Choose a name for ‘Output Grid File’
- Invoke Filter data... if you want exclude e.g. certain high z-values
in the data
- Set values for ‘Grid Line Geometry’, i.e. grid size and extents of
modelling domain
The result is a Surfer GRD file in metric map coordinates (WGS84) covering
the modelling domain. Surfer has
made a complete grid without voids by interpolation (e.g. Kriging).
Step 5: Make a contour map in DXF format
- Create a new contour map in Surfer, using the GRD file as input
- Choose the appropriate contour levels in the Properties | Levels
window
- Export the height contours to a 3-D AutoCAD DXF file from the Map |
Contour map... menu
- Optionally, repeat steps 1-3, using different different Levels and Limits
The result is one or more maps in DXF format, with different map limits and
contour line intervals. For a met. station site one might choose to make a 20 by
20 km2 map with 50-m contours, a 10 by 10 km2 map with
10-m contours and a 2 by 2 km2 map with 5-m contours – all centered
around the met. station. These maps are then merged in Step 6 below.
Step 6: Make a WAsP contour map
- Open the DXF file in the WAsP Map Editor
- Add and Replace... to merge several maps
- Check the map contours for spikes and wells
- Transform to any other datum, if need be
- Compare to a scanned background map
- Check vertical datums and compare elevations
- Add spot heights and other details close to the site(s)
- Add roughness change lines – including the coastline, if any
- Save the map as WAsP ASCII map file (*.map)
Mission accomplished!
The result is a WAsP ASCII map that can used for WAsP
analysis and/or application. The procedure described above is not the simplest possible, but it
is reasonably fast and furthermore has a number of advantages:
- The raw grid is inspected for voids, spikes and wells
- The final map grid is (hopefully) complete, without voids, spikes and wells
- Contour map(s) are made to specified levels and limits
- The procedure steps can be adapted to the specific site(s)
- The WAsP user gets to know the map data in detail...
Do remember...
The SRTM elevation data have not been tested in all parts of the world for
WAsP modelling. Do remember, that when you carry out a WAsP project, you
are in charge and responsible for evaluating the WAsP inputs and the results –
including the availability and quality of SRTM data.
Back to Shuttle Radar Topography Mission data...