[gradsusr] strmden/skip

Davide Sacchetti davide.sacchetti at arpal.gov.it
Fri Jan 12 06:09:25 EST 2018


no chance using skip: use strmden
if strmden is not "strong" enough you could regrid your data on the fly
to coarser resolution and plot regridded data

bye bye
Davide

On Thu, 2018-01-11 at 15:58 -0500, sim.aberson wrote:
> I have a high-resolution wind analysis
> 
>   XDEF    501   LINEAR   -5.00000    0.02000
>   YDEF    401   LINEAR   -4.00000    0.02000
> 
> When I plot using
> 
>    'set gxout stream'
>    'set strmden -10'
>    'set cint 5'
>    'set clevs  5 10 02 20 25 30 35 40 45 50 55 60 65 70 75 80'
>    'set ccols  9 14  4 11  5 13  3 10  7 12  8  2  6  9  5 10'
>    'd urel;vrel;mag(urel,vrel)'
> 
> I get the attached.  I want even fewer streamlines than that, but
> the 
> documentation states that density is between -10 and 10.
> 
> I tried to use skip, but that seems to only work for arrows and
> barbs, 
> not streamlines.  I tried to create new variables using something
> like
> 
>    'define uskip=skip(urel,2,2)'
>    'define vskip=skip(vrel,2,2)'
>    'd uskip;vskip;mag(uskip,vskip)'
> 
> and I tried
> 
>    'd
> skip(urel,2,2);skip(vrel,2,2);mag(skip(urel,2,2),skip(vrel,2,2))'
> 
> and got the same thing for both, a blank plot.
> 
> Any suggestions?
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr



More information about the gradsusr mailing list