Thanks Paula! that was it.
Now I'll have to make some cosmetic adjustments because the green plot (with pseudoadiabiats, etc.) is on top of the lower part of the wind barbs.
--Steve
________________________________
From: Paula Doubrawa Moreira <pmoreira_at_alaska.edu>
To: steve kirby <thin_runner_at_yahoo.com>
Cc: "ncl-talk_at_ucar.edu" <ncl-talk_at_ucar.edu>; wrf help <wrfhelp_at_ucar.edu>
Sent: Friday, August 26, 2011 5:00 PM
Subject: Re: skew T plot of WRF output
Perhaps you have only one time in your wrfout file ? In which case you should do
tc = wrf_user_getvar(a,"tc",0)
not
tc = wrf_user_getvar(a,"tc",1)
On Fri, Aug 26, 2011 at 2:56 PM, steve kirby <thin_runner_at_yahoo.com> wrote:
Hi,
>
>
>I'm trying to utilize wrf_SkewT.ncl to plot WRF output data.
>
>
>But, I'm getting:
>
>
>==================================================================
>
>fatal:Subscript out of range, error in subscript #0
>fatal:Execute: Error occurred at or near line 898 in file $NCARG_ROOT-/lib/narg/nclscripts/wrf/WRFUserARW.ncl
>
>
>fatal:Execute: Error occurred at or near line 20 in file wrf_skewT.sh (my version of wrf_SkewT.ncl)
>
>==================================================================
>
>
>line 898 in WRFUserARW.ncl has:
>T = nc_file->T(time_in,:,:,:)
>
>
>line 20 in skewT.sh has:
>tc = wrf_user_getvar(a,"tc",1)
>
>
>I realize this involves both NCL and WRF so I 've sent to both of you. At first I tried it with a big grid, 161x161x28 points and it failed so I thought it was too big a grid, so I tested a WRF grid of size 55x55x28, but get the same thing.
>
>
>error in subscript #0 refers to 'time_in" is that right? Not sure how that could get out of range. I must have something wrong. Any ideas are welcome.
>
>
>thanks,
>Steve
>
>
>
>_______________________________________________
>ncl-talk mailing list
>List instructions, subscriber options, unsubscribe:
>http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
--
Paula Doubrawa Moreira
Graduate Student - Research Assistant
International Arctic Research Center
University of Alaska Fairbanks
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Aug 26 17:18:48 2011
This archive was generated by hypermail 2.1.8 : Mon Aug 29 2011 - 21:44:22 MDT