Re: Error trying to plot a MODIS data

From: Idowu, Oluseun S. (UMKC-Student) <oluseun.idowu_at_nyahnyahspammersnyahnyah>
Date: Thu Sep 01 2011 - 14:42:14 MDT

My NCL version = 6.0.0
My type of system = Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386

Thanks
--------------------------------------
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: Brian Medeiros <brianpm@ucar.edu<mailto:brianpm@ucar.edu>>
Date: Thu, 1 Sep 2011 11:40:47 -0600
To: "Idowu, Oluseun S. (UMKC-Student)" <oluseun.idowu@mail.umkc.edu<mailto:oluseun.idowu@mail.umkc.edu>>, <ncl-talk@ucar.edu<mailto:ncl-talk@ucar.edu>>
Subject: Re: Error trying to plot a MODIS data

I don't know why it would say gsn_csm_contour_map_other, but it looks like your variable wv1 in the line
 plot = gsn_csm_contour_map(wks,wv1,res)

has more than 2 dimensions. Try printVarSummary(wv1) to see, probably you'll need something like plot = gsn_csm_contour_map(wks,wv1(0,:,:),res)

.brian

On Sep 1, 2011, at 11:23 AM, Idowu, Oluseun S. (UMKC-Student) wrote:

Hi All,

I'm trying to read and display a sample MODIS data I've downloaded to begin to understand how to manipulate this data with NCL for my dissertation and I keep getting error. Pls see below.

I attach my script. Thanks

KC-dept-serialnumber:PhD oluseunidowu$ ncl readMODIS2.ncl
 Copyright (C) 1995-2011 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 6.0.0
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.
(0) gsn_csm_contour_map_other: Fatal: the input data array must be 1D or 2D
fatal:Illegal right-hand side type for assignment
fatal:Execute: Error occurred at or near line 143 in file readMODIS2.ncl

--------------------------------------
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<mailto:oluseun.idowu_at_mail.umkc.edu>; Web:http://oluseunidowu.webs.com/--

<readMODIS2.ncl><ATT00001..txt>

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Sep 1 14:42:21 2011

This archive was generated by hypermail 2.1.8 : Wed Sep 07 2011 - 10:58:58 MDT