how to use MIN_CURVE_SURF when CONTOUR [message #55894] |
Fri, 14 September 2007 19:01 |
qunjie0111
Messages: 9 Registered: September 2007
|
Junior Member |
|
|
hello!
my data is data(144,73).
longitude: lon = indgen(144)*2.5
latitude: lat = indgen(73)*2.5-90.
Before I CONTOUR it,I want to smooth the data ,using the function
MIN_CURVE_SURF.MY code is:
smoothdata=MIN_CURVE_SURF(data,xvalues=lon,yvalues =lat,gs= , $
[1.0,1.0],bounds=[0,-90,359,90],/sphere,/TPS)
But , after runing ,there are some errors :
Attempt to subscript P3 with J is out of range.
Error occurred at: MIN_CURVE_SURF 310 D:\RSI\IDL63\lib
\min_curve_surf.pro
ZONAL_MEAN_DATA 45 E:\DATA\ECMWF\zonal_mean_data.pro
$MAIN$
Execution halted at: ZONAL_MEAN_DATA 45 E:\DATA\ECMWF
\zonal_mean_data.pro
Program caused arithmetic error: Floating illegal operand
I don't know how to correct them , please help me! thanks!
zuoqunjie
|
|
|