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

netCDF: do not define attribute units for time bounds

parent 201077ed
...@@ -4,6 +4,10 @@ ...@@ -4,6 +4,10 @@
* using EXSE library version 1.3.2 * using EXSE library version 1.3.2
* using CGRIBEX library version 1.6.4 * using CGRIBEX library version 1.6.4
2014-06-04 Uwe Schulzweida
* netCDF: do not defined attribute calendar and units for time bounds
2014-05-19 Uwe Schulzweida 2014-05-19 Uwe Schulzweida
* netCDF: added support for opendap files by https * netCDF: added support for opendap files by https
......
...@@ -1034,9 +1034,10 @@ void cdfDefTime(stream_t* streamptr) ...@@ -1034,9 +1034,10 @@ void cdfDefTime(stream_t* streamptr)
if ( len ) if ( len )
{ {
cdf_put_att_text(fileID, time_varid, "units", len, unitstr); cdf_put_att_text(fileID, time_varid, "units", len, unitstr);
/*
if ( taxis->has_bounds ) if ( taxis->has_bounds )
cdf_put_att_text(fileID, time_bndsid, "units", len, unitstr); cdf_put_att_text(fileID, time_bndsid, "units", len, unitstr);
*/
} }
if ( taxis->calendar != -1 ) if ( taxis->calendar != -1 )
......
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