@@ -170,6 +170,16 @@ subroutine initialize(self,configunit)
170170!- ----------------------------------------------------------------------
171171! BOC
172172
173+ ! add switches
174+ call self% get_parameter( self% use_cyanos, ' use_cyanos' , ' ' , ' switch cyanobacteria' , default= .true. )
175+ call self% get_parameter( self% couple_co2, ' couple_co2' , ' ' , ' switch coupling to carbonate module' , default= .false. )
176+ call self% get_parameter( self% use_chl, ' use_chl' , ' ' , ' switch chlorophyll/c dynamics' , default= .true. )
177+ call self% get_parameter( self% not_0d, ' not_0d' , ' ' , ' do not run the model in a 0D box' , default= .true. )
178+ call self% get_parameter( self% use_community_sinking, ' use_community_sinking' ,' ' ,' community composition dependent sinking rates' , default= .false. )
179+ call self% get_parameter( self% use_chl_in_PI_curve, ' use_chl_in_PI_curve' ,' ' ,' activated chl dependent light limitation' ,default= .false. )
180+ call self% get_parameter( self% turn_on_additional_diagnostics, ' turn_on_additional_diagnostics' ,' ' ,' activates additional diagnostics for model debugging' ,default= .false. )
181+ call self% get_parameter( self% use_coccolithophores, ' use_coccolithophores' , ' ' , ' switch coccolithophores' , default= .false. )
182+
173183 call self% get_parameter(self% zpr, ' zpr' , ' 1/day' , ' zpr_long_name_needed' , default= 0.001_rk , scale_factor= 1.0_rk / sedy0)
174184 call self% get_parameter(self% frr, ' frr' , ' -' , ' fraction of dissolved from det.' , default= 0.4_rk )
175185 call self% get_parameter(self% nfixation_minimum_daily_par, ' nfixation_minimum_daily_par' , ' nfixation minimum daily par' , default= 40.0_rk )
@@ -183,7 +193,7 @@ subroutine initialize(self,configunit)
183193 call self% get_parameter( self% BioC(1 ) , ' muPl' , ' 1/day' , ' max growth rate for Pl' , default= 1.30_rk , scale_factor= 1.0_rk / sedy0)
184194 call self% get_parameter( self% BioC(2 ) , ' muPs' , ' 1/day' , ' max growth rate for Ps' , default= 1.10_rk , scale_factor= 1.0_rk / sedy0)
185195 call self% get_parameter( self% BioC(3 ) , ' aa' , ' m**2/W' , ' photosynthesis ef-cy' , default= 0.04_rk )
186- call self% get_parameter( self% BioC(4 ) , ' EXw' , ' 1/m' , ' light extinction' , default= 0.041_rk )
196+ call self% get_parameter( self% BioC(4 ) , ' EXw' , ' 1/m' , ' light extinction' , default= 0.0_rk )
187197 if (self% use_chl) then
188198 call self% get_parameter( self% BioC(5 ) , ' Exphy' , ' m**2/mgCHL' , ' phyto self-shading' , default= 0.04_rk )
189199 else
@@ -289,15 +299,7 @@ subroutine initialize(self,configunit)
289299 call self% get_parameter( self% sinkBgD, ' sinkBgD' , ' m/day' , ' Detritus originating from cyanob. sinking rate' , default= 5.0_rk , scale_factor= 1.0_rk / sedy0)
290300 call self% get_parameter( self% sinkCoccoD, ' sinkCoccoD' , ' m/day' , ' Detritus originating from coccolith. sinking rate' , default= 5.0_rk , scale_factor= 1.0_rk / sedy0)
291301 call self% get_parameter( self% SiUptLim, ' SiUptLim' , ' mgC/m3' , ' Stop Si uptake below this concentration' , default= 80.0_rk )
292- ! add switches
293- call self% get_parameter( self% use_cyanos, ' use_cyanos' , ' ' , ' switch cyanobacteria' , default= .true. )
294- call self% get_parameter( self% couple_co2, ' couple_co2' , ' ' , ' switch coupling to carbonate module' , default= .false. )
295- call self% get_parameter( self% use_chl, ' use_chl' , ' ' , ' switch chlorophyll/c dynamics' , default= .true. )
296- call self% get_parameter( self% not_0d, ' not_0d' , ' ' , ' do not run the model in a 0D box' , default= .true. )
297- call self% get_parameter( self% use_community_sinking, ' use_community_sinking' ,' ' ,' community composition dependent sinking rates' , default= .false. )
298- call self% get_parameter( self% use_chl_in_PI_curve, ' use_chl_in_PI_curve' ,' ' ,' activated chl dependent light limitation' ,default= .false. )
299- call self% get_parameter( self% turn_on_additional_diagnostics, ' turn_on_additional_diagnostics' ,' ' ,' activates additional diagnostics for model debugging' ,default= .false. )
300- call self% get_parameter( self% use_coccolithophores, ' use_coccolithophores' , ' ' , ' switch coccolithophores' , default= .false. )
302+
301303 ! Register state variables
302304 call self% register_state_variable( self% id_no3, ' no3' , ' mgC/m3' , ' nitrate' , minimum= 0.0_rk , vertical_movement= 0.0_rk , &
303305 initial_value= 5.0_rk * redf(1 )* redf(6 ) )
0 commit comments