[gradsusr] How to display averages of multiple variables for same time steps in one map
Zaib-un- Nisa
zaib.envsc at gmail.com
Wed Mar 4 13:57:52 EST 2015
Thank you. I fixed it out by your suggestion.
On Wed, Mar 4, 2015 at 10:36 PM, Rashed Mahmood <rashidcomsis at gmail.com>
wrote:
> not sure what exactly the problem is but I would suggest a couple
> modifications to your script.
>
> I think you should first display "gxout shaded" and then "gxout contour",
> otherwise, as in your script, the contours would be covered by the
> temperature shading.
> I would also suggest commenting or deleting "set t 21 44'" .
> Hope that helps.
>
> On Tue, Mar 3, 2015 at 9:45 AM, Zaib-un- Nisa <zaib.envsc at gmail.com>
> wrote:
>
>> *Dear Users,*
>>
>> I am unable to configure where actually the fault lies! i am trying to
>> display the average of geopotential height, wind vectors and surface
>> temperature in single map. I have combined these variables in one netcdf
>> file. I am calculating their averages step by step.Script is as follows;
>>
>> 'reinit'
>> 'sdfopen d:/JRA/oct2004/oct2004.nc'
>> 'set display color white'
>> 'c'
>> 'set lat 23 38'
>> 'set lon 58 78'
>> 'set z 7'
>> 'set e 1'
>> 'set t 21 44'
>> ***
>> 'set vpage 0 11 0 8.5'
>> 'set timelab off'
>> 'set grads off'
>> 'set grid off'
>> 'set mpdset hires'
>> 'set csmooth on'
>> 'set gxout contour'
>> 'set cthick 0.5'
>> 'set clopts 0.6 0.6 0.15'
>> 'set ccolor 1'
>> 'define w=ave(hgt,t=21,t=44)'
>> 'd w'
>> 'set gxout shaded'
>> 'define tm1= ave(tmp-273.15,t=21,t=44)'
>> *'color -10 40 2 -kind blue->cyan->white->yellow->orange->red->maroon'
>> 'd tm1'
>> 'set gxout vector'
>> 'set arrscl 1 20'
>> 'set ccolor 1'
>> 'define x = ave(ugrd,t=21,t=44)'
>> 'define y = ave(vgrd,t=21,t=44)'
>> 'd x;y'
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150304/01b2e330/attachment.html
More information about the gradsusr
mailing list