! Program Name: ! Author(s)/Contact(s): ! Abstract: ! History Log: ! ! Usage: ! Parameters: ! Input Files: ! ! Output Files: ! ! ! Condition codes: ! ! If appropriate, descriptive troubleshooting instructions or ! likely causes for failures could be mentioned here with the ! appropriate error code ! ! User controllable options: module module_date_utils_nudging contains !=================================================================================================== ! Subroutine Name: geth_newdate ! Author(s)/Contact(s): ! Wei Yu? or NoahMP developers? ! James L McCreight, jamesmcc>")') mon print*, "FATAL ERROR: Function monthabbr_to_mm: Unrecognized mon" call hydro_stop("monthabbr_to_mm") endif end function monthabbr_to_mm !=================================================================================================== ! Subroutine Name: swap_date_format ! Author(s)/Contact(s): ! Wei Yu? or NoahMP developers? ! James L McCreight, jamesmcc>")') indate call hydro_stop("swap_date_format") #endif end select else select case (inlen) case (8) ! YYYYMMDD outdate = indate(1:4)//"-"//indate(5:6)//"-"//indate(7:8) case (10) ! YYYYMMDDHH outdate = indate(1:4)//"-"//indate(5:6)//"-"//indate(7:8)//"_"//& indate(9:10) case (12) ! YYYYMMDDHHmm outdate = indate(1:4)//"-"//indate(5:6)//"-"//indate(7:8)//"_"//& indate(9:10)//":"//indate(11:12) case (14) ! YYYYMMDDHHmmss outdate = indate(1:4)//"-"//indate(5:6)//"-"//indate(7:8)//"_"//& indate(9:10)//":"//indate(11:12)//":"//indate(13:14) case (15,16,17,18) ! YYYYMMDDHHmmssf[f[f[f]]] outdate = indate(1:4)//"-"//indate(5:6)//"-"//indate(7:8)//"_"//& indate(9:10)//":"//indate(11:12)//":"//indate(13:14)//"."//indate(15:inlen) case default write(*,'("FATAL ERROR: Unrecognized length: <", A,">")') indate call hydro_stop("swap_date_format") end select endif end subroutine swap_date_format !=================================================================================================== ! Function Name: mm_to_monthabbr ! Author(s)/Contact(s): ! Wei Yu? or NoahMP developers? ! James L McCreight, jamesmcc> 0 .and. ii < 13 ) then mon = month(ii) else print*, "FATAL ERROR: mm_to_monthabbr" call hydro_stop("mm_to_monthabbr") endif end function mm_to_monthabbr !=================================================================================================== ! Function Name: round_resolution_minute ! Author(s)/Contact(s): ! James L McCreight, jamesmcc>