Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
ef078e5b
Commit
ef078e5b
authored
Mar 14, 2013
by
Uwe Schulzweida
Browse files
changed global netCDF attribute name uuid to uuidOfHGrid
parent
2beefde6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream_cdf.c
View file @
ef078e5b
...
...
@@ -2534,7 +2534,7 @@ void cdfDefGridUUID(stream_t *streamptr, int gridID)
{
int
fileID
=
streamptr
->
fileID
;
if
(
streamptr
->
ncmode
==
2
)
cdf_redef
(
fileID
);
cdf_put_att_text
(
fileID
,
NC_GLOBAL
,
"uuid"
,
36
,
uuidOfHGridStr
);
cdf_put_att_text
(
fileID
,
NC_GLOBAL
,
"uuid
OfHGrid
"
,
36
,
uuidOfHGridStr
);
if
(
streamptr
->
ncmode
==
2
)
cdf_enddef
(
fileID
);
}
}
...
...
@@ -6340,7 +6340,7 @@ void scan_global_attributtes(int fileID, int vlistID, stream_t *streamptr, int n
else
if
(
strcmp
(
attname
,
"CDO"
)
==
0
)
{
}
else
if
(
strcmp
(
attname
,
"uuid"
)
==
0
&&
attlen
==
36
)
else
if
(
strcmp
(
attname
,
"uuid
OfHGrid
"
)
==
0
&&
attlen
==
36
)
{
attstring
[
36
]
=
0
;
str2uuid
(
attstring
,
uuidOfHGrid
);
...
...
Write
Preview
Markdown
is supported
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