These scripts are found on
$PAM/projects/HVAMS03/scripts.
If data is not being plotted, check the log files for errors.
process_check hvams03_web
process_check is run from Gordon's crontab on syrah, at xx:28 and xx:58
every hour. It simply checks that the script hvams03_web is
running, and if not, starts it.
hvams03_web
Loops forever, theoretically..
At 5 minutes after the hour it runs the following:
html_logbook
hvams03_webplots
logfile: $PAM/projects/$PROJECT/logs/hvams03_web.log
To change the loop period of this script, edit it and update the
runperiod, and runoffset variables. You will then have to kill
it from the maclean account on mead:
kill -TERM pid
The next time process_check runs it will be restarted.
html_logbook
copies the logbook to the HVAMS03 web pages
hvams03_webplots
This script is run from hvams03_web. If the
local time is between 06:00 and 23:00 it runs:
webplots today
qctables today
to make the current day's web plots.
If the local time is after 06:00 and before 13:00 it updates
yesterday's web plots:
webplots yesterday
qctables today
If the local time is after 13:00 it makes the
final version of yesterday's web plots:
webplots yesterday
qctables yesterday
webplots
Runs Splus to make a slew of plots, which are placed on the HVAMS
web pages in .png form.
Logfile: $PAM/projects/HVAMS03/slogs/webplots_YYYYMMDD
qctables
Makes the html tables, giving mean,stdev,etc for each variable.
These scripts are found on either $PAM/scripts, or
$PAM/projects/HVAMS03/scripts.
If data is not arriving, check the log files for errors.
process_check hvams03_daps
process_check is run from Gordon's crontab on mead, at xx:25 and xx:55
every hour. It simply checks that the script hvams03_daps is
running, and if not, starts it.
hvams03_daps
Loops forever, in theory.
At XX:00:04 and XX:30:04 after the hour it runs
$PAM/scripts/dodaps, which fetches
data from DAPS, and writes Netcdf files on $PAM/projects/HVAMS03/netcdf.
logfile: $PAM/projects/$PROJECT/logs/hvams03_daps.log
To change the loop period of this script, edit it and update the
runperiod, and runoffset variables. You will then have to kill it
from the maclean account on mead:
kill -TERM pid
The next time process_check runs it will be restarted.
dodaps -N mead
This script is run from hvams03_daps. It runs $PAM/scripts/getdaps
to fetch data for the PAM platforms, writes the data packets to
$PAM/projects/HVAMS03/packets/nesdis, and converts the data to netcdf
form.
logfile: $PAM/projects/HVAMS03/dapslogs/isfflog/YYMMDD.log
getdaps
Run from $PAM/scripts/dodaps
telnets to the DAPS server, and uses expect program to interact
with server and download data packets.
logfile: $PAM/projects/HVAMS03/dapslogs/YYMMDD.log
daps telnet session logs:
successfull daps telnet sessions:
$PAM/projects/HVAMS03/dapslogs/good/dapsYYMMDDHHMMSS.ses.gz
gzipped session files. To view one do: zcat dapsYYMMDD...
failed daps telnet sessions:
$PAM/projects/HVAMS03/dapslogs/bad/dapsYYMMDDHHMMSS.ses.gz