3*************************************************** hernan g. arango ***
4** copyright(c) 2002-2025 the roms group **
5** licensed under a mit/x style license **
6** see license_roms.md **
7************************************************************************
9** writes red tide(stock et al., 2005; he et al., 2008) biological **
10** model input parameters into
output netcdf files. it is included **
11** in routine
"wrt_info.F". **
13************************************************************************
20 CALL pio_netcdf_put_ivar (ng, model, ncname,
'BioIter', &
21 & bioiter(ng), (/0/), (/0/), &
23 IF (founderror(exit_flag, noerror, __line__, myfile))
RETURN
25 CALL pio_netcdf_put_fvar (ng, model, ncname,
'Gmax', &
26 & gmax(ng), (/0/), (/0/), &
28 IF (founderror(exit_flag, noerror, __line__, myfile))
RETURN
30 CALL pio_netcdf_put_fvar (ng, model, ncname,
'Dg', &
31 & dg(ng), (/0/), (/0/), &
33 IF (founderror(exit_flag, noerror, __line__, myfile))
RETURN
35 CALL pio_netcdf_put_fvar (ng, model, ncname,
'Kn', &
36 & kn(ng), (/0/), (/0/), &
38 IF (founderror(exit_flag, noerror, __line__, myfile))
RETURN
40 CALL pio_netcdf_put_fvar (ng, model, ncname,
'G_eff', &
41 & g_eff(ng), (/0/), (/0/), &
43 IF (founderror(exit_flag, noerror, __line__, myfile))
RETURN
45 CALL pio_netcdf_put_fvar (ng, model, ncname,
'G_r', &
46 & g_r(ng), (/0/), (/0/), &
48 IF (founderror(exit_flag, noerror, __line__, myfile))
RETURN
50 CALL pio_netcdf_put_fvar (ng, model, ncname,
'AttW', &
51 & attw(ng), (/0/), (/0/), &
53 IF (founderror(exit_flag, noerror, __line__, myfile))
RETURN
55 CALL pio_netcdf_put_fvar (ng, model, ncname,
'AttS', &
56 & atts(ng), (/0/), (/0/), &
58 IF (founderror(exit_flag, noerror, __line__, myfile))
RETURN
60 CALL pio_netcdf_put_fvar (ng, model, ncname,
'E_light', &
61 & e_light(ng), (/0/), (/0/), &
63 IF (founderror(exit_flag, noerror, __line__, myfile))
RETURN
65 CALL pio_netcdf_put_fvar (ng, model, ncname,
'E_dark', &
66 & e_dark(ng), (/0/), (/0/), &
68 IF (founderror(exit_flag, noerror, __line__, myfile))
RETURN
70 CALL pio_netcdf_put_fvar (ng, model, ncname,
'Tmin_growth', &
71 & tmin_growth(ng), (/0/), (/0/), &
73 IF (founderror(exit_flag, noerror, __line__, myfile))
RETURN
75 CALL pio_netcdf_put_fvar (ng, model, ncname,
'DIN_Cdepth', &
76 & din_cdepth(ng), (/0/), (/0/), &
78 IF (founderror(exit_flag, noerror, __line__, myfile))
RETURN
80 CALL pio_netcdf_put_fvar (ng, model, ncname,
'wDino', &
81 & wdino(ng), (/0/), (/0/), &
83 IF (founderror(exit_flag, noerror, __line__, myfile))
RETURN
85 CALL pio_netcdf_put_fvar (ng, model, ncname,
'Mor_a', &
86 & mor_a(ng), (/0/), (/0/), &
88 IF (founderror(exit_flag, noerror, __line__, myfile))
RETURN
90 CALL pio_netcdf_put_fvar (ng, model, ncname,
'Mor_b', &
91 & mor_b(ng), (/0/), (/0/), &
93 IF (founderror(exit_flag, noerror, __line__, myfile))
RETURN
95 CALL pio_netcdf_put_fvar (ng, model, ncname,
'Mor_Q10', &
96 & mor_q10(ng), (/0/), (/0/), &
98 IF (founderror(exit_flag, noerror, __line__, myfile))
RETURN
100 CALL pio_netcdf_put_fvar (ng, model, ncname,
'Mor_T0', &
101 & mor_t0(ng), (/0/), (/0/), &
103 IF (founderror(exit_flag, noerror, __line__, myfile))
RETURN