Skip to content
Snippets Groups Projects
Commit ef8e73d6 authored by Dethinne Thomas's avatar Dethinne Thomas
Browse files

Update rename_spinup.f90

parent dc63a5b2
No related branches found
No related tags found
No related merge requests found
...@@ -15,15 +15,16 @@ ...@@ -15,15 +15,16 @@
subroutine rename_spinup subroutine rename_spinup
use mar_ge use mar_ge
use marcar
IMPLICIT NONE IMPLICIT NONE
include './com_18/cte.common' ! include './com_18/cte.common'
character(len=100) :: filename_input, filename_output,filename character(len=100) :: filename_input, filename_output,filename
character(len=4) :: yyyy character(len=4) :: yyyy
character(len=4) :: yym1 character(len=4) :: yym1
if (readsteady .eq. 0) then if (readsteady .eq. 0) then
write (yyyy,'(I4)') iyrrGE write (yyyy,'(I4)') iyrrGE
...@@ -32,17 +33,12 @@ ...@@ -32,17 +33,12 @@
filename_input = trim(filename) // trim("ylailim") // trim(yyyy) // ".res" filename_input = trim(filename) // trim("ylailim") // trim(yyyy) // ".res"
filename_output = trim(filename) // trim("ylailim") // trim(yym1) // ".res" filename_output = trim(filename) // trim("ylailim") // trim(yym1) // ".res"
! CALL RENAME('co2prev2010.res','co2prev2010.res') not needed
CALL RENAME(filename_input,filename_output) CALL RENAME(filename_input,filename_output)
filename_input = trim(filename) // trim("xlai_min_max") // trim(yyyy) // ".res" filename_input = trim(filename) // trim("xlai_min_max") // trim(yyyy) // ".res"
filename_output = trim(filename) // trim("xlai_min_max") // trim(yym1) // ".res" filename_output = trim(filename) // trim("xlai_min_max") // trim(yym1) // ".res"
CALL RENAME(filename_input,filename_output) CALL RENAME(filename_input,filename_output)
filename_input = trim(filename) // trim("temprev") // trim(yyyy) // ".res"
filename_output = trim(filename) // trim("temprev") // trim(yym1) // ".res"
CALL RENAME(filename_input,filename_output)
filename_input = trim(filename) // trim("frac") // trim(yyyy) // ".res" filename_input = trim(filename) // trim("frac") // trim(yyyy) // ".res"
filename_output = trim(filename) // trim("frac") // trim(yym1) // ".res" filename_output = trim(filename) // trim("frac") // trim(yym1) // ".res"
CALL RENAME(filename_input,filename_output) CALL RENAME(filename_input,filename_output)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment