[gradsusr] TEMPERATURE AND RH CONTOURS

Mohsen Soltani soltani.clima at gmail.com
Mon May 6 06:06:28 EDT 2013


Dear Manu,

The below script might helps you to produce a map of shaded
temperature in the background with R. humidity contours overlay.


'sdfopen .........temperature data........nc'
'set grads off'
'set grid off'
    'set lon .. ..'
    'set lat .. ..'
'set t .....'

** please change the following, if needed****

'set gxout shaded'
    'set vpage 0.0 11 0.0 8.5'
    'set parea 1.0 10.20 0.60 8.0'
    'set csmooth on'
    'set grid off'
    'set grads off'
    'set xlint 10'
    'set ylint 5'
    'set font 1'
'set font 1'
    'set cthick 6'

     'set rgb 19 255 255 160'
     'set rgb 20 255 225 120'
     'set rgb 21 255 192 60'
     'set rgb 22 255 160 0'
     'set rgb 23 255 96 0'
     'set rgb 24 255 50 0'
     'set rgb 60 255 35 0'
     'set rgb 25 225 20 0'
     'set rgb 26 192 0 0'
     'set rgb 27 165 0 0'
     'set rgb 28 130 0 0'
     'set rgb 29 102 0 0'
     'set rgb 30 70 0 0'

    'set rgb 40 209 228 253'
    'set rgb 42 164 205 236'
    'set rgb 43 125 184 227'
    'set rgb 44 40 179 219'
    'set rgb 45 55 146 213'
    'set rgb 46 119 147 255'
    'set rgb 47 36 88 255'
    'set rgb 48 0 47 236'
    'set rgb 49 0 37 175'
    'set rgb 50 0 37 147'
    'set rgb 51 0 23 117'
    'set rgb 52 0 10 95'
    'set rgb 53 0 5 75'
    'set rgb 54 0 5 55'
    'set rgb 55 0 5 35'
    'set rgb 56 0 5 15'

    'set clevs -7 -6 -4 -2 0 2 4 6 8 10 12 14 16 18 20'
    'set ccols 48 46 45 44 43 40 0 20 21 22 23 24 25 26 27 28 29 30'

    'set clab on'
    'set xlopts 1 6 0.19'
    'set ylopts 1 6 0.19'
    'set mpdset mres'
    'set rgb 95 75 75 75'
    'set map 95 1 6'
    'set ccolor 1 1 6'
    'display air-273.14'
**************************
    'run cbarn  1 1 10.3 4.20'

***Overlay Contour****************


    'set csmooth on'
    'set grid off'
    'set grads off'
    'set clevs -7 -6 -4 -2 0 2 4 6 8 10 12 14 16 18 20'
    'set clskip 2'
    'set font 1'
    'set gxout contour'
    'set cstyle 1'
    'set ccolor 15'
    'set cthick 5'
    'set clab off'
    'set xlopts 1 6 0.19'
    'set ylopts 1 6 0.19'
    'set clopts 1 6 0.10'
    'display air-273.14'
'set mpdset hires'

****the above will produce temperature with a shaded backround +
temperature contours overlay*****

'sdfopen .......R.Humidity data.......nc'
'set dfile 2'
'set t .....'

**other functions may be needed, it's up to you!*****

'set gxout contour''
'd rhum (or what you've defined!)'

'set cmin 50' *** this function doesn't make values under 50% of Rhum
data in the chart*****

Good Luck,
Mohsen

On 5/6/13, manu verma <verma.manuu at gmail.com> wrote:
> Dear all
>
> I want to make temperature and rh contours both together on one frame and
> both must be shaded and rh to ne grater that 50 %.
>
>
> PLease help me
>
> Manu
>


-- 
--
some are weather-wise some are otherwise!
--
Best Wishes,
(Mr.) Mohsen Soltani
Climatology Grad Student (M.Sc.),
Faculty of Geography, University of Tehran, Tehran, Iran
Tel: (+98) 9119772934
e-mail: soltani.clima at gmail.com



More information about the gradsusr mailing list