필터 지우기
필터 지우기

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 CenterFile Exchange에서 NetCDF에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by