writing attributes without quotes

From: Mireia Udina <mudina_at_nyahnyahspammersnyahnyah>
Date: Mon Jul 23 2012 - 15:34:42 MDT

 Hi,

 I am building a netcdf file for WRF input. When writing global
 attributes, I need the following lines:

 :TRUELAT1 = 60.f ;
 :TRUELAT2 = 30.f ;

 In my ncl cript

 ff = addfile(dir+fname+".nc","c")
 globalAtt@TRUELAT2 = "60.f"
 globalAtt@TRUELAT1 = "30.f"
 fileattdef( ff, globalAtt )

 The result in ff file is that they appear as:

 // global attributes:
     :TRUELAT1 = "60.f" ;
     :TRUELAT2 = "30.f" ;

 and I do not want quotes on it (between 60.f and 30.f).

 Any clue?

-- 
 Mireia
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Jul 23 15:35:01 2012

This archive was generated by hypermail 2.1.8 : Tue Jul 24 2012 - 09:48:26 MDT