Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cdo
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpim-sw
cdo
Commits
eaa21234
Commit
eaa21234
authored
4 years ago
by
Uwe Schulzweida
Browse files
Options
Downloads
Patches
Plain Diff
Ydayarith.cc: added missing parameter vdate to cdoAbort().
parent
98f9eef3
No related branches found
No related tags found
No related merge requests found
Pipeline
#2723
passed
4 years ago
Stage: build
Stage: check
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Ydayarith.cc
+2
-2
2 additions, 2 deletions
src/Ydayarith.cc
with
2 additions
and
2 deletions
src/Ydayarith.cc
+
2
−
2
View file @
eaa21234
...
...
@@ -84,7 +84,7 @@ Ydayarith(void *process)
const
auto
vdate
=
taxisInqVdate
(
taxisID2
);
const
auto
dayoy
=
decodeDayOfYear
(
vdate
);
if
(
dayoy
<
0
||
dayoy
>=
MaxDays
)
cdoAbort
(
"Day of year %d out of range (date=%d)!"
,
dayoy
,
vdate
);
if
(
vars2
[
dayoy
].
size
()
>
0
)
cdoAbort
(
"Day of year index %d already allocated (date=%d)!"
,
dayoy
);
if
(
vars2
[
dayoy
].
size
()
>
0
)
cdoAbort
(
"Day of year index %d already allocated (date=%d)!"
,
dayoy
,
vdate
);
fieldsFromVlist
(
vlistID2
,
vars2
[
dayoy
],
FIELD_VEC
);
...
...
@@ -105,7 +105,7 @@ Ydayarith(void *process)
const
auto
vdate
=
taxisInqVdate
(
taxisID1
);
const
auto
dayoy
=
decodeDayOfYear
(
vdate
);
if
(
dayoy
<
0
||
dayoy
>=
MaxDays
)
cdoAbort
(
"Day of year %d out of range (date=%d)!"
,
dayoy
,
vdate
);
if
(
vars2
[
dayoy
].
size
()
==
0
)
cdoAbort
(
"Day of year index %d not found (date=%d)!"
,
dayoy
);
if
(
vars2
[
dayoy
].
size
()
==
0
)
cdoAbort
(
"Day of year index %d not found (date=%d)!"
,
dayoy
,
vdate
);
taxisCopyTimestep
(
taxisID3
,
taxisID1
);
cdoDefTimestep
(
streamID3
,
tsID
);
...
...
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