[gradsusr] over plot sub region on global chart

Wesley Ebisuzaki Wesley.Ebisuzaki at noaa.gov
Mon Jan 31 11:41:25 EST 2011


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-decadal/
> 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-decada
>> 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
>   




More information about the gradsusr mailing list