Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MAR - CARAIB
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dethinne Thomas
MAR - CARAIB
Commits
6e6d7909
Commit
6e6d7909
authored
5 months ago
by
Dethinne Thomas
Browse files
Options
Downloads
Patches
Plain Diff
correctly rename the "spinup" after iter = 1
parent
3feba0a4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
couplage/MAR/rename_spinup.f90
+34
-5
34 additions, 5 deletions
couplage/MAR/rename_spinup.f90
with
34 additions
and
5 deletions
couplage/MAR/rename_spinup.f90
+
34
−
5
View file @
6e6d7909
...
...
@@ -14,17 +14,46 @@
!SUBROUTINE
subroutine
rename_spinup
use
mar_ge
IMPLICIT
NONE
include
'./com_18/cte.common'
character
(
len
=
100
)
::
filename_input
,
filename_output
,
filename
character
(
len
=
4
)
::
yyyy
character
(
len
=
4
)
::
yym1
if
(
readsteady
.eq.
0
)
then
write
(
yyyy
,
'(I4)'
)
iyrrGE
write
(
yym1
,
'(I4)'
)
(
iyrrGE
-1
)
filename
=
'./CARAIB_couplage/results/Belgium/'
filename_input
=
trim
(
filename
)
//
trim
(
"ylailim"
)
//
trim
(
yyyy
)
//
".res"
filename_output
=
trim
(
filename
)
//
trim
(
"ylailim"
)
//
trim
(
yym1
)
//
".res"
! CALL RENAME('co2prev2010.res','co2prev2010.res') not needed
CALL
RENAME
(
'ylailim2009.res'
,
'ylailim2009.res'
)
CALL
RENAME
(
'xlai_min_max2009.res'
,
'xlai_min_max2009.res'
)
CALL
RENAME
(
'temprev2009.res'
,
'temprev2009.res'
)
CALL
RENAME
(
'frac2009.res'
,
'frac2009.res'
)
CALL
RENAME
(
'cropino2009.res'
,
'cropino2009.res'
)
CALL
RENAME
(
filename_input
,
filename_output
)
filename_input
=
trim
(
filename
)
//
trim
(
"xlai_min_max"
)
//
trim
(
yyyy
)
//
".res"
filename_output
=
trim
(
filename
)
//
trim
(
"xlai_min_max"
)
//
trim
(
yym1
)
//
".res"
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_output
=
trim
(
filename
)
//
trim
(
"frac"
)
//
trim
(
yym1
)
//
".res"
CALL
RENAME
(
filename_input
,
filename_output
)
filename_input
=
trim
(
filename
)
//
trim
(
"cropino"
)
//
trim
(
yyyy
)
//
".res"
filename_output
=
trim
(
filename
)
//
trim
(
"cropino"
)
//
trim
(
yym1
)
//
".res"
CALL
RENAME
(
filename_input
,
filename_output
)
filename_input
=
trim
(
filename
)
//
trim
(
"biomass"
)
//
trim
(
yyyy
)
//
".res"
filename_output
=
trim
(
filename
)
//
trim
(
"biomass"
)
//
trim
(
yym1
)
//
".res"
CALL
RENAME
(
filename_input
,
filename_output
)
endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment