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
bb84d218
Commit
bb84d218
authored
1 week ago
by
Dethinne Thomas
Browse files
Options
Downloads
Patches
Plain Diff
I had a problem with leap year is caraib yyyy was read instead of MAR yyyy
parent
b3fbe173
Branches
Thomas_couplage
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
couplage/CARAIB/ver01_Iv_couplage/mod_open_file.f
+3
-3
3 additions, 3 deletions
couplage/CARAIB/ver01_Iv_couplage/mod_open_file.f
with
3 additions
and
3 deletions
couplage/CARAIB/ver01_Iv_couplage/mod_open_file.f
+
3
−
3
View file @
bb84d218
...
...
@@ -124,12 +124,12 @@ c calendar, otherwise myear can be set to any integer value
c
nd
=
number
of
days
in
the
current
year
if
(
ileap
.eq.
1
)
then
r100
=
mod
(
m
year
,
100
)
r100
=
mod
(
previous_
year
,
100
)
if
(
r100
.eq.
0
)
then
icentury
=
m
year
/
100
icentury
=
previous_
year
/
100
r4
=
mod
(
icentury
,
4
)
else
r4
=
mod
(
m
year
,
4
)
r4
=
mod
(
previous_
year
,
4
)
endif
if
(
r4
.eq.
0
)
then
nd
=
366
...
...
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