フィルターのクリア

change a global attribute of a netcdf file

4 ビュー (過去 30 日間)
ulas im
ulas im 2013 年 3 月 22 日
Dear users
i use the following script to change values of global attributes in an existing netcdf file:
myfile=['spinCGRID.ncf'];
nc = netcdf(myfile,'write');
nc.SDATE = nclong(2007354);
endef(nc);
close(nc);
although this used to work for several times, now i am having problems with it, the script runs but no change happens in the netcdf file. is there anotherway to do this?
thank you

回答 (0 件)

カテゴリ

Help Center および File ExchangeNetCDF についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by