Re: [gdal-dev] mrsid : coordinate system problem

2008-09-17 Thread Didrik Pinte
I have just found more information on the problem. It seems related to this thread : http://www.nabble.com/Georeferencing-Mrsid-raster-file-with-a-world-file-td13700397.html Gdal seems to prefer the internal georeferencing of the file in place of the .sdw file. I've tried the .vrt conversion of

Re: [gdal-dev] mrsid : coordinate system problem

2008-09-17 Thread Didrik Pinte
Some more information. When using the -ignorewf from mrsidgeoinfo, I get the same result as GDAL : == [EMAIL PROTECTED] data]# ~/mrsidgeoinfo_linux -ignorewf raster/ortho/5227y04.sid mrsidgeoinfo: (c) 2005

Re: [gdal-dev] HowTo open NetCDF SUBDATASET and write to new file

2008-09-17 Thread Roger André
Hi Steve, Thanks very much for the code snippet. I figured out the following via experimentation. - Open specific layer by using: layer = gdal.Open('netCDF:annual_mean.nc:temp') - Then get at the layer data data using the following: netcdf_band = layer.GetRasterBand(1) - Read in the data one

[gdal-dev] Out of Office

2008-09-17 Thread paar
Vielen Dank für Ihre Nachricht. Ich bin bis einschließlich 26.09.2008 nicht im Büro und kann Ihre Anfrage leider nicht bearbeiten. Ihre Nachricht wird nicht automatisch weitergeleitet. Ich werde Ihre eMail gerne nach meiner Rückkehr beantworten. Thank you very much for your message. I'm out of

[gdal-dev] Problem in viewing NITF images created by GDAL_TRANSLATE

2008-09-17 Thread Mo Wang
Hi all, I used gdal_translate to make a complete copy of a nitf file and it ran to completion. But the output image file can only be viewed partially on a IMAGINE Viewer while the whole original image file can be viewed on the Viewer. I believe that the data is there just it can not be viewed.

Re: [gdal-dev] Problem in viewing NITF images created by GDAL_TRANSLATE

2008-09-17 Thread Frank Warmerdam
On Wed, Sep 17, 2008 at 2:26 PM, Mo Wang [EMAIL PROTECTED] wrote: Hi all, I used gdal_translate to make a complete copy of a nitf file and it ran to completion. But the output image file can only be viewed partially on a IMAGINE Viewer while the whole original image file can be viewed on

RE: [gdal-dev] Problem in viewing NITF images created by GDAL_TRANSLATE

2008-09-17 Thread Mo Wang
Frank, With the specified block size the problem has been resolved. Thank you very much. Mo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frank Warmerdam Sent: Wednesday, September 17, 2008 4:00 PM To: Mo Wang Cc: gdal-dev@lists.osgeo.org Subject: Re:

Re: [gdal-dev] HowTo open NetCDF SUBDATASET and write to new file

2008-09-17 Thread Steve Gaffigan
Roger, Hello. Our examples differ in that you called the ReadAsArray() on a single band, which returns an array with dimensions (ny,nx), and I called it on the subdataset, which returns an array with dimensions (nbands,ny,nx). In my example the array returned has size (539,78,141), where the