Commit ef078e5b authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

changed global netCDF attribute name uuid to uuidOfHGrid

parent 2beefde6
...@@ -2534,7 +2534,7 @@ void cdfDefGridUUID(stream_t *streamptr, int gridID) ...@@ -2534,7 +2534,7 @@ void cdfDefGridUUID(stream_t *streamptr, int gridID)
{ {
int fileID = streamptr->fileID; int fileID = streamptr->fileID;
if ( streamptr->ncmode == 2 ) cdf_redef(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, "uuidOfHGrid", 36, uuidOfHGridStr);
if ( streamptr->ncmode == 2 ) cdf_enddef(fileID); if ( streamptr->ncmode == 2 ) cdf_enddef(fileID);
} }
} }
...@@ -6340,7 +6340,7 @@ void scan_global_attributtes(int fileID, int vlistID, stream_t *streamptr, int n ...@@ -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, "CDO") == 0 )
{ {
} }
else if ( strcmp(attname, "uuid") == 0 && attlen == 36 ) else if ( strcmp(attname, "uuidOfHGrid") == 0 && attlen == 36 )
{ {
attstring[36] = 0; attstring[36] = 0;
str2uuid(attstring, uuidOfHGrid); str2uuid(attstring, uuidOfHGrid);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment