Buoy System Handbook | ||
---|---|---|
<<< Previous | Processing Overview | Next >>> |
The following is a summary of the steps needed for predeployment setup and testing of new deployments, along with the steps to recover and deploy a buoy on the computer end of things. See the following sections for more details.
Buoy Setup:
Make sure that mooring_plan, config_mooring, config_buoy, config_cable and umecb_pre entries have been made for the new buoy.
Use monitor.php 'Test' function to set up entries in gomoos_processing.mooring and gomoos_control.mooring.
Buoy Testing:
Make main buoy (/data/gomoos/buoy/archive/Axxxx) and subdirectories (sensor-raw, realtime, goes-sensor-raw, goes-realtime, daily (for optics).
In Matlab, cd to main buoy direction (/data/gomoos/buoy/archive/Axxxx) and run write_script('Axxxx'). This generates script.sed file needed to edit .cdl files.
Run /data/gomoos/buoy/bin/make_cdlfiles.sh Ayyyy sensor-raw (Ayyyy is a previous deployment with appropriate .nc files). This copies all .cdl template files to sensor-raw. Repeat for realtime, goes-sensor-raw, goes-realtime, and daily (if needed).
From main buoy directory, runsed */*.cld (this runs script.sed on all .cdl files).
Move down to sensor-raw. Run
/data/gomoos/buoy/bin/make_ncfiles.sh Axxxx |
ncgen -o Axxxx.met.sensor-raw.nc met.sensor-raw.cdl |
In Matlab,
options=get_options('Axxxx'); init_deployment (options,'archive/Axxxx') |
Edit /data/gomoos/buoy/matlab/buoy-mfiles/core_processing/mretrieve_goes_buffer.m if necessary.
Add link in /data/gomoos/buoy/incoming
ln -s cellphone/DATA/Axxxx.DAT Axxxx.dat |
Check crontab for goes and cellphone processing of Axxxx.
Buoy Recovery.
Edit crontab file to comment out both goes and cellphone processing.
'Recover' the buoy in monitor.php (update all mySQL tables).
Add realtime files to history files
/data/gomoos/buoy/bin/ncradd_history.sh Axxxx realtime |
dop=nc_getbuffer('Axxxx.doppler.realtime.nc') |
nc_archive_buffer(dop,'/data/gomoos/buoy/archive/A01/A01.doppler.historical.nc'); |
Send email to buoy, portland and optics (if optics buoy).
Buoy Deployment.
Check to make sure that data is good for all buffers.
'Deploy' the buoy in monitor.php
Cut out any pre-deployment data from .nc files so bad data doesn't go to GoMoos:
cd /data/gomoos/buoy/archive/Axxxx; /data/gomoos/buoy/bin/ncrcut_deploy.sh jd1 jd2 Axxxx |
Check .nc files to make sure they are correct (load into matlab with
met=get_ncfile('Axxxx.met.realtime.nc'); met.wind_speed.data |
ncdump Axxxx.met.realtime.nc |more |
Check that the incoming directory files have been zeroed (cb)
/data/gomoos/buoy/incoming/cellphone/DATA/xxxxx.DAT |
/data/gomoos/buoy/incoming/irridium/xxxxx.DAT |
Check rollover map and buoy.php pages to make sure that the new data are displayed.
Check position in diagnostics buffer. In matlab, use adjust_latlon.m to update positions in all files. Adjust_latlon will also update the mySQL gomoos_processing.mooring and gomoos_control.mooring tables for the correct positions.
/data/gomoos/buoy/bin/rsync_buoy.sh Axxxx (makes sure GoMoos gets cleaned up files)
Send email to buoy, portland (and optics if buoy has optics).
<<< Previous | Home | Next >>> |
SAMBA Setup | Up | Pre-Deployment Setup |