Skip to content

Commit

Permalink
remove transfer function
Browse files Browse the repository at this point in the history
  • Loading branch information
JessicaMeixner-NOAA committed May 23, 2024
1 parent f0bf8ca commit 3598f86
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions model/src/w3iopomd.F90
Original file line number Diff line number Diff line change
Expand Up @@ -1755,13 +1755,12 @@ SUBROUTINE W3IOPON ( INXOUT, NDSOP, IOTST, IMOD)
END IF

! Determine filename.
filename = ''
IF ( OFILES(2) .EQ. 1 ) THEN
! Create TIMETAG for file name using YYYYMMDD.HHMMS prefix
WRITE(TIMETAG,"(i8.8,'.'i6.6)")TIME(1),TIME(2)
filename = transfer(FNMPRE(:LEN_TRIM(FNMPRE))//TIMETAG//'out_pnt.'//FILEXT(:LEN_TRIM(FILEXT))//'.nc', filename)
filename = FNMPRE(:LEN_TRIM(FNMPRE))//TIMETAG//'out_pnt.'//FILEXT(:LEN_TRIM(FILEXT))//'.nc'
ELSE
filename = transfer(FNMPRE(:LEN_TRIM(FNMPRE))//'out_pnt.'//FILEXT(:LEN_TRIM(FILEXT))//'.nc', filename)
filename = FNMPRE(:LEN_TRIM(FNMPRE))//'out_pnt.'//FILEXT(:LEN_TRIM(FILEXT))//'.nc'
END IF

! Do a read or a write of the point file.
Expand Down

0 comments on commit 3598f86

Please sign in to comment.