[ncl-talk] NCL Error

Karin Meier-Fleischer meier-fleischer at dkrz.de
Tue Apr 12 02:11:20 MDT 2016


Hi JP,

the if-statement is wrong, use:

if(bprime .lt. 0)) then
   bprime = 0
end if

Bye,
Karin

Am 12.04.16 um 06:40 schrieb JP Kalb:
> Today at 9:36 PM
> Hi there,
> I am new to NCL. I am getting a fatal error message in my code for the 
> line that goes.
> If((bprime < 0))
> bprime=0
> endif
> The error is in the first line but I cannot figure out how to solve 
> it. Also, I am having trouble with my code as I am using a NAM model 
> nc but I cannot find the actual temperature and humidity for 
> individual pressure levels.
> Thanks,
>
> JP Kalb
>
>
> On Monday, April 11, 2016 9:36 PM, JP Kalb <jpkalb1990 at yahoo.com> wrote:
>
>
> Hi there,
> I am new to NCL. I am getting a fatal error message in my code for the 
> line that goes.
> If((bprime < 0))
> bprime=0
> endif
> The error is in the first line but I cannot figure out how to solve it.
> Thanks,
> JP Kalb
>
>
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

-- 
Dipl. Geophys. Karin Meier-Fleischer
Visualization, NCL
Application Support

Deutsches Klimarechenzentrum GmbH (DKRZ)
Bundesstrasse 45a - D20146 Hamburg - Germany

Phone:    +49 (0)40 460094 126
Fax:      +49 (0)40 460094 270
E-Mail:   meier-fleischer at dkrz.de
URL:      www.dkrz.de

Geschäftsführer: Prof. Dr. Thomas Ludwig
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160412/7b657ac2/attachment.html 


More information about the ncl-talk mailing list