Commit a3e0c913 authored by Uwe Schulzweida's avatar Uwe Schulzweida

NetCDF: treats global history attribute as a normal attribute.

parent 4257a4c7
2020-02-25 Uwe Schulzweida
* Added function cdiInqAttLen()
* NetCDF: treats global history attribute as a normal attribute
2020-02-20 Uwe Schulzweida
......
......@@ -3409,11 +3409,7 @@ void cdf_scan_global_attr(int fileID, int vlistID, stream_t *streamptr, int ngat
if ( attlen > 0 && attstring[0] != 0 )
{
if ( strIsEqual(attname, "history") )
{
streamptr->historyID = iatt;
}
else if ( strIsEqual(attname, "institution") )
if ( strIsEqual(attname, "institution") )
{
*instID = institutInq(0, 0, NULL, attstring);
if ( *instID == CDI_UNDEFID )
......
Markdown is supported
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