GLOSS Training Workshop Course Japan Meteorological Agency May 15-26, 2006 Sea Level Data Processing with SLPR2 1. Introduction
Sea Level Processing Software (SLPR2) Previous Courses Brazil, 1993 India, 1995 Caribbean, 1997 Guatemala, 2001 Chile, 2003 India, 2005 Panama, 2005 *motivation: TOGA Program (1988); GLOSS-endorsed (1991)
Introduction to SLPR2 Three most important points to remember *Make copies of original data files *Keep the manual at hand * questions to Patrick Caldwell,
SLPR2: General Features * Basis of Processing and Quality Control aimed at HOURLY data * Includes M.Foreman Tidal Analysis and Prediction Programs -SLPR2 simplifies use of Foreman software -SLPR2 fixed for data at hourly intervals -provides output option for Hi-Lo tide predictions (tide table) -primary use of predicted tides is for quality control *Uses PLOT88 graphical package *SLPR2 filter computes daily and monthly values
System Requirements * DOS systems - most routines can be initiated from Windows - a few programs require using the MS DOS prompt window * Requires about 4 megabytes of disk space * Output of plot programs to a range of printers or to a PostScript file * Need text editor to perform various tasks Participant Background * Assume some experience with sea level data * Assume some experience with personal computers
Basic Scheme of SLPR2 Set up information about your station Convert your format to SLPR2 format for hourly data Monthly files: Tide staff readings comparisons Calibration Yearly files: Make copy of original data Plot Hourly Data Choose time period for tidal analysis Run tidal analysis -> harmonic constituents Run tidal predictions for each year of data Calculate residuals (hourly data minus predicted tides) Plot residuals Perform corrections as necessary Make backup copies of finalized hourly data Filter hourly data to daily and monthly values Plot daily and monthly data Compare daily and monthly data to nearby stations
Installation of Software * Download from (or require via diskette or CDROM) On C: drive, make directory: mkdir slpr2 Place file slpaq2.exe (self-extracting zip file) on c:\slpr2 From MS DOS Prompt window: cd \slpr2 * Unzip: slpaq2 -d
Directory Tree \SLPR2 | |--\DIN {data information files} | |--\DMT {manual} | |--\DAT {data files} | |--\PRD {predicted tide files} | |--\CAL {calibration data files} | |--\TIDE | |---\ANA {tidal analysis} | |---\PRD {tidal prediction} | |---\HARM {harmonic constituents} | |--\PLOT {plotting software} | |--\QC {quality control} | |--\FILT {filtering software} | |--\UTIL {utility programs} | |--\SAMP {sample data} * | |--\SRC {source code} under most directories
Station Information File Setup Example: ### station name latitude longitude mer S start date country P 001 Ponape 06 59N E Apr 1974 Micronesia Tarawa,Betio 01 22N E May 1974 Kiribati 2 * Assign 3-digit station number * Name, position, time zone, 24-hour time scheme * Plot factor for for hourly data (depends on tide range) Appendix E.1
Filename Conventions Hourly Data Files Grouped by Year: CVSSSYY.DAT C: century (U: , V: , W: ) V: file version (letters A-Z) SSS: station number YY: the last two digits of the year *Hourly data files grouped by month: VSSSYYMM.DAT V: fixed, always V MM: numeric month (this is only used in the calibration stage) Hourly Predicted Tides Files Grouped by Year: CVSSSYY.DAT C: century (O: , P: , Q: ) Manual Section 1.5, Appendix D eg, VA03299.DAT eg, PA03299.DAT Daily and Monthly Data; All Years in One File: TVSSS.DAT T: type, D (daily) or M (monthly) eg, DA032.DAT MA032.DAT
Hourly Data File Format Example: 003BALTRA LAT= S LONG= W TMZONE=GMT REF= APR 85 M BALTRA BALTRA Appendix D.1 Notes: 1) one year of data per file 2) one header per month 3) one footer per month (line of s) 4) two lines (records) per day 5) missing data indicator: ) utility \slpr2\util\FILLVM.EXE can be used to make blocks of missing data flags (by month)
Convert to SLPR2 Format for Hourly Data Manual Section 2.1, Appendix E.3 Step 1. Convert from original format to a simple format per line as: year month day hour data *if original data not hourly, suggest Hanning filter of weights Step 2. Edit \slpr2\din\DTDCNV.DIN and enter position information for the parameters Step 3. Run utility, \slpr2\util\DTDCNV.EXE Step 4. Inspect the output using a text editor, compare to input.
Plot Program for Hourly Data Manual Section Recall Station Information File, \slpr2\din\STAINFO.DIN 2.Data file must be in directory \slpr2\dat 3.Run \slpr2\plot\HOURYR.EXE (from Windows or MS DOS prompt) interactive input (filename, scale, output) 4. May have to adjust \slpr2\PLOTSIZ.DIN or the plot factor in \slpr2\STAINFO.DIN 5. This program can be used for observed hourly data, residuals, and predicted tides
First Assignment for Hands-On Training Session (HOTS) 1.Load SLPR2 onto computer 2.Copy c:\slpr2\samp\va0038?.dat to c:\slpr2\dat (if you have your own data, convert format to SLPR2 and place in \slpr2\dat) 3. Inspect station information in c:\slpr2\din\stainfo.din (if you have your own data, assign a number in \slpr2\din\stainfo.din) 4. Plot data (c:\slpr2\plot\houryr)