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
libcdi
Commits
89c9c159
Commit
89c9c159
authored
Nov 19, 2010
by
Uwe Schulzweida
Browse files
config/default: changed gribapi version on gata to 1.9.5
parent
e570cd7d
Changes
2
Hide whitespace changes
Inline
Side-by-side
config/default
View file @
89c9c159
...
...
@@ -39,7 +39,7 @@ case "${HOSTNAME}" in
gata
)
./configure
--prefix
=
$HOME
/local/etch-ia32
\
--with-jasper
=
/sw/etch-ia32/jasper-1.900.1
\
--with-grib_api
=
/scratch/local2/m214003/local
\
--with-grib_api
=
$HOME
/local/etch-ia32/grib_api-1.9.5
\
--with-netcdf
=
/sw/etch-ia32/netcdf-4.0.1
\
--with-hdf5
=
/sw/etch-ia32/hdf5-1.8.2
\
--with-zlib
=
/sw/etch-ia32/zlib-1.2.3
\
...
...
src/stream_gribapi.c
View file @
89c9c159
...
...
@@ -805,9 +805,13 @@ void gribapiScanTimestep1(int streamID)
{
size_t
len
=
256
;
char
typeOfPacking
[
256
];
GRIB_CHECK
(
grib_get_string
(
gh
,
"typeOfPacking"
,
typeOfPacking
,
&
len
),
0
);
// fprintf(stderr, "typeOfPacking %d %s\n", len, typeOfPacking);
if
(
strncmp
(
typeOfPacking
,
"grid_jpeg"
,
len
)
==
0
)
ztype
=
COMPRESS_JPEG
;
status
=
grib_get_string
(
gh
,
"typeOfPacking"
,
typeOfPacking
,
&
len
);
if
(
status
==
0
)
{
// fprintf(stderr, "typeOfPacking %d %s\n", len, typeOfPacking);
if
(
strncmp
(
typeOfPacking
,
"grid_jpeg"
,
len
)
==
0
)
ztype
=
COMPRESS_JPEG
;
}
GRIB_CHECK
(
grib_get_long
(
gh
,
"discipline"
,
&
lpar
),
0
);
pdis
=
(
int
)
lpar
;
...
...
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