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

29.01.2015 Views

Section 6: SMERGE Surface Data Meteorological Preprocessor Table 6-7: Sample SURF.DAT Output Data File (SURF.DAT) SURF.DAT 2.1 Hour Start and End Times with Seconds 1 Produced by SMERGE Version: 5.601 Level: 051005 NONE UTC-0700 1993 7 0 0 1993 7 5 3600 4 14606 14611 14745 14742 1993 7 0 0 1993 7 0 3600 3.087 220.000 999 0 263.706 98 956.997 0 3.087 140.000 999 0 263.706 98 956.997 0 3.087 180.000 999 0 263.706 98 956.997 0 3.087 90.000 999 0 263.706 98 956.997 0 1993 7 1 0 1993 7 1 3600 3.601 220.000 999 0 263.706 98 956.319 0 3.601 140.000 999 0 263.706 98 956.319 0 3.601 180.000 999 0 263.706 98 956.319 0 3.601 90.000 999 0 263.706 98 956.319 0 1993 7 2 0 1993 7 2 3600 3.087 220.000 999 0 263.150 99 955.642 0 3.087 140.000 999 0 263.150 99 955.642 0 3.087 180.000 999 0 263.150 99 955.642 0 3.087 90.000 999 0 263.150 99 955.642 0 1993 7 3 0 1993 7 3 3600 4.116 220.000 999 0 263.150 98 955.303 0 4.116 140.000 999 0 263.150 98 955.303 0 4.116 180.000 999 0 263.150 98 955.303 0 4.116 90.000 999 0 263.150 98 955.303 0 1993 7 4 0 1993 7 4 3600 3.087 220.000 999 0 262.594 98 955.303 0 3.087 140.000 999 0 262.594 98 955.303 0 3.087 180.000 999 0 262.594 98 955.303 0 3.087 90.000 999 0 262.594 98 955.303 0 1993 7 5 0 1993 7 5 3600 1.543 220.000 999 0 262.594 98 956.319 0 1.543 140.000 999 0 262.594 98 956.319 0 1.543 180.000 999 0 262.594 98 956.319 0 1.543 90.000 999 0 262.594 98 956.319 0 6-17

Section 6: SMERGE Surface Data Meteorological Preprocessor 6.1.1 Generic Multi Time Interval Surface Data File For sub-hourly or any time interval surface observation data that do not conform to any of the data sets above, a user can develop a generic comma delimited data file and process it through a stand alone program, SURFCSV to create a SURF.DAT file with one single station. The purpose of SURFCSV is to read a comma delimited format meteorological data file, extract the surface data at fixed intervals and output as SURF.DAT v2.1 with beginning and ending times that span the interval requested. This program is different to the Generic option (Section 6.1.1) offered in SMERGE which only processes hourly surface observation data which must be in the exact comma-delimited format as shown in Table 6- 1. SURFCSV on the other hand is not part of SMERGE and must be executed separate of the GUI. Unlike the Generic format, SURFCSV does not require the user to have the data in specific columns but allows much more flexibility through the use of a user control input file where the user specifically states what data is available, what column the said data is in and accounts for any time period interval to the nearest minute. SURFCSV will then process the comma delimited file and create a surface data file which can be read directly into CALMET. No QA steps are employed so the user must take responsibility for the adequacy of the data. Furthermore, the single observation nearest the end of the output interval selected may be used if the exact time at the end of an interval is not in the file (missing data). No averaging is done. The data record can be of any user defined time increment, i.e., from one minute to multi-hours. The user is required to give an output starting time and output ending time specifying the data record to the nearest minute interval. The data interval to the nearest minute is also specified. The user has the choice to use two different date/time stamp formats, either YYYY-MM-DD hh:mm or, MM/DD/YYYY hh:mm. It is up to the user to make sure the time and date stamp conform to either of these formats. This can be done using Excel. The SURFCSV control file requests specific information as to which column the wind speed, wind direction, temperature, relative humidity, pressure, cloud cover and cloud ceiling height can be found. A choice of units is available for each variable which saves the user time in having to first convert the data into the correct format, prior to processing. The comma delimited format required for SURFCSV is specifically designed to allow users to make use of spreadsheets where the raw data can most easily be observed and sorted. Unlike the hourly Generic format where missing data in the file must be replaced with the missing value indicator of 9999.00 for real numbers and 9999 for integers, missing values are automatically replaced in SURFCSV. Table 6.8 provides a sample control input file required for SURFCSV, while Table 6.9 provides detailed information of the control input file. A sample CSV.DAT file is shown in Table 6.10. Note that the first line of the sample control input file (Table 6.8) must remain unchanged as it provides the default file name and version number. The second line refers to the number of lines of comment records which follows immediately afterward. The rest of the parameters are detailed in Table 6.9. Note that both the input control file must be called SURFCSV.INP and the comma delimited data file (6.10), CSV.DAT, so this processor is best run using a "batch" file that renames files specific to an application. Data records 6-18

Section 6: SMERGE Surface D<strong>at</strong>a Meteorological Preprocessor<br />

<strong>Table</strong> 6-7:<br />

Sample SURF.DAT Output D<strong>at</strong>a File (SURF.DAT)<br />

SURF.DAT 2.1 Hour Start and End Times with Seconds<br />

1<br />

Produced by SMERGE Version: 5.601 Level: 051005<br />

NONE<br />

UTC-0700<br />

1993 7 0 0 1993 7 5 3600 4<br />

14606<br />

14611<br />

14745<br />

14742<br />

1993 7 0 0 1993 7 0 3600<br />

3.087 220.000 999 0 263.706 98 956.997 0<br />

3.087 140.000 999 0 263.706 98 956.997 0<br />

3.087 180.000 999 0 263.706 98 956.997 0<br />

3.087 90.000 999 0 263.706 98 956.997 0<br />

1993 7 1 0 1993 7 1 3600<br />

3.601 220.000 999 0 263.706 98 956.319 0<br />

3.601 140.000 999 0 263.706 98 956.319 0<br />

3.601 180.000 999 0 263.706 98 956.319 0<br />

3.601 90.000 999 0 263.706 98 956.319 0<br />

1993 7 2 0 1993 7 2 3600<br />

3.087 220.000 999 0 263.150 99 955.642 0<br />

3.087 140.000 999 0 263.150 99 955.642 0<br />

3.087 180.000 999 0 263.150 99 955.642 0<br />

3.087 90.000 999 0 263.150 99 955.642 0<br />

1993 7 3 0 1993 7 3 3600<br />

4.116 220.000 999 0 263.150 98 955.303 0<br />

4.116 140.000 999 0 263.150 98 955.303 0<br />

4.116 180.000 999 0 263.150 98 955.303 0<br />

4.116 90.000 999 0 263.150 98 955.303 0<br />

1993 7 4 0 1993 7 4 3600<br />

3.087 220.000 999 0 262.594 98 955.303 0<br />

3.087 140.000 999 0 262.594 98 955.303 0<br />

3.087 180.000 999 0 262.594 98 955.303 0<br />

3.087 90.000 999 0 262.594 98 955.303 0<br />

1993 7 5 0 1993 7 5 3600<br />

1.543 220.000 999 0 262.594 98 956.319 0<br />

1.543 140.000 999 0 262.594 98 956.319 0<br />

1.543 180.000 999 0 262.594 98 956.319 0<br />

1.543 90.000 999 0 262.594 98 956.319 0<br />

6-17

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

Saved successfully!

Ooh no, something went wrong!