[ncl-talk] Error while handling multiple WRF output files

Barry Lynn barry.h.lynn at gmail.com
Tue Sep 5 18:25:46 MDT 2017


Hi: did Rick's suggestion solve your problem? If not, I can send you my
program that uses the same approach - but for radar from a single wrf
output file -- to map panels from different times.

On Tuesday, September 5, 2017, Rick Brownrigg <brownrig at ucar.edu> wrote:

> I *think* the issue is that addfiles() returns a list of file-variables,
> not an array. You might try changing "a(itime)" to "a[itime]" in the call
> to wrf_contour().
>
> Rick
>
> On Tue, Sep 5, 2017 at 12:29 AM, Barry Lynn <barry.h.lynn at gmail.com
> <javascript:_e(%7B%7D,'cvml','barry.h.lynn at gmail.com');>> wrote:
>
>> Are you able to plot the temperature variable for a single WRF run?
>>
>> On Tue, Sep 5, 2017 at 9:16 AM, swati shewale <shewaleswati16 at gmail.com
>> <javascript:_e(%7B%7D,'cvml','shewaleswati16 at gmail.com');>> wrote:
>>
>>> Thank you for reciprocation so quickly. I want to plot temperature
>>> variable.
>>>
>>> On Mon, Sep 4, 2017 at 5:19 PM, Barry Lynn <barry.h.lynn at gmail.com
>>> <javascript:_e(%7B%7D,'cvml','barry.h.lynn at gmail.com');>> wrote:
>>>
>>>> Hi:
>>>> Can you tell me what you are trying to plot (without me needing to
>>>> look...).
>>>>
>>>> Which variable?
>>>>
>>>> I might have a program you can use with just a small modification.
>>>>
>>>> Barry
>>>>
>>>> On Mon, Sep 4, 2017 at 1:40 PM, swati shewale <shewaleswati16 at gmail.com
>>>> <javascript:_e(%7B%7D,'cvml','shewaleswati16 at gmail.com');>> wrote:
>>>>
>>>>> Hiiii
>>>>>
>>>>> I want to do panel plotting using WRF output. I have total 8 files,
>>>>> each contains single time step (one day, 3 hrly datafiles so total 8
>>>>> files). out of eight times I want to plot 6 time step (panel plot) for
>>>>> variable slp and temperature.
>>>>>
>>>>> It shows below error.
>>>>>
>>>>> fatal:Argument type mismatch on argument (0) of (wrf_contour) can not
>>>>> coerce
>>>>> fatal:["Execute.c":8567]:Execute: Error occurred at or near line 44
>>>>> in file temp.ncl
>>>>> (0)    Error: gsn_panel: all of the plots passed to gsn_panel appear
>>>>> to be invalid
>>>>>
>>>>>  Attached herewith script.
>>>>>
>>>>> Thank you in advance. Any help will be appreciated
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> ncl-talk mailing list
>>>>> ncl-talk at ucar.edu <javascript:_e(%7B%7D,'cvml','ncl-talk at ucar.edu');>
>>>>> List instructions, subscriber options, unsubscribe:
>>>>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Barry H. Lynn, Ph.D
>>>> Senior Lecturer,
>>>> The Institute of the Earth Science,
>>>> The Hebrew University of Jerusalem,
>>>> Givat Ram, Jerusalem 91904, Israel
>>>> Tel: 972 547 231 170
>>>> Fax: (972)-25662581
>>>>
>>>> C.E.O, Weather It Is, LTD
>>>> Weather and Climate Focus
>>>> http://weather-it-is.com
>>>> Jerusalem, Israel
>>>> Local: 02 930 9525
>>>> Cell: 054 7 231 170
>>>> Int-IS: x972 2 930 9525
>>>> US 914 432 3108 <(914)%20432-3108>
>>>>
>>>
>>>
>>
>>
>> --
>> Barry H. Lynn, Ph.D
>> Senior Lecturer,
>> The Institute of the Earth Science,
>> The Hebrew University of Jerusalem,
>> Givat Ram, Jerusalem 91904, Israel
>> Tel: 972 547 231 170
>> Fax: (972)-25662581
>>
>> C.E.O, Weather It Is, LTD
>> Weather and Climate Focus
>> http://weather-it-is.com
>> Jerusalem, Israel
>> Local: 02 930 9525
>> Cell: 054 7 231 170
>> Int-IS: x972 2 930 9525
>> US 914 432 3108 <(914)%20432-3108>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu <javascript:_e(%7B%7D,'cvml','ncl-talk at ucar.edu');>
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>

-- 
Barry H. Lynn, Ph.D
Senior Lecturer,
The Institute of the Earth Science,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581

C.E.O, Weather It Is, LTD
Weather and Climate Focus
http://weather-it-is.com
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
US 914 432 3108
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170906/071d5cca/attachment.html>


More information about the ncl-talk mailing list