Re: addfiles and plotting multiple wrfout_d01 files

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu, 21 May 2009 08:55:20 -0600 (MDT)

Hi Jonathan,

Your "fils" variable is just a string array of file names.

The "wrf_map" function needs a file that has been opened with
"addfile" or "addfiles".

I think want you want is:

   map = wrf_map(wks,f[0],mpres)

Note that you can't use "f", because "f" is a special "List" variable.
"f[0]" references the first file opened with "addfiles".

--Mary

On Wed, 20 May 2009 jwsmith_at_ucar.edu wrote:

> NCL_talk,
>
> Is there a mapping function that is specific to the addfiles and systemfunc
> functions? I
> am unable to plot figures for multiple wrfout_d01 files due to the wrf_map
> that I have
> been using with the addfile function.
>
> I have attached a the script that I am using to plot multple wrfout_d01
> files.
>
> Thanks,
>
> fatal:Argument type mismatch on argument (1) of (wrf_map) can not coerce
> fatal:Number of elements of dimension (0) of argument (1) is (3) in function
> (wrf_map),
> exp ected (1) elements
> fatal:Execute: Error occurred at or near line 48 in file
> o3_surface_multiple_wrfout_test.ncl
>
>
> Jonathan Wynn Smith
>
> Doctoral Student in Howard University
> Program in Atmospheric Sciences (HUPAS)
> 2008 ASP Graduate Student Visitor
> 2006 ASP Summer Colloquium Participant
>
> 408 Thirkield Building
> 2355 6th St. NW
> Washington, DC 20059
>
> E-mail: jw_smith_at_howard.edu or jwsmith9_at_gmail.com
> Cell Phone: 336-601-4563
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu May 21 2009 - 08:55:20 MDT

This archive was generated by hypermail 2.2.0 : Thu May 21 2009 - 16:54:57 MDT