Skip to content

Commit 2336090

Browse files
committed
Corrections for converting cice v4 restart files to v5 netcdf
1 parent 3fdde69 commit 2336090

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/ice_restart_driver.F90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -841,8 +841,9 @@ subroutine restartfile_v4 (ice_ic)
841841
!$OMP END PARALLEL DO
842842

843843
! creates netcdf if restart_format = 'nc'
844-
filename = 'restart/iced.converted'
844+
filename = trim(restart_dir) // '/iced.converted'
845845
call dumpfile(filename)
846+
call final_restart
846847
! stop
847848

848849
! if runid is bering then need to correct npt for istep0

0 commit comments

Comments
 (0)