change global attribute in nc file

From: <h3dang_at_nyahnyahspammersnyahnyah>
Date: Wed, 20 Feb 2008 20:38:03 -0500

Greeting dear all!

I am about to change a time in the global attribute in nc file,
following is my code:
-------------------------------------
begin
fl01=addfile("egts_l.nctox.nc","w")
fileAtt = True
fileAtt_at_SDATE = 2007179

fileattdef(fl01,fileAtt)
end
--------------------------------------
It did change after executing the ncl file, but when I apply the file
I met some errors telling "Time step not available" in this file. this
is a huge file and it looks the headers are fine when checking with
"ncdump -h ...".

I was wondering if my code is right or not, if it could cause some
potential problems in the data.

Thanks a lot for your help,

Hongyan

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Feb 20 2008 - 18:38:03 MST

This archive was generated by hypermail 2.2.0 : Tue Feb 26 2008 - 16:44:49 MST