[gradsusr] problem with projection image
Arlindo da Silva
dasilva at alum.mit.edu
Wed Dec 8 20:10:36 EST 2010
On Wed, Dec 8, 2010 at 2:31 PM, Tatiana.Gonzalez
<Tatiana.Gonzalez at noaa.gov>wrote:
> Hi,
> Is there a way to project grads in native satellite image? I have this
> image (see 10Z12DEC2008_wind.png) but what I really need is something like
> this (see sat_image.png)
>
>
>
> Can anybody give me some ideas on how to solve this problem?
>
I'd done this sort of thing in pygrads, and there are some examples plotting
fields on a geostationary image. More information here:
http://opengrads.org/wiki/index.php?title=Python_Interface_to_GrADS
This requires some python. For example, to plot contours on a conus image:
sat = Image.open("goes_conus.jpg")
opts=(-109.65,14.23,-44.65,62.23,-75.) # image info
ga.basemap('geos', opts=opts, resolution='l')
ga.contour('h500',bgim=sat,N=12,Map=False)
title("500 hPa Heights")
The resulting plot is here:
dbimage.php<http://sourceforge.net/dbimage.php?id=153948>
Arlindo
--
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20101208/2004a996/attachment.html
More information about the gradsusr
mailing list