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
3feba0a4
Commit
3feba0a4
authored
5 months ago
by
Dethinne Thomas
Browse files
Options
Downloads
Patches
Plain Diff
working on the spinup Y1 problem
parent
ced9d29a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
couplage/MAR/call_caraib.f90
+4
-4
4 additions, 4 deletions
couplage/MAR/call_caraib.f90
couplage/MAR/rename_spinup.f90
+34
-0
34 additions, 0 deletions
couplage/MAR/rename_spinup.f90
with
38 additions
and
4 deletions
couplage/MAR/call_caraib.f90
+
4
−
4
View file @
3feba0a4
...
...
@@ -2,7 +2,7 @@
! | Subroutine call_caraib 07/11/2024 COUPLAGE |
! +------------------------------------------------------------------+
! | |
! | This routine
purpose
u
s to call subroutine linked to CARAIB from|
! | This routine purpose
i
s to call subroutine linked to CARAIB from
|
! | MAR so the coupling is transparent from MAR point. |
! | This routine is called at some place in MAR with different |
! | initiator. Depending on it, the routine call some subroutines |
...
...
@@ -85,9 +85,9 @@
call
caraib
!
if first iter:
! change yyyy to yyyy-1 for car outputs
!
change the 0 to 1 read data file
!
Rename all the files of the first output of CARAIB if its the spin up
if
(
first_iter
.eq.
1
)
CALL
rename_spinup
!
day_counter
=
day_counter
+
1
first_iter
=
0
...
...
This diff is collapsed.
Click to expand it.
couplage/MAR/rename_spinup.f90
0 → 100644
+
34
−
0
View file @
3feba0a4
! +------------------------------------------------------------------+
! | Subroutine rename_spinup 12/11/2024 COUPLAGE |
! +------------------------------------------------------------------+
! | |
! | This routine purpose is to trick Caraib to do its spin up and |
! | Then act as its spin up was the year simulated before the first |
! | So at next MAR time step (of the forst year), the data read is |
! | the spinuped data
! | Output: None |
! | ^^^^^^^ |
! | |
! +------------------------------------------------------------------+
!SUBROUTINE
subroutine
rename_spinup
IMPLICIT
NONE
include
'./com_18/cte.common'
if
(
readsteady
.eq.
0
)
then
! 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'
)
endif
end
subroutine
rename_spinup
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