Tool for producing NCEI-compliant MGD77T files from shipboard data. Michael T. Hamilton
To build and install, cd into src and type "make all". All scripts and executables will be placed in the directory bin at the same level as src.
To configure, set "shipcode" in bin/s2m_params.sh to your ship2mgd77 bin path (e.g., /usr/local/ship2mgd77/bin). Set "underwaypath" to the directory containing raw underway data (e.g., /data/km1609_day342). Set "outputdatapath" to where you want archive files written (e.g., /data/archive_data).
The latest solar flux (F10.7) and geomagnetic storm (Dst) index files (used by mgd77magref to compute diurnal corrections) can be found in the share directory. You should either replace the ones in the GMT share/mgd77 directory with these or edit ship2mgd77.sh to pass the full paths to the new ones via mgd77magref options
-Dpath-to-Dst_all.wdc -Epath-to-F107_mon.plt
For additional information and to download test data, please visit http://www.soest.hawaii.edu/mgd77 and select Documentation.
To produce an archive file from the raw test data, enter the following command
ship2mgd77.sh km1609
Control over archive header content, data filtering, and digitization is accomplished by further editing of s2m_params.sh.