[gradsusr] Maskout Temperature Values

Chorley Weather weatherstu at chorleyweather.com
Mon Aug 17 09:57:48 EDT 2015


On 17-08-2015 14:52, Stephen McMillan wrote:
> Stuart,
> I had no problem using skip, e.g.:
> 
> 'd skip(maskout(t2m,landsfc-0.5),2)'
> 
> displays every other grid value in both x- and y-direction
> Stephen
> 
> On Mon, Aug 17, 2015 at 9:21 AM, Chorley Weather
> <weatherstu at chorleyweather.com> wrote:
> 
>> Hi Folks,
>> 
>> I am having trouble with the spacing of temperature values (grid)
>> when I use maskout. As you can see in the attached image, the values
>> are very close and not very readable. Is there a way to space them
>> out like when you use the skip function, which by the way doesn't
>> seem to work with maskout.
>> 
>> 'define t2m = const((tmp2m-273.16),0,-u)'
>> 'set gxout grid'
>> 'set gridln off'
>> 'set cthick 5'
>> 'set ccolor 1'
>> 'd maskout(t2m,landsfc-0.5)'
>> 
>> Thanks in advance,
>> 
>> Stuart.
>> 
>> --
>> Chief Forecaster & Owner
>> Chorley Weather
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr [1]
> 
> 
> 
> Links:
> ------
> [1] http://gradsusr.org/mailman/listinfo/gradsusr
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
Thanks very much Stephen, I was using the skip function after maskout 
and that is perhaps why it didn't work.

Regards,
Stuart
-- 
Chief Forecaster & Owner


More information about the gradsusr mailing list