Changeset 5841 for branches/NERC/dev_r5518_NOC_MEDUSA_Stable/NEMOGCM/NEMO/TOP_SRC/MEDUSA/trcopt_medusa.F90
- Timestamp:
- 2015-10-30T12:48:06+01:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/NERC/dev_r5518_NOC_MEDUSA_Stable/NEMOGCM/NEMO/TOP_SRC/MEDUSA/trcopt_medusa.F90
r5726 r5841 73 73 ! determination of surface irradiance 74 74 ! ----------------------------------- 75 zpar0m (:,:) = qsr (:,:) * 0.43 75 ! AXY (23/07/15): the inclusion of empirical DMS calculations requires 76 ! daily averages of a series of properties that are 77 ! used as inputs; these include surface irradiance; 78 ! here, this is taken advantage of to allow MEDUSA to 79 ! base its submarine light field on daily average 80 ! rather than "instantaneous" irradiance; largely 81 ! because MEDUSA was originally formulated to work 82 ! with diel average irradiance rather than a diel 83 ! cycle; using key_avgqsr_medusa activates this 84 ! functionality, while its absence gives default 85 ! MEDUSA (which is whatever is supplied by NEMO) 86 # if defined key_avgqsr_medusa 87 ! surface irradiance input is rolling average irradiance 88 zpar0m (:,:) = zn_dms_qsr(:,:) * 0.43 89 # else 90 ! surface irradiance input is instantaneous irradiance 91 zpar0m (:,:) = qsr(:,:) * 0.43 92 # endif 76 93 ! AXY (22/08/14): when zpar0m = 0, zpar100 is also zero and calculating 77 94 ! euphotic depth is not possible (cf. the Arctic Octopus); … … 92 109 zparr (:,:,1) = 0.5 * zpar0m(:,:) 93 110 zparg (:,:,1) = 0.5 * zpar0m(:,:) 94 95 111 96 112 ! determination of xpar … … 146 162 ENDDO 147 163 148 149 164 IF(ln_ctl) THEN ! print mean trends (used for debugging) 150 165 WRITE(charout, FMT="('opt')")
Note: See TracChangeset
for help on using the changeset viewer.