ROMS
Loading...
Searching...
No Matches
sediment_wrt.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 sediment model input parameters into output netcdf files. **
10** it is included in routine "wrt_info.F". **
11** **
12************************************************************************
13*/
14
15!
16! Write out Nemuro ecosystem model parameters.
17!
18 CALL netcdf_put_fvar (ng, model, ncname, 'minlayer_thick', &
19 & minlayer_thick(ng), (/0/), (/0/), &
20 & ncid = ncid)
21 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
22
23 CALL netcdf_put_fvar (ng, model, ncname, 'newlayer_thick', &
24 & newlayer_thick(ng), (/0/), (/0/), &
25 & ncid = ncid)
26 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
27
28#ifdef BEDLOAD
29 CALL netcdf_put_fvar (ng, model, ncname, 'bedload_coeff', &
30 & bedload_coeff(ng), (/0/), (/0/), &
31 & ncid = ncid)
32 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
33#endif
34
35#ifdef ANA_SEDIMENT
36 CALL netcdf_put_fvar (ng, model, ncname, 'Sd50', &
37 & sd50(:,ng), (/1/), (/nst/), &
38 & ncid = ncid)
39 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
40
41 CALL netcdf_put_fvar (ng, model, ncname, 'Srho', &
42 & srho(:,ng), (/1/), (/nst/), &
43 & ncid = ncid)
44 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
45
46 CALL netcdf_put_fvar (ng, model, ncname, 'Csed', &
47 & csed(:,ng), (/1/), (/nst/), &
48 & ncid = ncid)
49 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
50#endif
51
52 CALL netcdf_put_fvar (ng, model, ncname, 'Wsed', &
53 & wsed(:,ng), (/1/), (/nst/), &
54 & ncid = ncid)
55 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
56
57 CALL netcdf_put_fvar (ng, model, ncname, 'Erate', &
58 & erate(:,ng), (/1/), (/nst/), &
59 & ncid = ncid)
60 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
61
62 CALL netcdf_put_fvar (ng, model, ncname, 'tau_ce', &
63 & tau_ce(:,ng), (/1/), (/nst/), &
64 & ncid = ncid)
65 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
66
67 CALL netcdf_put_fvar (ng, model, ncname, 'tau_cd', &
68 & tau_cd(:,ng), (/1/), (/nst/), &
69 & ncid = ncid)
70 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
71
72 CALL netcdf_put_fvar (ng, model, ncname, 'poros', &
73 & poros(:,ng), (/1/), (/nst/), &
74 & ncid = ncid)
75 IF (founderror(exit_flag, noerror, __line__, myfile)) RETURN
subroutine output(ng)
Definition output.F:4