US JGOFS Regional Ecosystem Testbed Project: Software and Documentation
US JGOFS Regional Ecosystem Testbed Project
Software and Documentation
Detailed Instructions to get and run the regional models:
-
Download software and forcing in two tar
files. These files are uncompressed, compressed (.Z) or gzipped (.gz).
Also get the instruction and readme files. The subdirectories
TestBedmodels and TestBedforcing have the
individual model code and input files for your inspection.
-
Read testbed README document.
-
Edit driver.f to replace the home and data directories with the correct
paths, and make necessary adjustments to homedir and datdir character
lengths in common_blocks.h.
-
Experiment with compiling (
make driver) and running the Fortran
77 code for the 4-component ecosystem model examples: (./driver <
input_4ep) for the EqPac run, or (./driver < input_4as) for the ArabSea
run.
-
To run the 8-component ecosystem example, you need to
-
cp readinit_8.f readinit.f
-
cp derivs_8.f derivs.f
-
make driver
-
./driver < input_4as
-
Formulate the
derivs.f subroutine for your specific ecosystem model(s),
following the examples given in derivs_4.f and
derivs_8.f. Note that the
derivs_4.f subroutine has parameter values (growth rates, etc) that are
typically characteristic of the Arabian Sea, where as the derivs_8.f
subroutine has parameter values that may be more typical of the Equatorial
Pacific.
-
Edit readinit.f based on suggestions in
readinitExample.f.
-
Compile and run your modified code.
-
Add column headings (state variable names and units) to output files.
-
Send me all output files (7 for EqPac and 7 for ArabSea) and cost
function values.
-
Suggest an alternate definition of a cost function, if desired.
-
Please let me know if you had to modify any subroutines other than
derivs.f and readinit.f
Go to the top of this page.
Written by J. Klinck, April, 2003. Last updated by M. Friedrichs, September, 2004.
Send questions or comments by e-mail to
marjy@ccpo.odu.edu