|
MMAB Gulf Stream Finder Execution
Execution
ctl.sh -- is the main control script. It invoked
executables parse.pl, gsfinder,
and form (in that order), as well as managing data collection
and distribution.
- Data Collection
- Retrieve the Navy Gulf Stream Analysis from polar:/export/s2/xbt/gs/gsJJJnw
.sub, where JJJ is the Julian Day
- Retrieve the operational run of ROFS from /com/cofs/prod/cofs.YYYYMMDD/,
the standard grid, averaged files (*.agb.std)
- Copy over the static data files
- Data Distribution
- The nowcast and forecast Gulf Stream output (analyzed.* is the native
output from gsfinder, and reformed.* is the reformatted output for NAWIPS
use) are copied to polar:/home/ftp/pub/gsf/, and to sgi100:~wd21rg/gsf/
- The current day's ROFS output is copied to sgi100:~wd21rg/gsf/
- Graphic Generation -- for polar, web page (not needed for/by OPC at
this point)
- The copying of files to sgi100 is in support of graphic product generation
in support of the web page on polar -- http://polar.ncep.noaa.gov/gsf/
- Once files are copied, the script run.sh is invoked on sgi100
parse.pl -- Reads the navy analysis (if there is one)
and translates it to a format that can be read more easily by the Gulf Stream
finder.
gsfinder -- This is the major program in the process.
- It reads in the analyzed Gulf Stream if there is one, then evolves
the best function for finding the Gulf Stream in ROFS
output and prints out that result. If there is no analysis available,
it will use the previous best algorithm to produce the Gulf Stream file.
- It reads in the previous best algorithm if there is one and continues
evolution from there.
- If there is no previous best algorithm and there is an analysis file,
it will evolve a new population.
- If there is no previous algorithm and there is no analyzed Gulf Stream
file, this will be a probably fatal problem for the program.
form -- Takes the output of gsfinder
and formats it for reading by NAWIPS stations for use by OPC.
Local Data Files
Static files -- (in ~rmg3/gsfinder/)
cfs.bini, cfs.binj, cfs.bin.full are static files describing
the native ROFS grid.
Files saved from day to day -- (in ~rmg3/disk1/gsfout)
genes_out.YYYYMMDD -- the genome set for the 8 digit
date YYYYMMDD
genes_in -- the input set to use the next time there is
an analysis available. It will match the genes_out file for the most
recent analysis day.
-- the files are split so as to avoid needing to do date
arithmetic in ctl.sh to find the most recent day.
-- The split also permits manual editing of the genes_in
file without erasing the record of solutions found.
Source Files
(in ~rmg3/gsfinder/source)
- lapl.C -- Utility file for computing the laplacean and gradient on
spherical grids. This will be folded in to the MMAB library (file metricgrid.h)
at a future date.
- gsfinder.C -- This is the main program for the Gulf Stream Finder.
It handles those parts of the genetic algorithm approach which are
specific to this problem. genes.h handles the
general genetics aspects.
- form.C -- Program to reformat the output of gsfinder.C.
- genes.h -- To be added to the MMAB library at
a future date. This file contains all the general purpose material
for running genetic algorithms.
- params.h -- To be added to the MMAB library at a future date. This
contains parameters for global usage. Currently contains only the radius
of a spherical-equivalent earth.
- makefile -- The makefile to build form and gsfinder
Last Modified 13 March 2003
Robert Grumbine
|