[gradsusr] strmden/skip

sim.aberson sim.aberson at noaa.gov
Fri Jan 12 09:53:59 EST 2018


Thanks for the response.  Yes, I want to overlay fields on the wind 
field, and there are far too many streamlines to see anything with set 
strmden -10.

This then brings up the question, is there a way to regrid within grads 
2.0+, or do I need to regrid with some other code and then use the 
regridded files to plot.  I could not find anything in the grads 
documentatoin about regridding.

Thanks.

On 1/12/18 6:09 AM, Davide Sacchetti wrote:
> 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
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
> 



More information about the gradsusr mailing list