Skip to content

Commit

Permalink
set Gregorian calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
hkershaw-brown committed Feb 14, 2024
1 parent bbf7b25 commit 7ab33e3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion models/aether_lat-lon/model_mod.f90
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module model_mod
r8, i8, MISSING_R8, vtablenamelength

use time_manager_mod, only : &
time_type, set_time
time_type, set_time, set_calendar_type

use location_mod, only : &
location_type, get_close_type, &
Expand Down Expand Up @@ -165,6 +165,8 @@ subroutine static_init_model()
read(iunit, nml = model_nml, iostat = io)
call check_namelist_read(iunit, io, "model_nml")

call set_calendar_type('GREGORIAN')

! Record the namelist values used for the run
if (do_nml_file()) write(nmlfileunit, nml=model_nml)
if (do_nml_term()) write( * , nml=model_nml)
Expand Down

0 comments on commit 7ab33e3

Please sign in to comment.