[gradsusr] (no subject) (Andrew Friedman)

gigih bangun gigih.bangun.w at gmail.com
Mon Apr 13 17:35:19 EDT 2015


Hello Andrew, may I help you to write script for plot Outgoing Longwave
Radiation for monsoon event.

Script for OLR:
'sdfopen olr.nc' #if your data in .nc format
'q file' #to view the metadata of your data
'define olr=ave(global_olr,t=1,t=last)' #if you want to average your time
in monsoon event
'set lat -20 20' #to set latitude
'set lon 60 180' #to set longitude
'set gxout shaded' #to set fill contour
'set csmooth on'
#if you want to set your interval and color contour, you must set rgb,
clev, and ccols first,
'set rgb 91 130 0 220'
'set rgb 92 30 60 225'
'set rgb 93 0 160 225'
'set rgb 94 0 210 140'
'set rgb 95 0 220 0'
'set rgb 96 66 255 66'
'set rgb 97 160 230 50'
'set rgb 98 230 175 45'
'set rgb 99 240 130 40'
'set rgb 100 250 60 60'
'set rgb 101 249 28 28'
'set rgb 102 211 5 5'
'set rgb 103 179 4 4'
'set clevs 190 200 210 220 230 240 250 260 270 280 290'
'set ccols 91 92 93 94 95 96 97 98 99 100 101 102 103'
'd olr' #to display the map of OLR
'cbarn' #to show the scale bar of OLR

I hope it can help you :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150414/33b69171/attachment.html 


More information about the gradsusr mailing list