Re: Help

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue Sep 13 2011 - 12:18:46 MDT

You are calling gsn_csm_contour_map_ce with:

  plot = gsn_csm_contour_map_ce(wks,T(0,0),res)

By subscripting T as "T(0,0)" you are effectively passing just one point to the contour routine, which makes no sense.

Since T is 2D, try passing in the full array:

  plot = gsn_csm_contour_map_ce(wks,T,res)

--Mary

On Sep 13, 2011, at 10:00 AM, Idowu, Oluseun S. (UMKC-Student) wrote:

> Thanks. That problem was fixed but then I got this error again. I attach the plot
>
>
> 0) Error: scalar_field: If the input data is 1-dimensional, you must set sfXArray and sfYArray to 1-dimensional arrays of the same length.
> warning:create: Bad HLU id passed to create, ignoring it
>
> --------------------------------------
> Oluseun S. IDOWU
> Department of Geosciences
> 420 Robert H. Flarsheim Hall
> 5110 Rockhill Road University of Missouri-Kansas City
> Kansas City, MO 64110-2499, USA
> Tel: +1 816 235 5995; Fax: +1 816 235 5535
> Mobile: +1 816 359 7030; E-mail: oluseun.idowu_at_mail.umkc.edu; Web:http://oluseunidowu.webs.com/--
>
>
> From: Michael Notaro <mnotaro@wisc.edu>
> Date: Tue, 13 Sep 2011 10:49:06 -0500
> To: "Idowu, Oluseun S. (UMKC-Student)" <oluseun.idowu@mail.umkc.edu>
> Cc: "ncl-talk@ucar.edu" <ncl-talk@ucar.edu>
> Subject: Re: Help
>
> Maybe try adding an "end" line
> since you have a "begin" line.
>
>
> On Sep 13, 2011, at 10:45 AM, Idowu, Oluseun S. (UMKC-Student) wrote:
>
>> <eraread.ncl>
>
> <eraread.ncl><ers40.ps>_______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Tue Sep 13 12:18:53 2011

This archive was generated by hypermail 2.1.8 : Fri Sep 16 2011 - 11:24:25 MDT