lonFlip

From: Benjamin Lamptey (lamptey AT essc.psu.edu)
Date: Mon May 09 2005 - 13:38:15 MDT


Hello,
I should be grateful if someone could clarify this for me.

The function lonFlip is used on variables that have lon as one of its
dimensions.

If I use lonFlip on the dimension "lon" itself, instead of the variable
is this likely to cause problems?

That is, if I do the following

LON = datain->lon
LON = 180*LON/pi

lon = lonFlip(LON)

Then as I read in several variables, I do

T&lon = lon

where T is dimensioned time, lev, lat,lon

Should the above work OK?
Thanks
Ben

-- 

Benjamin L. Lamptey Phone: (814) 865-9911 (office) Pennstate (EMS Environment Institute) (814) 237-8193 (home) 2217 Earth-Engineering Sciences Bldg Fax : (814) 865-3191 University Park, PA 16802 WWW:http://www.essc.psu.edu/~lamptey

_______________________________________________ ncl-talk mailing list ncl-talk@ucar.edu http://mailman.ucar.edu/mailman/listinfo/ncl-talk



This archive was generated by hypermail 2b29 : Mon May 09 2005 - 14:46:42 MDT