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
e311236c
Commit
e311236c
authored
1 month ago
by
Uwe Schulzweida
Browse files
Options
Downloads
Patches
Plain Diff
GRIB_API: Handle LLAM as LCC
parent
010129d3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!136
M214003/develop
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ChangeLog
+4
-0
4 additions, 0 deletions
ChangeLog
src/gribapi.h
+1
-0
1 addition, 0 deletions
src/gribapi.h
src/gribapi_utilities.c
+1
-0
1 addition, 0 deletions
src/gribapi_utilities.c
with
6 additions
and
0 deletions
ChangeLog
+
4
−
0
View file @
e311236c
...
...
@@ -2,6 +2,10 @@
* Version 2.5.1 released
2025-02-12 Uwe Schulzweida
* GRIB_API: Handle LLAM as LCC
2025-02-06 Uwe Schulzweida
* Added obsolete functions vlistNgrids() and vlistNzaxis() for ParaView vtkCDIReader
...
...
This diff is collapsed.
Click to expand it.
src/gribapi.h
+
1
−
0
View file @
e311236c
...
...
@@ -49,6 +49,7 @@
#define GRIB2_GTYPE_LATLON_ROTSTR 3 // Stretched and Rotated Latitude/longitude
#define GRIB2_GTYPE_STERE 20 // Polar stereographic projection
#define GRIB2_GTYPE_LCC 30 // Lambert conformal
#define GRIB2_GTYPE_LLAM 33 // Lambert LAM
#define GRIB2_GTYPE_GAUSSIAN 40 // Gaussian latitude/longitude
#define GRIB2_GTYPE_GAUSSIAN_ROT 41 // Rotated Gaussian latitude/longitude
#define GRIB2_GTYPE_GAUSSIAN_STR 42 // Stretched Gaussian latitude/longitude
...
...
This diff is collapsed.
Click to expand it.
src/gribapi_utilities.c
+
1
−
0
View file @
e311236c
...
...
@@ -591,6 +591,7 @@ gribapiGetGridType(grib_handle *gh)
case
GRIB2_GTYPE_GAUSSIAN
:
return
has_ni
(
gh
)
?
GRID_GAUSSIAN
:
GRID_GAUSSIAN_REDUCED
;
case
GRIB2_GTYPE_LATLON_ROT
:
return
GRID_PROJECTION
;
case
GRIB2_GTYPE_LCC
:
return
CDI_PROJ_LCC
;
case
GRIB2_GTYPE_LLAM
:
return
CDI_PROJ_LCC
;
// Handle LLAM as LCC
case
GRIB2_GTYPE_STERE
:
return
CDI_PROJ_STERE
;
case
GRIB2_GTYPE_SPECTRAL
:
return
GRID_SPECTRAL
;
case
GRIB2_GTYPE_GME
:
return
GRID_GME
;
...
...
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