[gradsusr] About Displaying contour shaded value at point station

Govind Jha govind_jha65 at yahoo.com
Tue Dec 29 00:58:30 EST 2020


Dear Sir,I have successfully plotted a map of maximum temperature at 2m. Now, I wish to display the value of the maximum temperature fixed station having lat and lon. Hoping for a response ASAP.
Here is the script  and output map and sample image:
'reinit'
'open wsm6_4km_new.ctl'
'set display color white'
'c'
'set lat 26 31'
'set lon 79 89'

'set grads off'
'set gxout shaded'
'set gridln off'
'set strsiz 0.20'

*'draw string 0.7c 8 Initial time 'tt''

*'draw string 7.8c 8 Valid time 'tt''

'set gxout contour'

'set ccolor 0'
'set cthick 6'
'set cint 2'
'set clab masked'
'set cterp off'


*'set mpdset hires'
'set gxout shaded'

'set cstyle 3'
'define mtemp=max(t2-273,t=10,t=19)'

'd mtemp'


'draw shp /home/gopi/Build_WRF/work/NCL_WORK/shapefiles/new_nepal_distct/NEw_DIstrci_Nepal.shp'
'set cterp off'
'draw title Maximum Temperature (C) at 2m'

******************TO display maximum value at a point station**************

'set lat 27.85'
'set lon 85.35'

'define maxvalue= mtemp'
'fprintf mtemp  bhw.txt %g 1 1'

****************************************************************************

'run cbarn.gs'

*'run nepal_cities.gs'
'run cities.gs'

*'cbarn 1 1'
'printim Max_wind.png x1600 y1200'

With Regards     ...........................................Govind Kumar Jha    
............................................ Assistant Meteorologist 
Department of Hydrology and Meteorology (DHM)
Office of Hydrology and MeteorologyGautam Buddha Airport,BhairahawaSidharthanagar-4,Rupandehi, Nepal

Tel: +977 071 504262, 
www.dhm.gov.np, www.hydrology.gov.np, www.mfd.gov.np
................................................ Mobile Number: 9779846265433 email id: govind_jha65 at yahoo.com................................................                    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20201229/4b13cd72/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 132602920_190670439462104_9155892916545590604_n.jpg
Type: image/jpeg
Size: 114076 bytes
Desc: not available
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20201229/4b13cd72/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Max_wind.png
Type: image/png
Size: 234406 bytes
Desc: not available
URL: <http://gradsusr.org/pipermail/gradsusr/attachments/20201229/4b13cd72/attachment-0001.png>


More information about the gradsusr mailing list