Hello,<br><br>this type map has from all globe ? where can do donwload (site)? how was from <span lang="en"><span style="background-color: rgb(230, 236, 249); color: rgb(0, 0, 0);" title="">attach in grads with my data of the model rams variable precipitacion?<br>

<br>thanks very much</span></span><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Mark Sponsler</b> <span dir="ltr">&lt;<a href="mailto:msponsler@comcast.net">msponsler@comcast.net</a>&gt;</span><br>
Date: 2010/11/5<br>Subject: Re: [gradsusr] Command produces a PNG image with transparent color 0 and a background image NE.png<br>To: GrADS Users Forum &lt;<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>&gt;<br>
<br><br><div><div style="font-family: Arial; font-size: 10pt; color: rgb(0, 0, 0);"><p><span>Hi Jeff,</span></p>
<p><span>I do this all the time. It&#39;s really pretty simple once you get it figured out once. It works with even early revs of Grads, like back to 1.9. I don&#39;t use imagemagik for basic displays, but you can to produce some fancier effects.  Here&#39;s the basics: </span></p>

<p><span></span> </p>
<p><span>So for something like precip here&#39;s what I do:</span></p>
<p><span></span> </p>
<p><span>First just plot the basic precipitation</span></p>
<p><span></span> </p>
<p><span>  &#39;set mpdset worldmap&#39;<br>  &#39;set mpdraw on&#39;<br>  &#39;set map 0 1 1&#39;</span></p>
<p><span></span> </p>
<p><span>   &#39;set clevs 0 .01 0.1 0.2 0.4 0.6 0.8 1.0 1.3 1.7 2.0 2.3 2.7 3.0 3.3 3.7 4.0 4.5 5.0&#39;<br>   &#39;set ccols 0  0   40  70  71  72  73  88  28  29  78  30  31  80  81  82  83  84  85  85&#39;<br>   &#39;d apcpsfc&#39;</span></p>

<p><span></span> </p>
<p><span>Then print your image to a png</span></p>
<p><span></span> </p>
<p><span>   &#39;printim c:/grib/dods_eta_output/test.png png -b c:/grib//background/imagname.png -t 0 x700 y541 white&#39; <br>   &#39;clear&#39;</span></p>
<p><span></span> </p>
<p><span>This produces the image &#39;test.png&#39; </span></p>
<p><span></span> </p>
<p><span>Then finish your graphic by adding contours, maybe another shaded overlay and other stuff:</span></p>
<p><span>**Low Pressure**</span></p>
<p><span>   &#39;set gxout contour&#39;<br>   &#39;set cint 2&#39;<br>   &#39;set ccolor 80&#39;<br>   &#39;set clab on&#39;<br>   &#39;set cthick 5&#39;<br>   &#39;set clskip 2&#39;<br>   &#39;set clopts 80 2 0.09&#39;<br>
   &#39;set cmax 1011&#39; <br>   &#39;d prmslmsl/100&#39;<br>** High Pressure  **<br>   &#39;set gxout contour&#39;<br>   &#39;set cint 2&#39;<br>   &#39;set ccolor 4&#39;<br>   &#39;set clab on&#39;<br>   &#39;set clskip 1&#39;<br>
   &#39;set cthick 5&#39;<br>   &#39;set cmin 1011.1&#39;<br>   &#39;set clopts 70 2 0.09&#39;<br>   &#39;d prmslmsl/100&#39;</span></p>
<p><span></span> </p>
<p><span>   &#39;draw map&#39;</span></p>
<p><span></span> </p>
<p><span>Then print your image again.</span></p>
<p> </p>
<p>   &#39;printim &#39;c/grib/dods_eta_output/precip/&#39;location_name&#39;_&#39;time&#39;hr.png png -b c:/grib/dods_eta_output/test.png -t 0 x700 y541 white&#39; <br>   &#39;clear&#39;<br><br>I&#39;ve included the background image (nwcoast.png), the interim image (test.png) and the final result (nwcoast_84hr.png).  </p>

<p> </p>
<p>Note - When using foreground images things get a little bit trickier in that your foreground image needs to first be manipulated in an image editing program to set some portion of it to be transparent (so the weather data will bleed through).  </p>

<p> </p>
<div><font size="2">Thanks,<br>Mark</font></div><div class="im"><br><br>----- Original Message -----<br>From: &quot;Jeff Chabot&quot; &lt;<a href="mailto:jsc219@gmail.com" target="_blank">jsc219@gmail.com</a>&gt;<br>To: <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
Sent: Thursday, November 4, 2010 5:48:56 PM<br>Subject: [gradsusr] Command produces a PNG image with transparent color 0 and a background image NE.png<br><br>Hello GrADS Users,<br><br>I am trying to get a background image behind my precip/ptype products in GrADS and I am having absolutely no luck.<br>
<br>GrADS versions that I have tried:<br><br>Grid Analysis and Display System (GrADS) Version 2.0.a9<br>Grid Analysis and Display System (GrADS) Version 2.0.a7<br><br>Error that I receive: <br><br>PRINTIM error: background image open error<br>
<br>printim example that I am using:<br><br>printim precip_NE_1.png png x570 y435 -b NE.png -t 0<br><br>I am using the full path for the output image and background image, I just removed it from the above command.<br><br>
This is the png image that I would like to use (or it will look something like this):<br><br><a href="http://jeffsweatherservice.com/images/NE.png" target="_blank">http://jeffsweatherservice.com/images/NE.png</a><br><br>The above image would be a background to an image like:<br>
<br><a href="http://jeffsweatherservice.com/grads/nam/precip_NE_2.png" target="_blank">http://jeffsweatherservice.com/grads/nam/precip_NE_2.png</a><br><br>Does anyone know how to make this work?  Or does anyone have another way that I could get a green/brown basemap with blue water to replace the plan white background?  I have the basemap stencil working on temperature products, but that will not work well for precip/ptype products.<br>
<br>Any help/insight here would be greatly appreciated.<br><br>Sincerely,<br><br><br>Jeff Chabot<br><a href="mailto:jsc219@gamil.com" target="_blank">jsc219@gamil.com</a>  <br><br><br><br><br></div>_______________________________________________<br>
gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</div></div><br>_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br></div><br>