[GRASSLIST:8103] Re: AVHRR imagery into GRASS?

Markus Neteler neteler at itc.it
Sun Aug 28 16:43:41 EDT 2005


On Sat, Aug 27, 2005 at 01:19:13AM -0700, Hamish wrote:
> > Anyone had success with importing this data format?
> 
> [nit pick: AVHRR is an instrument, not a data format; which format is
> your data in?]
> 
> Yes, I've done it. Not for a while so I won't give exact instructions,
> but I don't remember it being a problem.
> 
> Use r.in.gdal:
>   http://www.remotesensing.org/gdal/frmt_l1b.html
> 
> or failing that you might try r.in.bin.
> 
> 
> I seem to recall a connection to the new gdalwarp thin-plate-spline
> warping tool for better support for this sort of sequential line
> satellite data. (Markus?)
> 
> If you figure it out, it would be a useful thing to post to the list so
> that others searching the archive can find the instructions.

Here we are (yes, the new gdalwarp thin-plate-spline warping tool is needed):

# warp AVHRR L1B to Erdas/Img - LatLong/WGS84
# <4326> +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs  <>

# apply GCPs with thin plate spline transformer
FILE=my_avhrr
gdalwarp -tps -of HFA -t_srs "EPSG:4326" -co COMPRESS=YES $FILE $FILE.img

#Then use in a LatLong/WGS84 location:
r.in.gdal $FILE.img $FILE


Markus




More information about the grass-user mailing list