diff --git a/src/MNH/prep_ideal_case.f90 b/src/MNH/prep_ideal_case.f90 index 370e214120d671ca8fd809fd3b69ee93a26c2e6b..fde7020d44cb68715e0f62caaa50406be2048670 100644 --- a/src/MNH/prep_ideal_case.f90 +++ b/src/MNH/prep_ideal_case.f90 @@ -361,6 +361,7 @@ USE MODD_IO, ONLY: TFILE_DUMMY, TFILE_OUTPUTLISTING USE MODD_CONF_n USE MODD_NSV, ONLY: NSV use modd_precision, only: LFIINT, MNHREAL_MPI, MNHTIME +USE MODD_TYPE_DATE, ONLY: DATE_TIME ! USE MODN_BLANK_n ! @@ -1480,7 +1481,7 @@ IF (CIDEAL == 'RSOU') THEN WRITE(NLUOUT,FMT=*) 'CIDEAL="RSOU", attempt to read DATE' CALL POSKEY(NLUPRE,NLUOUT,'RSOU') READ(NLUPRE,FMT=*) NYEAR,NMONTH,NDAY,XTIME - TDTCUR = DATE_TIME(DATE(NYEAR,NMONTH,NDAY),XTIME) + TDTCUR = DATE_TIME( DATE = DATE( NYEAR, NMONTH, NDAY ), XTIME = XTIME ) TDTEXP = TDTCUR TDTSEG = TDTCUR TDTMOD = TDTCUR @@ -1499,7 +1500,7 @@ ELSE IF (CIDEAL == 'CSTN') THEN WRITE(NLUOUT,FMT=*) 'CIDEAL="CSTN", attempt to read DATE' CALL POSKEY(NLUPRE,NLUOUT,'CSTN') READ(NLUPRE,FMT=*) NYEAR,NMONTH,NDAY,XTIME - TDTCUR = DATE_TIME(DATE(NYEAR,NMONTH,NDAY),XTIME) + TDTCUR = DATE_TIME( DATE = DATE( NYEAR, NMONTH, NDAY ), XTIME = XTIME ) TDTEXP = TDTCUR TDTSEG = TDTCUR TDTMOD = TDTCUR