ROMS
Loading...
Searching...
No Matches
npzd_Powell_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 powell et al. (2006) 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 (Powell et al., 2006) 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, 'AttSW', &
24 & attsw(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, 'AttPhy', &
29 & attphy(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, 'PhyIS', &
34 & phyis(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, 'PhyMRD', &
44 & phymrd(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, 'PhyMRN', &
49 & phymrn(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, 'K_NO3', &
54 & k_no3(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, 'Ivlev', &
59 & ivlev(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, 'ZooGR', &
64 & zoogr(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, 'ZooEED', &
69 & zooeed(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, 'ZooEEN', &
74 & zooeen(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, 'ZooMRD', &
79 & zoomrd(ng), (/0/), (/0/), &
80 & piofile = piofile)
81 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
82
83 CALL pio_netcdf_put_fvar (ng, model, ncname, 'ZooMRN', &
84 & zoomrn(ng), (/0/), (/0/), &
85 & piofile = piofile)
86 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
87
88 CALL pio_netcdf_put_fvar (ng, model, ncname, 'DetRR', &
89 & detrr(ng), (/0/), (/0/), &
90 & piofile = piofile)
91 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
92
93 CALL pio_netcdf_put_fvar (ng, model, ncname, 'wPhy', &
94 & wphy(ng), (/0/), (/0/), &
95 & piofile = piofile)
96 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
97
98 CALL pio_netcdf_put_fvar (ng, model, ncname, 'wDet', &
99 & wdet(ng), (/0/), (/0/), &
100 & piofile = piofile)
101 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
subroutine output(ng)
Definition output.F:4