comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: how to use MIN_CURVE_SURF when CONTOUR
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: how to use MIN_CURVE_SURF when CONTOUR [message #55886 is a reply to message #55873] Mon, 17 September 2007 08:48 Go to previous messageGo to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
qunjie0111@163.com wrote:
> 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)


You have a problem here..
gs= , $
[1.0,1.0]

you have a useless comma... so basically, gs is nothing, and maybe it is
the source of your problem..
Jean


>
> 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
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Uneven Set of x y coordinates
Next Topic: Order of argument evaluation (Was: Re: making a checkerboard array?)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Mon Dec 08 12:06:05 PST 2025

Total time taken to generate the page: 0.01130 seconds