Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
cdo
Commits
043eb230
Commit
043eb230
authored
Dec 04, 2013
by
Uwe Schulzweida
Browse files
cdoDefineGrid: first call gridFromH5file() for HDF tags
parent
2f379dea
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
043eb230
2013-12-04 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* gridFromH5file: set fclose degree to H5F_CLOSE_STRONG [Bug #4272]
* cdoDefineGrid: first call gridFromH5file() for HDF tags
2013-11-29 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
...
...
src/griddes.c
View file @
043eb230
...
...
@@ -1798,8 +1798,8 @@ int cdoDefineGrid(const char *gridfile)
{
if
(
cmpstr
(
buffer
+
1
,
"HDF"
,
len
)
==
0
)
{
if
(
cdoDebug
)
cdoPrint
(
"Grid from
netC
DF
4
file"
);
gridID
=
gridFrom
NC
file
(
gridfile
);
if
(
cdoDebug
)
cdoPrint
(
"Grid from
H
DF
5
file"
);
gridID
=
gridFrom
H5
file
(
gridfile
);
}
}
...
...
@@ -1807,8 +1807,8 @@ int cdoDefineGrid(const char *gridfile)
{
if
(
cmpstr
(
buffer
+
1
,
"HDF"
,
len
)
==
0
)
{
if
(
cdoDebug
)
cdoPrint
(
"Grid from
H
DF
5
file"
);
gridID
=
gridFrom
H5
file
(
gridfile
);
if
(
cdoDebug
)
cdoPrint
(
"Grid from
netC
DF
4
file"
);
gridID
=
gridFrom
NC
file
(
gridfile
);
}
}
...
...
src/griddes_h5.c
View file @
043eb230
...
...
@@ -340,7 +340,7 @@ int gridFromH5file(const char *gridfile)
if
(
rank
!=
2
)
{
if
(
cdoVerbose
)
cdoWarning
(
"Unexpected rank = %d!"
,
rank
);
//
if ( cdoVerbose ) cdoWarning("Unexpected rank = %d!", rank);
goto
RETURN
;
}
/*
...
...
@@ -467,7 +467,7 @@ int gridFromH5file(const char *gridfile)
if
(
rank
!=
2
)
{
if
(
cdoVerbose
)
cdoWarning
(
"Unexpected rank = %d!"
,
rank
);
//
if ( cdoVerbose ) cdoWarning("Unexpected rank = %d!", rank);
goto
RETURN
;
}
/*
...
...
Write
Preview
Supports
Markdown
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