This is a logging, in geological time sequence, of programs and scripts prepared by members of the quark group as part of its research activities. Each time that a program is significantly altered, it is logged again.
plt1arr.pro (IDL). Reads "a" file of RAFOS peaks found by rafscan and plots arrival times.
rafscan (PERL), scn1raf.pro (IDL). System for scanning output from quadrature-detection files ("d" files). Will run interactively. Creates ASCII output file of RAFOS peaks found ("a" files).
get2hrs.pro (IDL), rafdet.pro (IDL). Updates before Ocean Sciences meeting. Quadrature cross-correlation detection is implemented better.
rafman (PERL), Jan. 29, 2002. Update before Ocean Sciences meeting.
rafman (PERL), Jan. 7, 2002. This is a script to perform various operations on data from the Pioneer Seamount VLA. It is not finished; at present it can perform the following functions on selected series of input files:
get2hrs.pro (IDL), Jan. 7, 2002.
rafdet.pro (IDL), Jan. 7, 2002.
plt2hd.pro (IDL), Jan. 7, 2002.
rafdet.pro (IDL), Jan. 3, 2002. This routine reads a 2-hour file of Pioneer Seamount data and carries out quadrature cross-correlation detection for a RAFOS signal.
burn1 (PERL), Jan. 1, 2002. This script, for abdus.sfsu.edu running Linux, burns a day of Pioneer Seamount raw data to CD-ROM.
get2hrs.pro (IDL), Dec. 29, 2001. This IDL routine reads a 2-hour file of data from the NOAA-PMEL archives of Pioneer Seamount data. It combines 4 hydrophones to form a beam and writes a file of 1000-Hz data. It also mixes the data at 260 Hz and downsamples, and writes a file filtered for detection of RAFOS sources.
show2.c (QUICK C). This DOS program (runs under Windows) reads a waveform file from the UVM data, as, for instance, the one written at the end of each run, for the last sampling of the run. It calculates rms's and the cross-correlation function. The waveforms can be moved around on the screen, scaled, shifted, and so on. Lives at /d4/Darmat/project/naut/pinktool/show2. RWB, June 29, 2001
sortvtm.pro (IDL). Update. RWB, June 28, 2001
vtmall (PERL). This PERL script is a sort of "sorcerer's apprentice" program which carries out a sequence of tasks and calculations involved in processing the data from the Coast Guard VTM system. It unzips log files into daily (EST) log files; sorts data from these files into PST daily files, keeping only message lines from the ferry Marin; scans these files for ferry runs from Larkspur to SF or vice versa; calculates crossing times in front of the Tiburon lab and other quantities; deletes original data files (assumed to be backed up elsewhere). PERL spawns calls to IDL to run sortvtm.pro, scanvtm.pro, and calcvtm.pro. RWB, June 28, 2001
There is a sequence of programs to process Coast Guard data from the VTM system: sortvtm.pro, scanvtm.pro, calcvtm.pro, and showak.pro.
sortvtm.pro (IDL). This program reads daily log files of VTM data from the US Coast Guard. Data sent from the ferry Marin of the Golden Gate Transit System are selected and separated into files by date. Reads files like 20001101.log and writes files like mar01101.log. RWB, June 22, 2001
scanvtm.pro (IDL). Scans files from sortvtm.pro for ferry runs, and writes data arrays for these runs, in WDSK format. Reads files of form mar01101.log and writes files of form mar01101.dat. RWB, June 22, 2001
calcvtm.pro (IDL). Carries out further calculations, including the time and location of the point where a ferry run passes the lab at Tiburon. Adds data to files of form mar01101.dat. RWB, June 22, 2001
calcall.pro (IDL). The main off-line analysis program for data from the Tiburon UVM. Files of the type display or print out current-velocity data from the Tiburon UVM. Uses calc6a.pro (IDL) and datao3ca.pro (IDL), as well as the IDL user library routines RDSK and WDSK. RWB, June 22, 2001
split.pro (IDL). A suborutine to decode a single line from a log of lines of comma-delimited data into an array of strings. RWB, June 22, 2001
showcv.pro (IDL). A program to display or print out current-velocity data from the Tiburon UVM. Uses read1.pro (IDL) and read6a.pro (IDL). RWB, June 22, 2001
showak1.pro (IDL). A program to display wakes from ferry boats logged on the VTM system. A block of current-velocity data from the Tiburon station is scanned, file by file. Data from the Coast Guard VTM system is simulaneously scanned to find the time of passage of ferries in front of the Tiburon module. For each such passage, the current velocity is plotted. The time of the ferry passage is indicated, and the tidal stage and tidal current velocity from the Richmond SFPORTS station are also shown. Uses read1.pro (IDL) and read6a.pro (IDL). RWB, June 11, 2001
fixrmw (PERL). A script to reformat ascii water-level data from the Richmond SFPORTS station. Arrays of stage height and corresponding time (in DOS/Unix system time, PST) are formed and written out, in comma-delimited form (asdymmoo.rmw) and in IDL WDSL format (arrymm00.rmw). Uses rmw2wdsk.pro. RWB, June 11, 2001
fixrmc (PERL). A script to reformat ascii current velocity data from the Richmond SFPORTS station. Arrays of current velocity (projected onto the direction 340o) and corresponding time (in DOS/Unix system time, PST) are formed and written out, in comma-delimited form (asdymmoo.rmc) and in IDL WDSL format (arrymm00.rmc). Uses rmc2wdsk.pro (IDL). RWB, June 11, 2001