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
bcc8835f
Commit
bcc8835f
authored
May 21, 2014
by
Uwe Schulzweida
Browse files
gribapiDefGrid: set JS=20 for complexed packed spectral data
parent
eabcfd4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_gribapi.c
View file @
bcc8835f
...
...
@@ -2619,11 +2619,10 @@ void gribapiDefGrid(int editionNumber, grib_handle *gh, int gridID, int ljpeg, i
if
(
editionNumber
==
2
)
GRIB_CHECK
(
my_grib_set_long
(
gh
,
"numberOfValues"
,
gridInqSize
(
gridID
)),
0
);
mesg
=
"spectral_complex"
;
len
=
strlen
(
mesg
);
GRIB_CHECK
(
my_grib_set_string
(
gh
,
"packingType"
,
mesg
,
&
len
),
0
);
/*
GRIB_CHECK
(
my_grib_set_long
(
gh
,
"JS"
,
20
),
0
);
GRIB_CHECK
(
my_grib_set_long
(
gh
,
"KS"
,
20
),
0
);
GRIB_CHECK
(
my_grib_set_long
(
gh
,
"MS"
,
20
),
0
);
*/
}
else
{
...
...
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