<html><head></head><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div dir="ltr"><span>I tried that change but I am getting a scalar issue since I want to look at vertical motion at different levels.</span></div><div></div><div id="yui_3_16_0_ym19_1_1460437253226_24264"> </div><div class="signature">JP Kalb</div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div dir="ltr"><font size="2" face="Arial"> On Tuesday, April 12, 2016 11:23 AM, David Brown <dbrown@ucar.edu> wrote:<br></font></div> <br><br> <div class="y_msg_container">A small correction to Karin's answer: there is a extra ending<br clear="none">parenthesis. It should be<br clear="none"><br clear="none">if (bprime .lt. 0) then<br clear="none"> bprime = 0<br clear="none">end if<br clear="none"><br clear="none"> -dave<br clear="none"><br clear="none"><br clear="none">On Tue, Apr 12, 2016 at 2:11 AM, Karin Meier-Fleischer<br clear="none"><<a shape="rect" ymailto="mailto:meier-fleischer@dkrz.de" href="mailto:meier-fleischer@dkrz.de">meier-fleischer@dkrz.de</a>> wrote:<br clear="none">> Hi JP,<br clear="none">><br clear="none">> the if-statement is wrong, use:<br clear="none">><br clear="none">> if(bprime .lt. 0)) then<br clear="none">> bprime = 0<br clear="none">> end if<br clear="none">><br clear="none">> Bye,<br clear="none">> Karin<br clear="none">><br clear="none">> Am 12.04.16 um 06:40 schrieb JP Kalb:<br clear="none">><br clear="none">> Today at 9:36 PM<br clear="none">> Hi there,<br clear="none">> I am new to NCL. I am getting a fatal error message in my code for the line<br clear="none">> that goes.<br clear="none">> If((bprime < 0))<br clear="none">> bprime=0<br clear="none">> endif<br clear="none">> The error is in the first line but I cannot figure out how to solve it.<br clear="none">> Also, I am having trouble with my code as I am using a NAM model nc but I<br clear="none">> cannot find the actual temperature and humidity for individual pressure<br clear="none">> levels.<br clear="none">> Thanks,<br clear="none">><br clear="none">><br clear="none">> JP Kalb<br clear="none">><br clear="none">><br clear="none">> On Monday, April 11, 2016 9:36 PM, JP Kalb <<a shape="rect" ymailto="mailto:jpkalb1990@yahoo.com" href="mailto:jpkalb1990@yahoo.com">jpkalb1990@yahoo.com</a>> wrote:<br clear="none">><br clear="none">><br clear="none">> Hi there,<br clear="none">> I am new to NCL. I am getting a fatal error message in my code for the line<br clear="none">> that goes.<br clear="none">> If((bprime < 0))<br clear="none">> bprime=0<br clear="none">> endif<br clear="none">> The error is in the first line but I cannot figure out how to solve it.<br clear="none">> Thanks,<br clear="none">><br clear="none">> JP Kalb<br clear="none">><br clear="none">><br clear="none">><br clear="none">><br clear="none">> _______________________________________________<br clear="none">> ncl-talk mailing list<br clear="none">> <a shape="rect" ymailto="mailto:ncl-talk@ucar.edu" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br clear="none">> List instructions, subscriber options, unsubscribe:<br clear="none">> <a shape="rect" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br clear="none">><br clear="none">><br clear="none">> --<br clear="none">> Dipl. Geophys. Karin Meier-Fleischer<br clear="none">> Visualization, NCL<br clear="none">> Application Support<br clear="none">><br clear="none">> Deutsches Klimarechenzentrum GmbH (DKRZ)<br clear="none">> Bundesstrasse 45a - D20146 Hamburg - Germany<br clear="none">><br clear="none">> Phone: +49 (0)40 460094 126<br clear="none">> Fax: +49 (0)40 460094 270<br clear="none">> E-Mail: <a shape="rect" ymailto="mailto:meier-fleischer@dkrz.de" href="mailto:meier-fleischer@dkrz.de">meier-fleischer@dkrz.de</a><br clear="none">> URL: www.dkrz.de<br clear="none">><br clear="none">> Geschäftsführer: Prof. Dr. Thomas Ludwig<br clear="none">> Sitz der Gesellschaft: Hamburg<br clear="none">> Amtsgericht Hamburg HRB 39784<div class="yqt2106225121" id="yqtfd26806"><br clear="none">><br clear="none">><br clear="none">> _______________________________________________<br clear="none">> ncl-talk mailing list<br clear="none">> <a shape="rect" ymailto="mailto:ncl-talk@ucar.edu" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br clear="none">> List instructions, subscriber options, unsubscribe:<br clear="none">> <a shape="rect" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br clear="none">><br clear="none">_______________________________________________<br clear="none">ncl-talk mailing list<br clear="none"><a shape="rect" ymailto="mailto:ncl-talk@ucar.edu" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br clear="none">List instructions, subscriber options, unsubscribe:<br clear="none"><a shape="rect" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br clear="none"></div><br><br></div> </div> </div> </div></div></body></html>