Changeset 2514 for trunk/LMDZ.MARS/libf/phymars/xios_output_mod.F90
- Timestamp:
- May 4, 2021, 10:23:43 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/xios_output_mod.F90
r2333 r2514 104 104 write(lunout,*) "initialize_xios_output: build calendar" 105 105 endif 106 timestep%second= dtphys106 timestep%second=1 107 107 if (nint(dtphys).ne.dtphys) then 108 108 write(*,*) "initialize_xios_output: warning physics timestep is not an integer!" 109 timestep%second=nint(dtphys)110 109 endif 111 110 if (nint(daysec).ne.daysec) then … … 116 115 CALL xios_define_calendar(type="user_defined", & 117 116 timestep=timestep, & 118 day_length=nint(daysec ), &117 day_length=nint(daysec/dtphys), & 119 118 month_lengths=[61,66,66,65,60,54,50,46,47,47,51,56]) 120 119 !NB: it would make more sense to define months and their length in the … … 130 129 ! Now define the start time of this simulation 131 130 ! NB: we substract dtphys because we want to set the origin of the time axis 132 start_date=time_origin +xios_duration(0,0,day,0,0,timeofday*daysec-dtphys)131 start_date=time_origin 133 132 call xios_set_start_date(start_date=start_date) 134 133 if (prt_level>=10) then
Note: See TracChangeset
for help on using the changeset viewer.