Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
d91a8548
Commit
d91a8548
authored
Oct 16, 2020
by
Uwe Schulzweida
Browse files
Added support for keyword np in grid description file (alias for numNPE) [Bug #9943]
parent
2b351113
Pipeline
#4673
passed with stages
in 23 minutes and 23 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
d91a8548
...
...
@@ -3,6 +3,10 @@
* Using CDI library version 1.9.9
* Version 1.9.9 release
2020-10-16 Uwe Schulzweida
* Added support for keyword np in grid description file (alias for numNPE) [Bug #9943]
2020-10-05 Uwe Schulzweida
* maggraph: stack smashing with more than 1 input file (bug fix)
...
...
src/grid_read.cc
View file @
d91a8548
...
...
@@ -111,6 +111,7 @@ grid_read_data(size_t ikv, size_t nkv, KVMap *kvmap, GridDesciption &grid, size_
else
if
(
key
==
"nlat"
)
grid
.
ysize
=
parameter2sizet
(
value
);
else
if
(
key
==
"truncation"
)
grid
.
ntr
=
parameter2int
(
value
);
else
if
(
key
==
"numLPE"
)
grid
.
numLPE
=
parameter2int
(
value
);
else
if
(
key
==
"np"
)
grid
.
numLPE
=
parameter2int
(
value
);
// np: obsolete
else
if
(
key
==
"nvertex"
)
grid
.
nvertex
=
parameter2int
(
value
);
else
if
(
key
==
"complexpacking"
)
grid
.
lcomplex
=
parameter2int
(
value
);
else
if
(
key
==
"ni"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment