2016-03-07 197 views
0

我有一個netCDF文件與foll。其中一個尺寸信息:修改並添加到netcdf屬性

int time(time=100); 
    :units = "calendar_year as %Y"; 
    :_ChunkSizes = 1048576; // int 

是否有任何工具可用,例如: NCO可以修改屬性,像這樣:

int time(time=100); 
    :units = "year as %Y.%f" ; 
    :calendar = "proleptic_gregorian" ; 
    :_ChunkSizes = 1048576; // int 
+1

有肯定的是:http://nco.sourceforge.net/nco.html#ncatted-netCDF -Attribute編輯器 – N1B4

回答

2

@ user308827是正確的...

ncatted -a 'units,time,o,c,"year as %Y.%f"' -a 'calendar,time,o,c,"proleptic_gregorian"' in.nc out.nc