ROMS
Loading...
Searching...
No Matches
npzd_Franks_wrt_pio.h
Go to the documentation of this file.
1/*
2** git $id$
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************************************************************************
8** **
9** writes franks et al. (1986) ecosystem model input parameters into **
10** output netcdf files. it is included in routine "wrt_info.F". **
11** **
12************************************************************************
13*/
14
15!
16! Write out NPZD (Franks et al., 1986) biological model parameters.
17!
18 CALL pio_netcdf_put_ivar (ng, model, ncname, 'BioIter', &
19 & bioiter(ng), (/0/), (/0/), &
20 & piofile = piofile)
21 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
22
23 CALL pio_netcdf_put_fvar (ng, model, ncname, 'K_ext', &
24 & k_ext(ng), (/0/), (/0/), &
25 & piofile = piofile)
26 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
27
28 CALL pio_netcdf_put_fvar (ng, model, ncname, 'K_NO3', &
29 & k_no3(ng), (/0/), (/0/), &
30 & piofile = piofile)
31 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
32
33 CALL pio_netcdf_put_fvar (ng, model, ncname, 'K_Phy', &
34 & k_phy(ng), (/0/), (/0/), &
35 & piofile = piofile)
36 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
37
38 CALL pio_netcdf_put_fvar (ng, model, ncname, 'Vm_NO3', &
39 & vm_no3(ng), (/0/), (/0/), &
40 & piofile = piofile)
41 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
42
43 CALL pio_netcdf_put_fvar (ng, model, ncname, 'PhyMR', &
44 & phymr(ng), (/0/), (/0/), &
45 & piofile = piofile)
46 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
47
48 CALL pio_netcdf_put_fvar (ng, model, ncname, 'ZooGR', &
49 & zoogr(ng), (/0/), (/0/), &
50 & piofile = piofile)
51 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
52
53 CALL pio_netcdf_put_fvar (ng, model, ncname, 'ZooMR', &
54 & zoomr(ng), (/0/), (/0/), &
55 & piofile = piofile)
56 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
57
58 CALL pio_netcdf_put_fvar (ng, model, ncname, 'ZooMD', &
59 & zoomd(ng), (/0/), (/0/), &
60 & piofile = piofile)
61 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
62
63 CALL pio_netcdf_put_fvar (ng, model, ncname, 'ZooGA', &
64 & zooga(ng), (/0/), (/0/), &
65 & piofile = piofile)
66 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
67
68 CALL pio_netcdf_put_fvar (ng, model, ncname, 'ZooEC', &
69 & zooec(ng), (/0/), (/0/), &
70 & piofile = piofile)
71 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
72
73 CALL pio_netcdf_put_fvar (ng, model, ncname, 'DetRR', &
74 & detrr(ng), (/0/), (/0/), &
75 & piofile = piofile)
76 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
77
78 CALL pio_netcdf_put_fvar (ng, model, ncname, 'wDet', &
79 & wdet(ng), (/0/), (/0/), &
80 & piofile = piofile)
81 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
subroutine output(ng)
Definition output.F:4