[gradsusr] Creating Surface Temperature Analysis Plot from GrADS Homepage
Jennifer M Adams
jadams21 at gmu.edu
Mon Dec 18 11:22:00 EST 2017
Hi, Aaron —
That surface temperature plot on wx maps.org is based on station data — obs that are acquired via the LDM but are shared publicly via GDS at http://monsoondata.org:9090/dods/stn/metar/past48. I use the local copy of this data set and a dummy descriptor file that defines the destination grid I want to feed to the oacres() function:
'open past48.ctl'
'open dummy.ctl'
'set t last'
'set lon -150 90'
'set lat 0 90'
'set dfile 2'
'define foo = oacres(dummy.2,maskout(ts.1,filt.1-2.5),14,10,8,5,3,1)'
After this, I plot the defined grid ‘foo’. These are the map projection settings I have for that specific plot, settings for colors and contour levels are left for you to specify to meet your particular needs.
'set mproj nps'
'set mpvals -119 -76 25 54’
To indicate that the grid is based on station data and to show the original data, I overlay the actual station values as text on top of the contours:
'd maskout(ts.1,filt.1-2.5)’
The ‘filt’ variable is a rank that Brian Doty devised to filter/thin the obs so that they are not too crowded on the plot and become unreadable. I hope this is enough to get you started drawing your surface temperature plots.
—Jennifer
> On Dec 18, 2017, at 10:27 AM, Perry, Aaron <Aaron.Perry at lsc.vsc.edu> wrote:
>
> Good Morning,
>
> I am trying to plot lat/lon values in GrADS, similar to the Surface Temperature Analysis plot from the GrADS homepage (http://wxmaps.org/pix/curtmp.png).
>
> In the past, there were a few websites out there that explained how to accomplish this using FORTRAN and C++ but, they have since closed or are no longer available. I have been trying to create a gridded binary file using some FORTRAN code but, I have not had much luck. Based on the code examples, oacres() requires a gridded binary file as an input.
>
> Is the GrADS code for the homepage sfcT plot available?
>
>
> Aaron D. Perry
> Lyndon State College
> Lyndonville, VT 05851
> Twitter: @arnpry
> FB: fb.com/arnpry
> LinkedIn: arnpry
> Email: Aaron.Perry at lyndonstate.edu
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://secure-web.cisco.com/1HhAeNURNfODP9fnnvOlmZ5XPIWGhPfBsfVRm3miagRpzJFOMCw769_-WmvzUTrGEUV33GkgdT5dnj46LoRK3959grkq2OUc0vlruGxMlQP6nSUn-L1do1oWEctHN8KT_ENUbYRBNlqwJCpNfdlH3aYjWJNPl339Lk30tWQ692XWuSmVk7RhyznIDElP21XpTCKtIT8m_0PI0a4D5lQE4DcWPKUH7UTdl6IAErLbjF8vhgnGw1bKvGpu45r1kyyUdFdVnQGygbhE-unbEVKHm-wk1MeUvxlWw_TcO2ID6ANePpmO-bllXPDGJ9nsfSZ-2wh4tyglXnKv6WLAD6JXF58pJN9k0yXApbUS-Txn3Y4jqZImelyrm8i3Rkjps_UmbTWAhH45dX3I7n8wECle3J69_pX67N9Vh-ZIkNsOeotM9-h9GPJDUkX-YwKPXx4MY/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr
--
Jennifer Miletta Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
George Mason University
More information about the gradsusr
mailing list