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 6: SMERGE Surface D<strong>at</strong>a Meteorological Preprocessor<br />

SSSS<br />

<strong>of</strong> feet)<br />

= wind speed (XX.XX m/s)<br />

For example, the following variables,<br />

Temper<strong>at</strong>ure = 273.5 deg. K Precipit<strong>at</strong>ion code = 12<br />

Rel<strong>at</strong>ive humidity = 88 percent<br />

St<strong>at</strong>ion pressure = 1012.4 mb<br />

Opaque sky cover = 8 tenths<br />

Wind direction = 160 degrees<br />

Ceiling height = 120 hundreds <strong>of</strong> ft<br />

Wind speed<br />

= 5.65 m/s<br />

are stored as the following three integer words:<br />

273512088, 1012408160, 01200565<br />

All <strong>of</strong> the packing and unpacking oper<strong>at</strong>ions are performed internally by SMERGE and CALMET, and<br />

are transparent to the user. <strong>The</strong> header records <strong>of</strong> the d<strong>at</strong>a file contain inform<strong>at</strong>ion flagging the file to<br />

CALMET as a packed or unpacked file. If the user selects the unpacked form<strong>at</strong>, eight full 4-byte words<br />

are used to store the d<strong>at</strong>a for each st<strong>at</strong>ion.<br />

<strong>The</strong> input files used by SMERGE consist <strong>of</strong> a control file (SMERGE.INP) containing user inputs, up to<br />

150 surface d<strong>at</strong>a files (one per surface st<strong>at</strong>ion), and an optional SMERGE d<strong>at</strong>a file (form<strong>at</strong>ted or<br />

unform<strong>at</strong>ted) cre<strong>at</strong>ed in a previous run <strong>of</strong> SMERGE. <strong>The</strong> d<strong>at</strong>a from the form<strong>at</strong>ted surface st<strong>at</strong>ion files are<br />

combined with the d<strong>at</strong>a in the existing SMERGE d<strong>at</strong>a file. A new SMERGE output file (form<strong>at</strong>ted or<br />

unform<strong>at</strong>ted) containing all the d<strong>at</strong>a is cre<strong>at</strong>ed by the program. In addition, SMERGE cre<strong>at</strong>es an output<br />

list file (SMERGE.LST) which summarizes the user options and run time st<strong>at</strong>istics. <strong>Table</strong> 6-3 contains a<br />

listing <strong>of</strong> the input and output files used by SMERGE.<br />

<strong>The</strong> SMERGE control file specifies the number and type <strong>of</strong> input d<strong>at</strong>a files, time zone <strong>of</strong> output d<strong>at</strong>a,<br />

packing flag, st<strong>at</strong>ion d<strong>at</strong>a (two lines per st<strong>at</strong>ion), and the starting and ending d<strong>at</strong>es <strong>of</strong> the period to extract.<br />

<strong>The</strong> form<strong>at</strong> <strong>of</strong> the SMERGE control input file follows the same rules as those used in the CALMET.INP<br />

file (refer to the CALMET section for details). Only d<strong>at</strong>a within the delimiter characters (!) are processed.<br />

<strong>The</strong> input d<strong>at</strong>a consist <strong>of</strong> a leading delimiter followed by the variable name, equals sign, input value or<br />

values, and a termin<strong>at</strong>ing delimiter (e.g., !XX = 12.5!). SMERGE.INP may be cre<strong>at</strong>ed/edited directly<br />

using a conventional editor, or it may be cre<strong>at</strong>ed/edited indirectly by means <strong>of</strong> the PC-based, Windowscomp<strong>at</strong>ible<br />

Graphical User Interface (GUI) developed for the geophysical preprocessors (CALPRO). A<br />

sample SMERGE control file is shown in <strong>Table</strong> 6-4. <strong>The</strong> form<strong>at</strong> and contents <strong>of</strong> the SMERGE control<br />

file are explained in <strong>Table</strong> 6-5.<br />

<strong>The</strong> SMERGE output list file (SMERGE.LST) contains a summary <strong>of</strong> the control file inputs,<br />

6-2

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

Saved successfully!

Ooh no, something went wrong!