[gradsusr] over plot sub region on global chart
Becker, Bernd
bernd.becker at metoffice.gov.uk
Mon Jan 31 12:12:24 EST 2011
Wes,
that means massaging the input field, extra disk space and extra I/O.
Is there no such thing as:
open file with t and p:
set lat -90 90
set lon -180 180
d t
define p1= maskout(p,lon1,lon2,lat1,lat2)
d p1
to mask out everything outside lon1,lon2,lat1,lat2?
That would be nice.
Thanks for making time for me!
Bernd.
--
Bernd Becker Climate Impacts Product Development
Met Office Hadley Centre FitzRoy Road Exeter Devon EX1 3PB United
Kingdom
Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050
E-mail:bernd.becker at metoffice.gov.uk -
http://www.metoffice.gov.uk/research/our-scientists/seasonal-to-decadal/
bernd-becker
-----Original Message-----
From: gradsusr-bounces at gradsusr.org
[mailto:gradsusr-bounces at gradsusr.org] On Behalf Of Wesley Ebisuzaki
Sent: 31 January 2011 16:41
To: GrADS Users Forum
Subject: Re: [gradsusr] over plot sub region on global chart
Bernd,
Since both fields are in the same .ctl/.grb/.idx file, the OLR must
have thesame grid as the T field.
Edit the OLR field so that the grid points outside of the small box
are "undefined".
The undefined points will then be transparent.
grib2: use wgrib2 and the "-undefine" option.
grib1: Use copygb to make a regional grid. Use copygb to recreate the
global grid from the regional grid. The points outside the regional
grid will be undefined.
Wesley
Becker, Bernd wrote:
> Hi Wesley,
>
> both fields stem from the same .ctl and .grb and .idx file and are on
> the same time and space frame.
>
> Thanks,
> Bernd.
>
> --
> Bernd Becker Climate Impacts Product Development
> Met Office Hadley Centre FitzRoy Road Exeter Devon EX1 3PB
United
> Kingdom
> Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050
> E-mail:bernd.becker at metoffice.gov.uk -
> http://www.metoffice.gov.uk/research/our-scientists/seasonal-to-decada
> l/
> bernd-becker
>
>
> -----Original Message-----
> From: gradsusr-bounces at gradsusr.org
> [mailto:gradsusr-bounces at gradsusr.org] On Behalf Of Wesley Ebisuzaki
> Sent: 27 January 2011 20:49
> To: GrADS Users Forum
> Subject: Re: [gradsusr] over plot sub region on global chart
>
> Bernard,
>
> Can you take the OLR field and regrid it so it uses the same grid
> as the global T field?
>
> Wesley
>
> Becker, Bernd wrote:
>
>> Hello,
>>
>> I would like to plot a global map of T and a smaller area map of OLR
>> on top of T.
>>
>> Grads plots the smaller area across the whole canvass.
>>
>> How can I get this:
>>
>> plot1:
>> -----------------
>> | plot2 --- |
>> | | | |
>> | --- |
>> -----------------
>> reset
>> LON set to 0 360
>> LAT set to -90 90
>> ga-> d prec
>> Contouring: 0 to 27 interval 3
>> ga-> set lat 0 45
>> LAT set to 0 45
>> ga-> set lon 120 180
>> LON set to 120 180
>> ga-> d tmean
>> Contouring: -20 to 25 interval 5
>> ga-> set parea 1 11 1 7.2
>> ga-> d tmean
>> Contouring: -20 to 25 interval 5
>> ga-> set lon 120 245
>> LON set to 120 245
>> ga-> d tmean
>> Contouring: -20 to 25 interval 5
>>
>> the second "display" grabs as much of the screen as it can, rather
>> than homing in on the first map's lat and lon.
>>
>> How can I do that?
>> many thanks!
>> Bernd.
>>
>>
>> --
>> Bernd Becker Climate Impacts Product Development
>> Met Office Hadley Centre FitzRoy Road Exeter Devon EX1 3PB
>>
> United
>
>> Kingdom
>> Tel.: +44 (0) 1392 884511 Fax: +44 (0)870 900 5050
>> E-mail:bernd.becker at metoffice.gov.uk -
>> http://www.metoffice.gov.uk/research/our-scientists/seasonal-to-decad
>> a
>> l/
>> bernd-becker
>>
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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