[ncl-talk] tc not getting recognized in version 6.3.0
Dennis Shea
shea at ucar.edu
Mon Jul 10 10:56:47 MDT 2017
If the variable is on the file(s) and it is named 'TH' , there is no need
to use 'wrf_user_getvar'
dirw = "./"
filw = system("cd "+dirw+" ; ls wrfout_d0*")
pthw = dirw*filw
print(pthw)
fwrf = addfiles(pthw, "r")
t = fwrf[:]->TH
printVarSummary(t)
On Sun, Jul 9, 2017 at 8:10 PM, Muhammad Omer Mughal <
m.mughal1 at postgrad.curtin.edu.au> wrote:
> Hi Mary
>
>
> Thanks for the reply and comments.
>
>
> I found out that the WRF variable T has been renamed to TH in my WRF
> configuration and the wrfout_d0* now contain TH instead of T. Is there a
> way to change T to TH in
>
> $NCARG_ROOT/lib/ncarg/nclscripts/wrf/WRFUserARW.ncl
>
>
> or do I have to recompile and rerun WRF ?
>
>
>
> Muhammad Omer Mughal
> MSc BSc Mechanical Engineering
> PhD Research Scholar
> Remote Sensing and Satellite Research Group
> Department of Imaging and Applied Physics
> Curtin University
>
> Curtin University
> Tel | +61 8 9266 7962
> Fax | +61 8 9266 2377
> Mobile | 0470 237 525
>
> Email | m.mughal1 at postgrad.curtin.edu.au <m.lynch at curtin.edu.au>
> Web | http://curtin.edu.au
>
> Curtin University is a trademark of Curtin University of Technology.
> CRICOS Provider Code 00301J (WA), 02637B (NSW)
>
>
> ------------------------------
> *From:* Mary Haley <haley at ucar.edu>
> *Sent:* Friday, 7 July 2017 12:03:59 AM
> *To:* Muhammad Omer Mughal
> *Cc:* ncl-talk at ucar.edu
> *Subject:* Re: [ncl-talk] tc not getting recognized in version 6.3.0
>
> Hi Muhammad,
>
> Important things to note about wrf_user_getvar:
>
> - You can only use this function on WRF-ARW data.
>
> - You must call this function with the file pointer from opening the WRF
> output file:
>
> f =
>
> addfile("wrfout_d01_2008-09-29_20:30:00.nc","r")
>
>
> tc = wrf_user_getvar(f,"tc",-1)
>
> If you continue to have problems, please provide the relevant code where
> you call wrf_user_getvar
> along with
> the exact error message, so we can debug this.
>
>
> Thanks,
>
> --Mary
>
>
>
> On Wed, Jul 5, 2017 at 8:02 PM, Muhammad Omer Mughal <
> m.mughal1 at postgrad.curtin.edu.au> wrote:
>
>> Hi all
>>
>>
>> I am using wrf_user_getvar function I am using temperature variable tc
>> but its not getting recognized for some reason. Can any one suggest a
>> solution
>>
>>
>>
>> Muhammad Omer Mughal
>> MSc BSc Mechanical Engineering
>> PhD Research Scholar
>> Remote Sensing and Satellite Research Group
>> Department of Imaging and Applied Physics
>> Curtin University
>>
>> Curtin University
>> Tel | +61 8 9266 7962
>> Fax | +61 8 9266 2377
>> Mobile | 0470 237 525
>>
>> Email | m.mughal1 at postgrad.curtin.edu.au <m.lynch at curtin.edu.au>
>> Web | http://curtin.edu.au
>>
>> Curtin University is a trademark of Curtin University of Technology.
>> CRICOS Provider Code 00301J (WA), 02637B (NSW)
>>
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170710/e0c3b30b/attachment.html
More information about the ncl-talk
mailing list