29.01.2015 Views

Table of Contents - The Atmospheric Studies Group at TRC

Table of Contents - The Atmospheric Studies Group at TRC

Table of Contents - The Atmospheric Studies Group at TRC

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Section 2: Geophysical D<strong>at</strong>a Processors<br />

<strong>The</strong> GTOPO30 d<strong>at</strong>a set is divided into files (or tiles), where each file covers 40 degrees <strong>of</strong> longitude and<br />

50 degrees <strong>of</strong> l<strong>at</strong>itude, except for in the Antarctica region where each file covers 60 degrees <strong>of</strong> longitude<br />

and 30 degrees <strong>of</strong> l<strong>at</strong>itude.<br />

Figure 2-2 shows the sp<strong>at</strong>ial coverage <strong>of</strong> the d<strong>at</strong>a files. Each file is either 57,600,000 (non-Antarctica) or<br />

51,840,000 bytes (Antarctica) in size. <strong>The</strong>se DEM d<strong>at</strong>a are provided in 16-bit signed integers in a simple<br />

binary raster, with no imbedded header or trailer bytes and no internal indexing. <strong>The</strong> d<strong>at</strong>a are stored in<br />

Motorola byte order, which stores the most significant byte first, i.e., big endian. <strong>The</strong> Motorola, SUN,<br />

HP, and SGI pl<strong>at</strong>forms use big endian; whereas the Intel (PC) and DEC pl<strong>at</strong>forms use little endian.<br />

<strong>The</strong>refore, the user must be careful regarding the intended pl<strong>at</strong>form for TERREL. <strong>The</strong> code uses a logical<br />

flag, LBIGENDIAN (set in subroutine SETGLOB), to define whether the intended pl<strong>at</strong>form is big endian<br />

or little endian. LBIGENDIAN=.FALSE. is for little endian, and LBIGENDIAN=.TRUE. is for big<br />

endian. <strong>The</strong> flag enables the porting <strong>of</strong> TERREL across different machine pl<strong>at</strong>forms.<br />

3. User control file (TERREL.INP): this input file specifies the filenames and type <strong>of</strong> d<strong>at</strong>abases being<br />

processed and the modeling domain rel<strong>at</strong>ed parameters. <strong>The</strong> form<strong>at</strong> <strong>of</strong> the TERREL control input file<br />

follows the same rules as those used in the CALMET.INP file (refer to the CALMET section for<br />

details). Only d<strong>at</strong>a within the delimiter characters (!) are processed. <strong>The</strong> input d<strong>at</strong>a consist <strong>of</strong> a<br />

leading delimiter followed by the variable name, equals sign, input value or values, and a termin<strong>at</strong>ing<br />

delimiter (e.g., !XX = 12.5!). A sample file is shown in <strong>Table</strong> 2-2 and a description <strong>of</strong> each input<br />

variable is provided in <strong>Table</strong> 2-3. Detailed inform<strong>at</strong>ion on the input variables is included in the<br />

default input file itself.<br />

TERREL.INP may be cre<strong>at</strong>ed/edited directly using a conventional editor, or it may be cre<strong>at</strong>ed/edited<br />

indirectly by means <strong>of</strong> the PC-based, Windows-comp<strong>at</strong>ible Graphical User Interface (GUI) developed<br />

for the geophysical preprocessors (CALPro).<br />

4. Save file: this input d<strong>at</strong>a file contains the binary results from an intermedi<strong>at</strong>e run <strong>of</strong> TERREL. It is<br />

read as input to the current run.<br />

TERREL OUTPUT:<br />

1. List File: echoes the selected options, reports errors and provides a listing <strong>of</strong> the gridded terrain<br />

elev<strong>at</strong>ions and the number <strong>of</strong> raw d<strong>at</strong>a points ('hits') used to compute the terrain elev<strong>at</strong>ion for each<br />

grid cell (e.g., TERREL.LST).<br />

2. Plot File: can be read directlyCALPro’s CALVIEW or by a contouring s<strong>of</strong>tware package such as<br />

SURFER (e.g., TERREL.GRD).<br />

3. Save File: contains the intermedi<strong>at</strong>e binary output (e.g., TERREL.SAV).<br />

2-6

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!