[ncl-talk] NCL Error

David Brown dbrown at ucar.edu
Tue Apr 12 12:23:31 MDT 2016


A small correction to Karin's answer: there is a extra ending
parenthesis. It should be

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

 -dave


On Tue, Apr 12, 2016 at 2:11 AM, Karin Meier-Fleischer
<meier-fleischer at dkrz.de> wrote:
> 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
>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>


More information about the ncl-talk mailing list