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
9c0550be
Commit
9c0550be
authored
15 years ago
by
Uwe Schulzweida
Browse files
Options
Downloads
Patches
Plain Diff
IEG format: bug fix for lonlat grids
parent
632c9738
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ChangeLog
+4
-0
4 additions, 0 deletions
ChangeLog
src/stream_ieg.c
+7
-7
7 additions, 7 deletions
src/stream_ieg.c
with
11 additions
and
7 deletions
ChangeLog
+
4
−
0
View file @
9c0550be
2009-10-08 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* IEG format: bug fix for lonlat grids [report: Philip Lorenz]
2009-10-06 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* cdtInqContents: check attribute type
...
...
This diff is collapsed.
Click to expand it.
src/stream_ieg.c
+
7
−
7
View file @
9c0550be
...
...
@@ -152,7 +152,7 @@ int iegReadRecord(int streamID, double *data, int *nmiss)
return
(
1
);
}
static
int
iegGetZaxisType
(
int
iegleveltype
)
{
int
leveltype
=
0
;
...
...
@@ -236,7 +236,7 @@ void iegDefTime(int *pdb, int date, int time, int timeID)
pdb
[
5
]
=
128
;
}
static
void
iegDefGrid
(
int
*
gdb
,
int
gridID
)
{
static
char
func
[]
=
"iegDefGrid"
;
...
...
@@ -320,7 +320,7 @@ void iegDefGrid(int *gdb, int gridID)
IEG_G_ScanFlag
(
gdb
)
=
64
;
}
static
void
iegDefLevel
(
int
*
pdb
,
int
*
gdb
,
double
*
vct
,
int
zaxisID
,
int
levelID
)
{
static
char
func
[]
=
"iegDefLevel"
;
...
...
@@ -615,7 +615,7 @@ int iegWriteRecord(int streamID, const double *data)
return
(
status
);
}
static
void
iegAddRecord
(
int
streamID
,
int
code
,
int
*
pdb
,
int
*
gdb
,
double
*
vct
,
long
recsize
,
off_t
position
,
int
prec
)
{
...
...
@@ -664,7 +664,7 @@ void iegAddRecord(int streamID, int code, int *pdb, int *gdb, double *vct,
if
(
IEG_G_GridType
(
gdb
)
==
0
||
IEG_G_GridType
(
gdb
)
==
10
)
gridtype
=
GRID_LONLAT
;
if
(
IEG_G_GridType
(
gdb
)
==
4
)
else
if
(
IEG_G_GridType
(
gdb
)
==
4
)
gridtype
=
GRID_GAUSSIAN
;
else
gridtype
=
GRID_GENERIC
;
...
...
@@ -772,7 +772,7 @@ void iegAddRecord(int streamID, int code, int *pdb, int *gdb, double *vct,
varID
,
gridID
,
levelID
);
}
static
void
iegCmpRecord
(
int
streamID
,
int
tsID
,
int
recID
,
off_t
position
,
int
code
,
int
level
,
int
xsize
,
int
ysize
)
{
...
...
@@ -803,7 +803,7 @@ void iegCmpRecord(int streamID, int tsID, int recID, off_t position, int code,
Message
(
func
,
"varID = %d levelID = %d"
,
varID
,
levelID
);
}
static
void
iegDateTime
(
int
*
pdb
,
int
*
date
,
int
*
time
)
{
int
ryear
,
rmonth
,
rday
,
rhour
,
rminute
;
...
...
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