Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
4acea038
Commit
4acea038
authored
Sep 22, 2016
by
Uwe Schulzweida
Browse files
GRIB: sort only unsorted pressure levels.
parent
30277221
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
4acea038
2016-09-22 Uwe Schulzweida
* GRIB: sort only unsorted pressure levels
2016-09-19 Uwe Schulzweida
* time axis: added support for NC_FLOAT
...
...
src/varscan.c
View file @
4acea038
...
...
@@ -670,7 +670,7 @@ void cdi_generate_vars(stream_t *streamptr)
* levelTable[levelID1].level1 < levelTable[levelID2].level1 <=> levelID1 > levelID2
* unless already sorted in decreasing order
*/
if
(
!
ldec
&&
zaxistype
==
ZAXIS_PRESSURE
)
if
(
(
!
linc
&&
!
ldec
)
&&
zaxistype
==
ZAXIS_PRESSURE
)
{
qsort
(
levelTable
,
nlevels
,
sizeof
(
leveltable_t
),
cmpLevelTableInv
);
lsort
=
true
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment