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
libcdi
Commits
1bef0ac7
Commit
1bef0ac7
authored
Nov 26, 2014
by
Thomas Jahns
🤸
Browse files
Fix for non-evaluation of global attribute forecast_reference_time.
* See r2661.
parent
fe68a267
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cdf.c
View file @
1bef0ac7
...
...
@@ -7130,7 +7130,7 @@ void define_all_vars(stream_t *streamptr, int vlistID, int instID, int modelID,
}
static
void
scan_global_attributes
(
int
fileID
,
int
vlistID
,
stream_t
*
streamptr
,
int
ngatts
,
int
*
instID
,
int
*
modelID
,
int
*
ucla_les
,
unsigned
char
*
uuidOfHGrid
,
unsigned
char
*
uuidOfVGrid
,
char
*
gridfile
,
int
*
number_of_grid_used
,
char
*
fcreftime
)
void
scan_global_attributes
(
int
fileID
,
int
vlistID
,
stream_t
*
streamptr
,
int
ngatts
,
int
*
instID
,
int
*
modelID
,
int
*
ucla_les
,
unsigned
char
*
uuidOfHGrid
,
unsigned
char
*
uuidOfVGrid
,
char
*
gridfile
,
int
*
number_of_grid_used
)
{
nc_type
xtype
;
size_t
attlen
;
...
...
@@ -7487,7 +7487,7 @@ int cdfInqContents(stream_t *streamptr)
/* scan global attributes */
scan_global_attributes
(
fileID
,
vlistID
,
streamptr
,
ngatts
,
&
instID
,
&
modelID
,
&
ucla_les
,
uuidOfHGrid
,
uuidOfVGrid
,
gridfile
,
&
number_of_grid_used
,
fcreftime
);
uuidOfHGrid
,
uuidOfVGrid
,
gridfile
,
&
number_of_grid_used
);
/* find time dim */
if
(
unlimdimid
>=
0
)
...
...
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