[Wrf-users] negative values when i plot rainfall output

afwande juliet afwandej965 at gmail.com
Wed Feb 10 09:29:02 MST 2016


Hi all
I am using ferret; I am not sure how to remove the negative values. I am
using NCL

On Wed, Feb 10, 2016 at 8:13 AM, <mmkamal at uwaterloo.ca> wrote:

> Hi Juliet,
>
> I do not know which language you are using to process WRF output. I am
> using NCL to process my WRF output. In NCL, you can use the following
> command to remove any negative values of both convective and non convective
> precipitation.
>
>
> ======================================
> ;-----> read in data
>
>     f1  = addfile ("/home/wrfout_d01_2000-01-01.nc","r")   ; location of
> your WRF history file
>
>     rain_conv       =  f1->RAINC(:,:,:)
>     rain_non_conv   =  f1->RAINNC(:,:,:)
>
>     x1   = rain_conv  > 0.0            ; consider only values greater than
> zero
>     y1   = rain_non_conv > 0.0
>
>     total_rainfall = x1+y1
>
> ===========================================
>
> I hope this helps.
>
>
> Thanks
> Mostofa Kamal
> PhD Candidate
> Department of Earth and Environmental Sciences
> University of Waterloo
> Ontario, Canada
>
>
>
>
> Quoting afwande juliet <afwandej965 at gmail.com>:
>
> Dear Users
>> I am perplexed. I plotted WRF output Rainc and Rainnc and Rainnc+Rainc
>> My worry is that there are negative values for convective rain and when i
>> add convective and non convective rain.But when I plot only non convective
>> rain, no negative value in the scale is seen
>>
>> Is the problem with my simualtions? OR how can I avoid negative values? I
>> am using ferret to plot
>>
>>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20160210/a79d6935/attachment.html 


More information about the Wrf-users mailing list