Download Sparse Hydrodynamic Ocean Code V5199 User Manual

Transcript
SHOC User Manual
If a tracer list of the tracers required for the ecology processes is not explicitly specified, then
these tracers will be automatically generated based on the defined processes. The attributes
for these tracers are defined using:
ECO_VARS_ATTS
<attributes>
# name of tracer attribute set
The name <attributes> may be one of the following:
standard
estuary
If standard is specified, then the attributes for all possible ecology tracers are hardwired into
the routine eco_defaults_standard() in /hd/ecology/ecology.c and can be
expanded as desired by creating additional attribute routines and adding them to the calling
function eco_set_tracer_defaults() in the same module. Note that a list of all possible
ecology tracer names and long names (water column/sediment and benthic) must be
maintained in the structures ECONAME3D and ECONAME2D in ecology.c in order for tracer
automation to operate correctly.
If any of the tracer classes are explicitly defined in the tracer list, then any attributes
associated with that tracer takes precedence over the defaults defined by ECO_VARS_ATTS.
Furthermore, any tracer attribute can be defined in the parameter file using:
TRACER<m>.attname
or
<name>.attname
Where <m> is the tracer number in the list, attname is the tracer attribute name and <name>
is the name of the tracer, e.g.
PhyL_N.svel -4e-6 # Redefine the settling velocity for large
# phytoplankton nitrogen.
The ecology specification is written in full in the diagnostic file setup.txt (see Section 4.31). If a
transport parameter file is generated from a full parameter file using TRANS_DATA (see
Section 9) then the ecology specification is also written to this file. Outputting these ecology
specifications may be invoked without running the full sediment transport by using;
DO_ECOLOGY
WRITE
Ecology requites a LIGHT variables, which historically was a daily mean but with newer
versions of the ecology processes can be a copy of short wave radiation (i.e. diurnally
variable). This can be input via file:
LIGHT
LIGHT_INPUT_DT
ALBEDO_LIGHT
light.nc
1 hour
0.0
LIGHT can point to a tracer which reads LIGHT via the reset function, e.g.
LIGHT
LIGHT_INPUT_DT
ALBEDO_LIGHT
inlight
1 hour
0.0
with
TRACER?.name
TRACER?.name
20/08/2015
inlight
Light input from swr
Page 177 of 185
Version: 1.00