small bug in linint2_wrap??

From: Cathy Smith <cathy.smith_at_nyahnyahspammersnyahnyah>
Date: Tue Nov 29 2011 - 13:58:38 MST

NCL users:
I've been using linint2_wrap successfully to regrid. My issue is that
the name of the coordinate variables change slightly. Unfortunately, I
need them to stay exactly the same. Is there a way to rename coordinate
variables in NCL easily?

I call

VARnew =
linint2_Wrap(lat,uselevels(::-1),VAR(::-1,:),True,lat2nd,uselevels(::-1),0)

and this is what I get for printVarSummary for VARnew and VAR

Variable: VAR Type: float Total Size: 6336 bytes 1584 values Number of
Dimensions: 2 Dimensions and sizes: [lev | 11] x [lat | 144]
Coordinates: lev: [1000.. 100] lat: [-89.375..89.375] Number Of
Attributes: 7 units : m s-1 var_desc : Zonal Wind time : 731948
_FillValue : -9.99e+08 missing_value : -9.99e+08 long_name :
eastward wind component average_op_ncl : dim_avg over dimension: lon
(0)

Variable: VARnew Type: float Total Size: 3212 bytes 803 values Number of
Dimensions: 2 Dimensions and sizes: [LEV | 11] x [LAT | 73]
Coordinates: LEV: [100..1000] LAT: [-90..90] Number Of Attributes: 7
average_op_ncl : dim_avg over dimension: lon long_name : eastward
wind component missing_value : -9.99e+08 _FillValue : -9.99e+08
time : 731948 var_desc : Zonal Wind units : m s-1 (0)

I'm using 5.2.1 on linux redhat 64 bit machine.

Cathy Smith

-- 
----------------------------------------------
NOAA/ESRL PSD and CIRES CDC
303-497-6263
http://www.esrl.noaa.gov/psd/people/cathy.smith/
Emails about data/webpages may get quicker responses from emailing 
esrl.psd.data@noaa.gov
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Nov 29 13:58:48 2011

This archive was generated by hypermail 2.1.8 : Wed Nov 30 2011 - 19:52:47 MST