[gradsusr] strmden/skip

sim.aberson sim.aberson at noaa.gov
Fri Jan 12 15:45:36 EST 2018


With lterp, don't I need another gridded field at a lower resolution as 
the destination (dest)?  I don't have that, just the fields at the 
0.02-degree resolution.

I tried strmden X where x is between -10 and 0.  There really isn't much 
difference between any of them.

Thanks,
Sim

On 1/12/18 10:35 AM, Jennifer M Adams wrote:
> Use the lterp() function to coarsen the grid of your wind fields to spread out the streamlines. You might also try tweaking the spatial domain a little bit, or playing with other strmden values  — try using -8 or -2 to see how that affects things. My recollection is that -1 to -10 is not necessarily a linear path in the same way that 1 to 6 is, but it’s been a while since I played with high-res streamlines. —Jennifer
> 
>> On Jan 12, 2018, at 9:53 AM, sim.aberson <sim.aberson at noaa.gov> wrote:
>>
>> 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://secure-web.cisco.com/1YBWKQ6jvm7950p3sfdh2JbmSgoDrZKS_JEeyi2bPQgtxvjvHxusb-T3Rcf7t93z2L6q3w1pd94XUpwJ2srxkPzqoocviTb2FNKqB9K0zpUUFRZWbGiz4RMmbXvlxbMxuTcfYK6tjgVVgNq4w1Y2QfQSH8TE4AUYImaoE9YVUMu_SMmyu6Uf-Tyd1oxJeeXwbAopt9NbQboGyr_08S0etlhNTI_sA9sW-NYrluc1VWbRsKcjVoceEoS8nQ39lsHSUA8La0eIHRpDMGIsvNT8Of8Luya8FEha01l0kTT8sXQ8xVKWvonrBdWPpcr6ledbf5SmXUVfowXm60DD1nZdMm-bDw8F-3ltK5GITGMzzt6g9Sxru7t6XsS2l92RSpa9Wpoo1locvZQ_66SB50FuPHDhDcmHpS-KJnN4dCWJ2EG8WQojXHuLOOGqPHf0WqQEU/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr
>>> _______________________________________________
>>> gradsusr mailing list
>>> gradsusr at gradsusr.org
>>> http://secure-web.cisco.com/1YBWKQ6jvm7950p3sfdh2JbmSgoDrZKS_JEeyi2bPQgtxvjvHxusb-T3Rcf7t93z2L6q3w1pd94XUpwJ2srxkPzqoocviTb2FNKqB9K0zpUUFRZWbGiz4RMmbXvlxbMxuTcfYK6tjgVVgNq4w1Y2QfQSH8TE4AUYImaoE9YVUMu_SMmyu6Uf-Tyd1oxJeeXwbAopt9NbQboGyr_08S0etlhNTI_sA9sW-NYrluc1VWbRsKcjVoceEoS8nQ39lsHSUA8La0eIHRpDMGIsvNT8Of8Luya8FEha01l0kTT8sXQ8xVKWvonrBdWPpcr6ledbf5SmXUVfowXm60DD1nZdMm-bDw8F-3ltK5GITGMzzt6g9Sxru7t6XsS2l92RSpa9Wpoo1locvZQ_66SB50FuPHDhDcmHpS-KJnN4dCWJ2EG8WQojXHuLOOGqPHf0WqQEU/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://secure-web.cisco.com/1YBWKQ6jvm7950p3sfdh2JbmSgoDrZKS_JEeyi2bPQgtxvjvHxusb-T3Rcf7t93z2L6q3w1pd94XUpwJ2srxkPzqoocviTb2FNKqB9K0zpUUFRZWbGiz4RMmbXvlxbMxuTcfYK6tjgVVgNq4w1Y2QfQSH8TE4AUYImaoE9YVUMu_SMmyu6Uf-Tyd1oxJeeXwbAopt9NbQboGyr_08S0etlhNTI_sA9sW-NYrluc1VWbRsKcjVoceEoS8nQ39lsHSUA8La0eIHRpDMGIsvNT8Of8Luya8FEha01l0kTT8sXQ8xVKWvonrBdWPpcr6ledbf5SmXUVfowXm60DD1nZdMm-bDw8F-3ltK5GITGMzzt6g9Sxru7t6XsS2l92RSpa9Wpoo1locvZQ_66SB50FuPHDhDcmHpS-KJnN4dCWJ2EG8WQojXHuLOOGqPHf0WqQEU/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr
>>
> 
> --
> Jennifer Miletta Adams
> Center for Ocean-Land-Atmosphere Studies (COLA)
> George Mason University
> 
> 
> 
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
> 



More information about the gradsusr mailing list