<html><head></head><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_ym19_1_1507021266627_5565"><span id="yui_3_16_0_ym19_1_1507021266627_5733">Dear All,</span></div><div id="yui_3_16_0_ym19_1_1507021266627_5565" dir="ltr"><span id="yui_3_16_0_ym19_1_1507021266627_5734">I want to concatenate a number of daily_data.nc on Windows OS. Please can someone identify a script that works on OpenGrADS 2.0.</span></div><div id="yui_3_16_0_ym19_1_1507021266627_5565" dir="ltr"><span><br></span></div><div id="yui_3_16_0_ym19_1_1507021266627_5565" dir="ltr"><span>Thanks.</span></div><div></div><div id="yui_3_16_0_ym19_1_1507021266627_5735"> </div><div class="signature" id="yui_3_16_0_ym19_1_1507021266627_4970"><div id="yui_3_16_0_ym19_1_1507021266627_4969"><div id="yiv6504939703yui_3_16_0_1_1438766642490_8404" dir="ltr" style="font-size:medium;"><span class="yiv6504939703" id="yiv6504939703yui_3_16_0_1_1438766642490_8626" style="line-height:14px;font-size:small;">Dr Ugochukwu K. Okoro</span></div><div id="yiv6504939703yui_3_16_0_1_1438766642490_8404" dir="ltr" style="font-size:medium;"><br></div></div></div> <div class="qtdSeparateBR"><br><br></div><div class="yahoo_quoted" style="display: block;"> <div style="font-family: 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 Monday, October 2, 2017 11:55 PM, "gradsusr-request@gradsusr.org" <gradsusr-request@gradsusr.org> wrote:<br></font></div> <br><br> <div class="y_msg_container"><div dir="ltr">Send gradsusr mailing list submissions to<br></div><div dir="ltr"> <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br></div><div dir="ltr"><br></div><div dir="ltr">To subscribe or unsubscribe via the World Wide Web, visit<br></div><div dir="ltr"> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div><div dir="ltr">or, via email, send a message with subject or body 'help' to<br></div><div dir="ltr"> <a ymailto="mailto:gradsusr-request@gradsusr.org" href="mailto:gradsusr-request@gradsusr.org">gradsusr-request@gradsusr.org</a><br></div><div dir="ltr"><br></div><div dir="ltr">You can reach the person managing the list at<br></div><div dir="ltr"> <a ymailto="mailto:gradsusr-owner@gradsusr.org" href="mailto:gradsusr-owner@gradsusr.org">gradsusr-owner@gradsusr.org</a><br></div><div dir="ltr"><br></div><div dir="ltr">When replying, please edit your Subject line so it is more specific<br></div><div dir="ltr">than "Re: Contents of gradsusr digest..."<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">Today's Topics:<br></div><div dir="ltr"><br></div><div dir="ltr"> 1. Re: Maskout two different fields (Andrew Friedman)<br></div><div dir="ltr"> 2. Re: Maskout two different fields (Daniel Nairn)<br></div><div dir="ltr"> 3. Re: Maskout two different fields (Andrew Friedman)<br></div><div dir="ltr"> 4. Re: Maskout two different fields (Daniel Nairn)<br></div><div dir="ltr"> 5. Re: Maskout two different fields (Jeff Duda)<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">----------------------------------------------------------------------<br></div><div dir="ltr"><br></div><div dir="ltr">Message: 1<br></div><div dir="ltr">Date: Sun, 1 Oct 2017 22:55:38 +0200<br></div><div dir="ltr">From: Andrew Friedman <<a ymailto="mailto:andfried@gmail.com" href="mailto:andfried@gmail.com">andfried@gmail.com</a>><br></div><div dir="ltr">Subject: Re: [gradsusr] Maskout two different fields<br></div><div dir="ltr">To: GrADS Users Forum <<a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br></div><div dir="ltr">Message-ID: <<a ymailto="mailto:140EC942-0F86-4C2E-8BCE-52CCFC174ED2@gmail.com" href="mailto:140EC942-0F86-4C2E-8BCE-52CCFC174ED2@gmail.com">140EC942-0F86-4C2E-8BCE-52CCFC174ED2@gmail.com</a>><br></div><div dir="ltr">Content-Type: text/plain; charset=us-ascii<br></div><div dir="ltr"><br></div><div dir="ltr">Hi Daniel,<br></div><div dir="ltr"><br></div><div dir="ltr">What if you simplify it by just looking at the inner loop: maskout(cape,myhel-100)? Does the output look correct? Then you can build on it by adding the successive const loops.<br></div><div dir="ltr"><br></div><div dir="ltr">Andrew<br></div><div dir="ltr"><br></div><div dir="ltr">> On Oct 1, 2017, at 12:59 PM, Daniel Nairn <<a ymailto="mailto:dannairn@gmail.com" href="mailto:dannairn@gmail.com">dannairn@gmail.com</a>> wrote:<br></div><div dir="ltr">> <br></div><div dir="ltr">> Hello<br></div><div dir="ltr">> <br></div><div dir="ltr">> I am trying to plot a chart (from one ensemble member) that displays SBCAPE where 0-1km helicity is greater than 100. This is how my current script looks<br></div><div dir="ltr">> <br></div><div dir="ltr">> 'define cape = capesfc(e=2)'<br></div><div dir="ltr">> 'define myhel = HLCY0_1000m(e=2)'<br></div><div dir="ltr">> 'define capehel = const(const(maskout(cape,myhel-100),1),0.0,-u)'<br></div><div dir="ltr">> 'd capehel'<br></div><div dir="ltr">> <br></div><div dir="ltr">> I'm not convinced this is correct as my final image output does not show any CAPE values where expected. Can anybody help at all?<br></div><div dir="ltr">> <br></div><div dir="ltr">> _______________________________________________<br></div><div dir="ltr">> gradsusr mailing list<br></div><div dir="ltr">> <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br></div><div dir="ltr">> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">------------------------------<br></div><div dir="ltr"><br></div><div dir="ltr">Message: 2<br></div><div dir="ltr">Date: Mon, 2 Oct 2017 08:00:59 +0100<br></div><div dir="ltr">From: Daniel Nairn <<a ymailto="mailto:dannairn@gmail.com" href="mailto:dannairn@gmail.com">dannairn@gmail.com</a>><br></div><div dir="ltr">Subject: Re: [gradsusr] Maskout two different fields<br></div><div dir="ltr">To: GrADS Users Forum <<a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br></div><div dir="ltr">Message-ID:<br></div><div dir="ltr"> <CAPo+bHo9ut7EOP0hUDdW+<a ymailto="mailto:0dBHfBUULKjkTzLpyDcCKKb9tyf3Q@mail.gmail.com" href="mailto:0dBHfBUULKjkTzLpyDcCKKb9tyf3Q@mail.gmail.com">0dBHfBUULKjkTzLpyDcCKKb9tyf3Q@mail.gmail.com</a>><br></div><div dir="ltr">Content-Type: text/plain; charset="utf-8"<br></div><div dir="ltr"><br></div><div dir="ltr">Hello Andrew<br></div><div dir="ltr"><br></div><div dir="ltr">Yes I simplified the script as suggested at that does look much better,<br></div><div dir="ltr">thank you. Not quite sure what I've done wrong with the const loops though.<br></div><div dir="ltr"><br></div><div dir="ltr">On 1 October 2017 at 21:55, Andrew Friedman <<a ymailto="mailto:andfried@gmail.com" href="mailto:andfried@gmail.com">andfried@gmail.com</a>> wrote:<br></div><div dir="ltr"><br></div><div dir="ltr">> Hi Daniel,<br></div><div dir="ltr">><br></div><div dir="ltr">> What if you simplify it by just looking at the inner loop:<br></div><div dir="ltr">> maskout(cape,myhel-100)? Does the output look correct? Then you can build<br></div><div dir="ltr">> on it by adding the successive const loops.<br></div><div dir="ltr">><br></div><div dir="ltr">> Andrew<br></div><div dir="ltr">><br></div><div dir="ltr">> > On Oct 1, 2017, at 12:59 PM, Daniel Nairn <<a ymailto="mailto:dannairn@gmail.com" href="mailto:dannairn@gmail.com">dannairn@gmail.com</a>> wrote:<br></div><div dir="ltr">> ><br></div><div dir="ltr">> > Hello<br></div><div dir="ltr">> ><br></div><div dir="ltr">> > I am trying to plot a chart (from one ensemble member) that displays<br></div><div dir="ltr">> SBCAPE where 0-1km helicity is greater than 100. This is how my current<br></div><div dir="ltr">> script looks<br></div><div dir="ltr">> ><br></div><div dir="ltr">> > 'define cape = capesfc(e=2)'<br></div><div dir="ltr">> > 'define myhel = HLCY0_1000m(e=2)'<br></div><div dir="ltr">> > 'define capehel = const(const(maskout(cape,myhel-100),1),0.0,-u)'<br></div><div dir="ltr">> > 'd capehel'<br></div><div dir="ltr">> ><br></div><div dir="ltr">> > I'm not convinced this is correct as my final image output does not show<br></div><div dir="ltr">> any CAPE values where expected. Can anybody help at all?<br></div><div dir="ltr">> ><br></div><div dir="ltr">> > _______________________________________________<br></div><div dir="ltr">> > gradsusr mailing list<br></div><div dir="ltr">> > <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br></div><div dir="ltr">> > <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">> _______________________________________________<br></div><div dir="ltr">> gradsusr mailing list<br></div><div dir="ltr">> <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br></div><div dir="ltr">> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div><div dir="ltr">><br></div><div dir="ltr">-------------- next part --------------<br></div><div dir="ltr">An HTML attachment was scrubbed...<br></div><div dir="ltr">URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20171002/c1993263/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20171002/c1993263/attachment-0001.html </a><br></div><div dir="ltr"><br></div><div dir="ltr">------------------------------<br></div><div dir="ltr"><br></div><div dir="ltr">Message: 3<br></div><div dir="ltr">Date: Mon, 2 Oct 2017 12:52:54 +0200<br></div><div dir="ltr">From: Andrew Friedman <<a ymailto="mailto:andfried@gmail.com" href="mailto:andfried@gmail.com">andfried@gmail.com</a>><br></div><div dir="ltr">Subject: Re: [gradsusr] Maskout two different fields<br></div><div dir="ltr">To: GrADS Users Forum <<a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br></div><div dir="ltr">Message-ID: <<a ymailto="mailto:877F230E-6AB9-43AF-8199-72820E086481@gmail.com" href="mailto:877F230E-6AB9-43AF-8199-72820E086481@gmail.com">877F230E-6AB9-43AF-8199-72820E086481@gmail.com</a>><br></div><div dir="ltr">Content-Type: text/plain; charset=us-ascii<br></div><div dir="ltr"><br></div><div dir="ltr">Hi Daniel,<br></div><div dir="ltr">Could it be an issue with contour shading? If you pick a point where you know there is a value, is the output correct?<br></div><div dir="ltr">Andrew<br></div><div dir="ltr"><br></div><div dir="ltr">> On Oct 2, 2017, at 9:00 AM, Daniel Nairn <<a ymailto="mailto:dannairn@gmail.com" href="mailto:dannairn@gmail.com">dannairn@gmail.com</a>> wrote:<br></div><div dir="ltr">> <br></div><div dir="ltr">> Hello Andrew<br></div><div dir="ltr">> <br></div><div dir="ltr">> Yes I simplified the script as suggested at that does look much better, thank you. Not quite sure what I've done wrong with the const loops though.<br></div><div dir="ltr">> <br></div><div dir="ltr">> On 1 October 2017 at 21:55, Andrew Friedman <<a ymailto="mailto:andfried@gmail.com" href="mailto:andfried@gmail.com">andfried@gmail.com</a>> wrote:<br></div><div dir="ltr">> Hi Daniel,<br></div><div dir="ltr">> <br></div><div dir="ltr">> What if you simplify it by just looking at the inner loop: maskout(cape,myhel-100)? Does the output look correct? Then you can build on it by adding the successive const loops.<br></div><div dir="ltr">> <br></div><div dir="ltr">> Andrew<br></div><div dir="ltr">> <br></div><div dir="ltr">> > On Oct 1, 2017, at 12:59 PM, Daniel Nairn <<a ymailto="mailto:dannairn@gmail.com" href="mailto:dannairn@gmail.com">dannairn@gmail.com</a>> wrote:<br></div><div dir="ltr">> ><br></div><div dir="ltr">> > Hello<br></div><div dir="ltr">> ><br></div><div dir="ltr">> > I am trying to plot a chart (from one ensemble member) that displays SBCAPE where 0-1km helicity is greater than 100. This is how my current script looks<br></div><div dir="ltr">> ><br></div><div dir="ltr">> > 'define cape = capesfc(e=2)'<br></div><div dir="ltr">> > 'define myhel = HLCY0_1000m(e=2)'<br></div><div dir="ltr">> > 'define capehel = const(const(maskout(cape,myhel-100),1),0.0,-u)'<br></div><div dir="ltr">> > 'd capehel'<br></div><div dir="ltr">> ><br></div><div dir="ltr">> > I'm not convinced this is correct as my final image output does not show any CAPE values where expected. Can anybody help at all?<br></div><div dir="ltr">> ><br></div><div dir="ltr">> > _______________________________________________<br></div><div dir="ltr">> > gradsusr mailing list<br></div><div dir="ltr">> > <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br></div><div dir="ltr">> > <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div><div dir="ltr">> <br></div><div dir="ltr">> <br></div><div dir="ltr">> _______________________________________________<br></div><div dir="ltr">> gradsusr mailing list<br></div><div dir="ltr">> <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br></div><div dir="ltr">> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div><div dir="ltr">> <br></div><div dir="ltr">> _______________________________________________<br></div><div dir="ltr">> gradsusr mailing list<br></div><div dir="ltr">> <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br></div><div dir="ltr">> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">------------------------------<br></div><div dir="ltr"><br></div><div dir="ltr">Message: 4<br></div><div dir="ltr">Date: Mon, 2 Oct 2017 12:12:58 +0100<br></div><div dir="ltr">From: Daniel Nairn <<a ymailto="mailto:dannairn@gmail.com" href="mailto:dannairn@gmail.com">dannairn@gmail.com</a>><br></div><div dir="ltr">Subject: Re: [gradsusr] Maskout two different fields<br></div><div dir="ltr">To: GrADS Users Forum <<a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br></div><div dir="ltr">Message-ID:<br></div><div dir="ltr"> <CAPo+bHpL0gBngdi7B1G1Mkx560L5sUSS=<a ymailto="mailto:0VHCyCyU9RKXRgvCQ@mail.gmail.com" href="mailto:0VHCyCyU9RKXRgvCQ@mail.gmail.com">0VHCyCyU9RKXRgvCQ@mail.gmail.com</a>><br></div><div dir="ltr">Content-Type: text/plain; charset="utf-8"<br></div><div dir="ltr"><br></div><div dir="ltr">No I don't think so, what I've done is break down the script (as below)<br></div><div dir="ltr">again and this now actually looks okay<br></div><div dir="ltr"><br></div><div dir="ltr">'define cape = capesfc'<br></div><div dir="ltr">'define myhel = HLCY0_1000m'<br></div><div dir="ltr">'define myval = maskout(cape,myhel-100)'<br></div><div dir="ltr">'define myval2 = const(myval, 0, -u)'<br></div><div dir="ltr">'d myval2'<br></div><div dir="ltr"><br></div><div dir="ltr">I'm still unsure as to what I'm doing wrong when its all combined into one<br></div><div dir="ltr">line, but at least this appears to be working. Thank you.<br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">On 2 October 2017 at 11:52, Andrew Friedman <<a ymailto="mailto:andfried@gmail.com" href="mailto:andfried@gmail.com">andfried@gmail.com</a>> wrote:<br></div><div dir="ltr"><br></div><div dir="ltr">> Hi Daniel,<br></div><div dir="ltr">> Could it be an issue with contour shading? If you pick a point where you<br></div><div dir="ltr">> know there is a value, is the output correct?<br></div><div dir="ltr">> Andrew<br></div><div dir="ltr">><br></div><div dir="ltr">> > On Oct 2, 2017, at 9:00 AM, Daniel Nairn <<a ymailto="mailto:dannairn@gmail.com" href="mailto:dannairn@gmail.com">dannairn@gmail.com</a>> wrote:<br></div><div dir="ltr">> ><br></div><div dir="ltr">> > Hello Andrew<br></div><div dir="ltr">> ><br></div><div dir="ltr">> > Yes I simplified the script as suggested at that does look much better,<br></div><div dir="ltr">> thank you. Not quite sure what I've done wrong with the const loops though.<br></div><div dir="ltr">> ><br></div><div dir="ltr">> > On 1 October 2017 at 21:55, Andrew Friedman <<a ymailto="mailto:andfried@gmail.com" href="mailto:andfried@gmail.com">andfried@gmail.com</a>> wrote:<br></div><div dir="ltr">> > Hi Daniel,<br></div><div dir="ltr">> ><br></div><div dir="ltr">> > What if you simplify it by just looking at the inner loop:<br></div><div dir="ltr">> maskout(cape,myhel-100)? Does the output look correct? Then you can build<br></div><div dir="ltr">> on it by adding the successive const loops.<br></div><div dir="ltr">> ><br></div><div dir="ltr">> > Andrew<br></div><div dir="ltr">> ><br></div><div dir="ltr">> > > On Oct 1, 2017, at 12:59 PM, Daniel Nairn <<a ymailto="mailto:dannairn@gmail.com" href="mailto:dannairn@gmail.com">dannairn@gmail.com</a>> wrote:<br></div><div dir="ltr">> > ><br></div><div dir="ltr">> > > Hello<br></div><div dir="ltr">> > ><br></div><div dir="ltr">> > > I am trying to plot a chart (from one ensemble member) that displays<br></div><div dir="ltr">> SBCAPE where 0-1km helicity is greater than 100. This is how my current<br></div><div dir="ltr">> script looks<br></div><div dir="ltr">> > ><br></div><div dir="ltr">> > > 'define cape = capesfc(e=2)'<br></div><div dir="ltr">> > > 'define myhel = HLCY0_1000m(e=2)'<br></div><div dir="ltr">> > > 'define capehel = const(const(maskout(cape,myhel-100),1),0.0,-u)'<br></div><div dir="ltr">> > > 'd capehel'<br></div><div dir="ltr">> > ><br></div><div dir="ltr">> > > I'm not convinced this is correct as my final image output does not<br></div><div dir="ltr">> show any CAPE values where expected. Can anybody help at all?<br></div><div dir="ltr">> > ><br></div><div dir="ltr">> > > _______________________________________________<br></div><div dir="ltr">> > > gradsusr mailing list<br></div><div dir="ltr">> > > <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br></div><div dir="ltr">> > > <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div><div dir="ltr">> ><br></div><div dir="ltr">> ><br></div><div dir="ltr">> > _______________________________________________<br></div><div dir="ltr">> > gradsusr mailing list<br></div><div dir="ltr">> > <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br></div><div dir="ltr">> > <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div><div dir="ltr">> ><br></div><div dir="ltr">> > _______________________________________________<br></div><div dir="ltr">> > gradsusr mailing list<br></div><div dir="ltr">> > <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br></div><div dir="ltr">> > <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">> _______________________________________________<br></div><div dir="ltr">> gradsusr mailing list<br></div><div dir="ltr">> <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br></div><div dir="ltr">> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div><div dir="ltr">><br></div><div dir="ltr">-------------- next part --------------<br></div><div dir="ltr">An HTML attachment was scrubbed...<br></div><div dir="ltr">URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20171002/ab4fffdd/attachment-0001.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20171002/ab4fffdd/attachment-0001.html </a><br></div><div dir="ltr"><br></div><div dir="ltr">------------------------------<br></div><div dir="ltr"><br></div><div dir="ltr">Message: 5<br></div><div dir="ltr">Date: Mon, 2 Oct 2017 10:50:04 -0500<br></div><div dir="ltr">From: Jeff Duda <<a ymailto="mailto:jeffduda319@gmail.com" href="mailto:jeffduda319@gmail.com">jeffduda319@gmail.com</a>><br></div><div dir="ltr">Subject: Re: [gradsusr] Maskout two different fields<br></div><div dir="ltr">To: GrADS Users Forum <<a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>><br></div><div dir="ltr">Message-ID:<br></div><div dir="ltr"> <CAAig09CAmXct31OiHAfwNM56jHMsA=9U0fKLD-b-B4+<a ymailto="mailto:TLapdUA@mail.gmail.com" href="mailto:TLapdUA@mail.gmail.com">TLapdUA@mail.gmail.com</a>><br></div><div dir="ltr">Content-Type: text/plain; charset="utf-8"<br></div><div dir="ltr"><br></div><div dir="ltr">Daniel,<br></div><div dir="ltr">Why are you applying the const() function in this problem? From your code,<br></div><div dir="ltr">myval2 should be a field of all zeros except for in the masked area. I<br></div><div dir="ltr">would think you would want to plot myval only. If myval looks wrong then<br></div><div dir="ltr">either your cape or helicity fields are full of bad data. I would display<br></div><div dir="ltr">each separately to confirm if that is a problem.<br></div><div dir="ltr"><br></div><div dir="ltr">Jeff Duda<br></div><div dir="ltr"><br></div><div dir="ltr">On Mon, Oct 2, 2017 at 6:12 AM, Daniel Nairn <<a ymailto="mailto:dannairn@gmail.com" href="mailto:dannairn@gmail.com">dannairn@gmail.com</a>> wrote:<br></div><div dir="ltr"><br></div><div dir="ltr">> No I don't think so, what I've done is break down the script (as below)<br></div><div dir="ltr">> again and this now actually looks okay<br></div><div dir="ltr">><br></div><div dir="ltr">> 'define cape = capesfc'<br></div><div dir="ltr">> 'define myhel = HLCY0_1000m'<br></div><div dir="ltr">> 'define myval = maskout(cape,myhel-100)'<br></div><div dir="ltr">> 'define myval2 = const(myval, 0, -u)'<br></div><div dir="ltr">> 'd myval2'<br></div><div dir="ltr">><br></div><div dir="ltr">> I'm still unsure as to what I'm doing wrong when its all combined into one<br></div><div dir="ltr">> line, but at least this appears to be working. Thank you.<br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">> On 2 October 2017 at 11:52, Andrew Friedman <<a ymailto="mailto:andfried@gmail.com" href="mailto:andfried@gmail.com">andfried@gmail.com</a>> wrote:<br></div><div dir="ltr">><br></div><div dir="ltr">>> Hi Daniel,<br></div><div dir="ltr">>> Could it be an issue with contour shading? If you pick a point where you<br></div><div dir="ltr">>> know there is a value, is the output correct?<br></div><div dir="ltr">>> Andrew<br></div><div dir="ltr">>><br></div><div dir="ltr">>> > On Oct 2, 2017, at 9:00 AM, Daniel Nairn <<a ymailto="mailto:dannairn@gmail.com" href="mailto:dannairn@gmail.com">dannairn@gmail.com</a>> wrote:<br></div><div dir="ltr">>> ><br></div><div dir="ltr">>> > Hello Andrew<br></div><div dir="ltr">>> ><br></div><div dir="ltr">>> > Yes I simplified the script as suggested at that does look much better,<br></div><div dir="ltr">>> thank you. Not quite sure what I've done wrong with the const loops though.<br></div><div dir="ltr">>> ><br></div><div dir="ltr">>> > On 1 October 2017 at 21:55, Andrew Friedman <<a ymailto="mailto:andfried@gmail.com" href="mailto:andfried@gmail.com">andfried@gmail.com</a>> wrote:<br></div><div dir="ltr">>> > Hi Daniel,<br></div><div dir="ltr">>> ><br></div><div dir="ltr">>> > What if you simplify it by just looking at the inner loop:<br></div><div dir="ltr">>> maskout(cape,myhel-100)? Does the output look correct? Then you can build<br></div><div dir="ltr">>> on it by adding the successive const loops.<br></div><div dir="ltr">>> ><br></div><div dir="ltr">>> > Andrew<br></div><div dir="ltr">>> ><br></div><div dir="ltr">>> > > On Oct 1, 2017, at 12:59 PM, Daniel Nairn <<a ymailto="mailto:dannairn@gmail.com" href="mailto:dannairn@gmail.com">dannairn@gmail.com</a>> wrote:<br></div><div dir="ltr">>> > ><br></div><div dir="ltr">>> > > Hello<br></div><div dir="ltr">>> > ><br></div><div dir="ltr">>> > > I am trying to plot a chart (from one ensemble member) that displays<br></div><div dir="ltr">>> SBCAPE where 0-1km helicity is greater than 100. This is how my current<br></div><div dir="ltr">>> script looks<br></div><div dir="ltr">>> > ><br></div><div dir="ltr">>> > > 'define cape = capesfc(e=2)'<br></div><div dir="ltr">>> > > 'define myhel = HLCY0_1000m(e=2)'<br></div><div dir="ltr">>> > > 'define capehel = const(const(maskout(cape,myhel-100),1),0.0,-u)'<br></div><div dir="ltr">>> > > 'd capehel'<br></div><div dir="ltr">>> > ><br></div><div dir="ltr">>> > > I'm not convinced this is correct as my final image output does not<br></div><div dir="ltr">>> show any CAPE values where expected. Can anybody help at all?<br></div><div dir="ltr">>> > ><br></div><div dir="ltr">>> > > _______________________________________________<br></div><div dir="ltr">>> > > gradsusr mailing list<br></div><div dir="ltr">>> > > <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br></div><div dir="ltr">>> > > <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div><div dir="ltr">>> ><br></div><div dir="ltr">>> ><br></div><div dir="ltr">>> > _______________________________________________<br></div><div dir="ltr">>> > gradsusr mailing list<br></div><div dir="ltr">>> > <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br></div><div dir="ltr">>> > <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div><div dir="ltr">>> ><br></div><div dir="ltr">>> > _______________________________________________<br></div><div dir="ltr">>> > gradsusr mailing list<br></div><div dir="ltr">>> > <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br></div><div dir="ltr">>> > <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div><div dir="ltr">>><br></div><div dir="ltr">>><br></div><div dir="ltr">>> _______________________________________________<br></div><div dir="ltr">>> gradsusr mailing list<br></div><div dir="ltr">>> <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br></div><div dir="ltr">>> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div><div dir="ltr">>><br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr">> _______________________________________________<br></div><div dir="ltr">> gradsusr mailing list<br></div><div dir="ltr">> <a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br></div><div dir="ltr">> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div><div dir="ltr">><br></div><div dir="ltr">><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">-- <br></div><div dir="ltr">Jeff Duda<br></div><div dir="ltr">Post-doctoral research fellow<br></div><div dir="ltr">University of Oklahoma School of Meteorology<br></div><div dir="ltr">-------------- next part --------------<br></div><div dir="ltr">An HTML attachment was scrubbed...<br></div><div dir="ltr">URL: <a href="http://gradsusr.org/pipermail/gradsusr/attachments/20171002/abd94d37/attachment.html" target="_blank">http://gradsusr.org/pipermail/gradsusr/attachments/20171002/abd94d37/attachment.html </a><br></div><div dir="ltr"><br></div><div dir="ltr">------------------------------<br></div><div dir="ltr"><br></div><div dir="ltr">_______________________________________________<br></div><div dir="ltr">gradsusr mailing list<br></div><div dir="ltr"><a ymailto="mailto:gradsusr@gradsusr.org" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br></div><div dir="ltr"><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">End of gradsusr Digest, Vol 92, Issue 2<br></div><div dir="ltr">***************************************<br></div><br><br></div> </div> </div> </div></div></body></html>