Change global attribute of netcdf

From: Ling Huang <hlbutterflyut_at_nyahnyahspammersnyahnyah>
Date: Thu Feb 06 2014 - 21:30:19 MST

Dear ncl-talk,

I want to change a global attribute of a netcdf file. For example, "SDATE"
is a global attribute of a netcdf file. I could do:

file1=addfile(netcdf_filename,"w")
file1@SDATE = new_value

to change the value of "SDATE".

However, there is a special attribute "VAR-LIST" of the netcdf file. When I
type:

file1@VAR-LIST = new_value

it will give errors. I think it is related to the hyphen sign within the
variable name. How could I overcome this?

Thank you very much!

Ling

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Feb 6 21:30:32 2014

This archive was generated by hypermail 2.1.8 : Fri Feb 07 2014 - 16:39:11 MST