Skip to content

Commit

Permalink
light_cycle: centre dark period on midnight by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorn Bruggeman committed May 11, 2017
1 parent 81fc802 commit 3448f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/examples/light_cycle.F90
Expand Up @@ -35,7 +35,7 @@ subroutine initialize(self,configunit)
call self%register_diagnostic_variable(self%id_swr_sf, 'swr_sf', 'W m-2', 'surface downward shortwave radiation', standard_variable=standard_variables%surface_downwelling_shortwave_flux, source=source_do_surface, domain=domain_surface)
call self%get_parameter(self%swr, 'swr', 'W m-2', 'surface downward shortwave radiation during light phase', minimum=0.0_rk)
call self%get_parameter(self%light_period, 'light_period', 'h', 'duration of light phase', minimum=0.0_rk, maximum=24._rk, scale_factor=1._rk/24._rk)
call self%get_parameter(self%offset, 'offset', 'h', 'start of light period (relative to midnight)', minimum=-24.0_rk, maximum=24._rk, scale_factor=1._rk/24._rk, default=0.0_rk)
call self%get_parameter(self%offset, 'offset', 'h', 'start of light period (relative to midnight)', minimum=-24.0_rk, maximum=24._rk, scale_factor=1._rk/24._rk, default=self%light_period*12)
end subroutine initialize

subroutine do_surface(self,_ARGUMENTS_DO_SURFACE_)
Expand Down

0 comments on commit 3448f2b

Please sign in to comment.