<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Yaquiang: Please don't use the GrADS forum to promote MeteoInfo. <div><br></div><div>Nena: I haven't looked at the specific recipe you refer to; however, in order to draw a contour plot in GrADS that is based on station data, you use the oacres() function, which transforms the station data to a gridded field so that the contouring algorithm will work. The oacres() function requires a grid expression -- the data in the grid is ignored, it is just the grid information that is used to perform the transformation. My guess is that the wrf forecast data referred to in the recipe is merely there to provide a grid to interpolate to. You don't need WRF data to do this, you can create a dummy descriptor file that points to a fictitious data file but that should be sufficient for oacres() to work.</div><div><br></div><div>The dummy descriptor (foo.ctl) would look something like this: </div><div>dset ^foo.dat</div><div>options template </div><div>undef -9.99e8</div><div>title foo</div><div>xdef ...</div><div>ydef ...</div><div>zdef 1 linear 1 1</div><div>tdef 1 linear 1jan0001 1dy</div><div>vars 1</div><div>foo 0 99 foo</div><div>endvars</div><div><br></div><div>You would have to define the XDEF and YDEF entries to create a lat/lon grid that covers the area of your station observations, and has a resolution reasonably close to the density of your observational data. I would set the TDEF to match your station data set too. The 'options template' entry is necessary so that GrADS doesn't try to open foo.dat. You can open this dummy descriptor with GrADS, then use 'lon' or 'lat' (internally defined variables that contain the longitude/latitude values of the grid) as your grid expression in oacres. Your GrADS commands might look something like this: </div><div><br></div><div>ga-> open foo.ctl</div><div>ga-> open station.ctl</div><div>ga-> set gxout contour</div><div>ga-> d oacres(lon.1, var.2)</div><div><div><br></div><div>I hope this is the kind of help you were looking for. </div><div>--Jennifer</div><div><br></div><div><div><div><br></div><div><br></div><div>On Sep 22, 2010, at 6:00 AM, Yaqiang Wang wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>You can use MeteoInfo software to visualize AWS observation data.<br>ASCII format data were also supported. The software could be<br>downloaded freely from the website <a href="http://www.esnips.com/web/MeteoInfo">http://www.esnips.com/web/MeteoInfo</a><br>. The documents on the website will help you to use it.<br><br>Yaqiang<br><br>2010/9/22 Nena Carina Espaņola <<a href="mailto:nena@asti.dost.gov.ph">nena@asti.dost.gov.ph</a>>:<br><blockquote type="cite">Hi John. Thanks for the reply.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">The recipe was derived from the operational procedure of Brazil and we<br></blockquote><blockquote type="cite">wanted to adopt a similar procedure for the Philippines. I am from the IT<br></blockquote><blockquote type="cite">sector so I'm really new to all of these. What I actually wanted to ask<br></blockquote><blockquote type="cite">about is the numerical model data itself. I don't have that. I only have<br></blockquote><blockquote type="cite">observed data from AWS network. Can I actually use the wrf.dat that came<br></blockquote><blockquote type="cite">with the recipe or do I have to create my own from WRF? :-)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">What our team wants is to be able to visualize the hourly data we have for<br></blockquote><blockquote type="cite">temperature, humidity, pressure, wind speed, wind direction, solar<br></blockquote><blockquote type="cite">radiation, and hourly rain. But our priority is pressure, wind speed, and<br></blockquote><blockquote type="cite">wind direction. If you know of other techniques/recipes that I could follow<br></blockquote><blockquote type="cite">please let me know.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks and BR,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Nena<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">On Tuesday, 21 September, 2010 07:40 PM, Huddleston, John wrote:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Nena<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">run 'grads -l'<br></blockquote><blockquote type="cite">open wrf.ctl<br></blockquote><blockquote type="cite">set gxout shaed<br></blockquote><blockquote type="cite">set csmooth on<br></blockquote><blockquote type="cite">d slvl.1<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">and you will see the background color as shown in the example<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">set lon -43.75 -43.1<br></blockquote><blockquote type="cite">set lat -23.1 -22.7<br></blockquote><blockquote type="cite">d slvl.1<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">and it zooms into the area where the data points can be plotted<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">John Huddleston, PhD<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">________________________________<br></blockquote><blockquote type="cite">From: <a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a> [<a href="mailto:gradsusr-bounces@gradsusr.org">gradsusr-bounces@gradsusr.org</a>] On<br></blockquote><blockquote type="cite">Behalf Of Nena Carina Espaņola [<a href="mailto:nena@asti.dost.gov.ph">nena@asti.dost.gov.ph</a>]<br></blockquote><blockquote type="cite">Sent: Tuesday, September 21, 2010 12:24 AM<br></blockquote><blockquote type="cite">To: GrADS Users Forum<br></blockquote><blockquote type="cite">Subject: [gradsusr] Gridding and Plotting Station Data<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Hi Guys,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">First of all, I'm not a meteorologist so pardon me if my questions here<br></blockquote><blockquote type="cite">might sound silly to you. :-)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I need help with Recipe-013: Gridding and Plotting Station Data. What I need<br></blockquote><blockquote type="cite">to do is to be able to plot contour maps from hourly AWS data, just like<br></blockquote><blockquote type="cite">what was done in Recipe-013. However, I won't be plotting just<br></blockquote><blockquote type="cite">precipitation. I'll just start out with pressure. Later on if I already know<br></blockquote><blockquote type="cite">the ins and outs of this recipe, I'll be creating plots for other variables<br></blockquote><blockquote type="cite">such as temperature, wind speed, and wind direction.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">We have a team in charge of parsing the information from AWS and could feed<br></blockquote><blockquote type="cite">me data that's already been formatted to what Recipe-013 requires. Following<br></blockquote><blockquote type="cite">the recipe, I was able to create a control file and binary that GrADS could<br></blockquote><blockquote type="cite">read. What I don't understand is the wrf.dat and wrf.ctl that the recipe is<br></blockquote><blockquote type="cite">using. The recipe says it "contains any forecasted variable and, most<br></blockquote><blockquote type="cite">important, the information of the grid we want the station data to be<br></blockquote><blockquote type="cite">gridded to." Can someone explain this further to me? I was only asked to<br></blockquote><blockquote type="cite">plot actual data, no forecasting or whatsoever. :-)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks and regards,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Nena<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">gradsusr mailing list<br></blockquote><blockquote type="cite"><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br></blockquote><blockquote type="cite"><a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">--<br></blockquote><blockquote type="cite">GRID OPERATIONS TEAM<br></blockquote><blockquote type="cite">Advanced Science & Technology Institute<br></blockquote><blockquote type="cite">Department Of Science & Technology<br></blockquote><blockquote type="cite">ASTI Bldg., C.P. Garcia Ave., Technology Park Complex<br></blockquote><blockquote type="cite">U.P. Campus, Diliman, Quezon City, PHILIPPINES 1101<br></blockquote><blockquote type="cite">Tel No: +63 2 4269760<br></blockquote><blockquote type="cite">Email: <a href="mailto:nena@asti.dost.gov.ph">nena@asti.dost.gov.ph</a><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">gradsusr mailing list<br></blockquote><blockquote type="cite"><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br></blockquote><blockquote type="cite"><a href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><br>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></div></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span> </div><br></div></div></body></html>