Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
libcdi
Commits
c937c483
Commit
c937c483
authored
6 years ago
by
Uwe Schulzweida
Browse files
Options
Downloads
Patches
Plain Diff
Replace GRIB_API by ecCodes.
parent
bacc8894
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/cdi_int.c
+4
-4
4 additions, 4 deletions
src/cdi_int.c
src/grb_read.c
+1
-1
1 addition, 1 deletion
src/grb_read.c
src/grb_write.c
+2
-2
2 additions, 2 deletions
src/grb_write.c
with
7 additions
and
7 deletions
src/cdi_int.c
+
4
−
4
View file @
c937c483
...
...
@@ -123,19 +123,19 @@ void cdiPrintVersion(void)
{
fprintf
(
stderr
,
" CDI library version : %s
\n
"
,
cdiLibraryVersion
());
#ifdef HAVE_LIBCGRIBEX
fprintf
(
stderr
,
"
CGRIBEX
library version : %s
\n
"
,
cgribexLibraryVersion
());
fprintf
(
stderr
,
"
cgribex
library version : %s
\n
"
,
cgribexLibraryVersion
());
#endif
#ifdef HAVE_LIBGRIB_API
fprintf
(
stderr
,
"
GRIB_API
library version : %s
\n
"
,
gribapiLibraryVersionString
());
fprintf
(
stderr
,
"
ecCodes
library version : %s
\n
"
,
gribapiLibraryVersionString
());
#endif
#ifdef HAVE_LIBNETCDF
fprintf
(
stderr
,
" NetCDF library version : %s
\n
"
,
cdfLibraryVersion
());
#endif
#ifdef HAVE_NC4HDF5
fprintf
(
stderr
,
"
HDF
5 library version : %s
\n
"
,
hdfLibraryVersion
());
fprintf
(
stderr
,
"
hdf
5 library version : %s
\n
"
,
hdfLibraryVersion
());
#endif
#ifdef HAVE_LIBSERVICE
fprintf
(
stderr
,
"
EXSE
library version : %s
\n
"
,
srvLibraryVersion
());
fprintf
(
stderr
,
"
exse
library version : %s
\n
"
,
srvLibraryVersion
());
#endif
fprintf
(
stderr
,
" FILE library version : %s
\n
"
,
fileLibraryVersion
());
}
...
...
This diff is collapsed.
Click to expand it.
src/grb_read.c
+
1
−
1
View file @
c937c483
...
...
@@ -49,7 +49,7 @@ int grbDecode(int filetype, int memtype, void *cgribexp, void *gribbuffer, size_
#else
{
(
void
)
vlistID
;
(
void
)
varID
;
Error
(
"
GRIB_API
support not compiled in!"
);
Error
(
"
ecCodes
support not compiled in!"
);
}
#endif
...
...
This diff is collapsed.
Click to expand it.
src/grb_write.c
+
2
−
2
View file @
c937c483
...
...
@@ -57,7 +57,7 @@ size_t grbEncode(int filetype, int memtype, int varID, int levelID, int vlistID,
}
#else
{
Error
(
"
GRIB_API
support not compiled in!"
);
Error
(
"
ecCodes
support not compiled in!"
);
(
void
)
gribContainer
;
(
void
)
comptype
;
}
...
...
@@ -143,7 +143,7 @@ void grbCopyRecord(stream_t * streamptr2, stream_t * streamptr1)
}
#else
{
Error
(
"
GRIB_API
support not compiled in!"
);
Error
(
"
ecCodes
support not compiled in!"
);
}
#endif
...
...
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