<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello Everyone<br>
<br>
Sorry, i'm an a beginer in GrADS and came from php, etc. <br>
I have read many documentation and tutorials, but i have still
problems to understand the const and maskout function.<br>
Now, i have a few questions and hope you can answer it and give me
maybe a example. <br>
<br>
1. how i can get a value from a variable? Example; i will get the
temperature of tmp2m (result 71 fahreinheit or 65 fahreinheit,
etc).<br>
2. how i can write a if/else statement grads likely with const and
maskout? Example, i will plot a shaded file and values only, if
cape180mb are over 500J/kg and the shear is over 10m/s ?<br>
<br>
Example what i try to get: <br>
<br>
If the cape180mb is over 500J/kg AND the shear is over 10m/s, then
grads should draw yellow color in the area, where caoe is over
500J and shear over 10m. on the other areas it should be nothing
colored/drawed. <br>
<br>
I don't know all of it, but in PHP i would be solved the problem
with if/else:<br>
<br>
if(cape >= 500 && shear > 10m/s)<br>
draw red shades over the areas with the values above<br>
else if (cape > 200 && < 500 && shear =
10m/s)<br>
draw yellow shades over the areas<br>
else<br>
draw nothing (the chart/color should be white/transaprent)<br>
<br>
Thank you for your inputs and help<br>
</p>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
Freundliche GrĂ¼sse / Best Regards<br>
Dominic Kurz<br>
Präsident / CEO<br>
<br>
</div>
<div class="moz-signature"> </div>
<b>UwBe International</b><br>
<div class="moz-signature"> <b>Severe Weather Research &
Taskforce</b><br>
Einschlagstrasse 30<br>
CH-4622 Egerkingen<br>
Switzerland<br>
<br>
Tel.: +41 78 340 46 78<br>
Direct: +41 76 270 70 87</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">
<div class="moz-signature">
<div class="moz-signature">
<div class="moz-signature">
<div class="moz-signature">
<div class="moz-signature">
<div class="moz-signature"><a
href="https://uwbeinternational.org"><img
moz-do-not-send="false"
src="cid:part1.D901D5C1.10B5F8BE@uwbeinternational.org"
alt="" width="251" height="82" border="0"></a></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="moz-signature"><br>
</div>
<div class="moz-signature">E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:info@uwbeinternational.org">info@uwbeinternational.org</a><br>
Web: <a href="https://uwbeinternational.org" target="_blank">www.uwbeinternational.org</a><br>
<br>
<a href="https://facebook.com/uwbeinternational" target="_blank">Find
us on Facebook</a></div>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br /> <table style="border-top: 1px solid #D3D4DE;">
<tr>
<td style="width: 55px; padding-top: 18px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
<td style="width: 470px; padding-top: 17px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virenfrei. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" style="color: #4453ea;">www.avast.com</a> </td>
</tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>