[gdal-dev] [ANN] Introductory Pytroll Workshop, Nov. 25-26 2013, at SMHI, Sweden

2013-09-13 Thread Martin Raspaud
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [sorry for crossposting] Hi all, After the success of last years workshop, we decided to hold the Pytroll workshop this year again at SMHI. Pytroll is a collection of free and open source python modules for the reading, interpretation, and writing o

[gdal-dev] [ANN] Introductory Pytroll Workshop, Nov. 25-26 2013, at SMHI, Sweden

2013-09-13 Thread Martin Raspaud
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [sorry for crossposting] Hi all, After the success of last years workshop, we decided to hold the Pytroll workshop this year again at SMHI. Pytroll is a collection of free and open source python modules for the reading, interpretation, and writing o

Re: [gdal-dev] Geotiff with bands of different type

2010-08-10 Thread Martin Raspaud
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Frank Warmerdam skrev: > On Tue, Aug 10, 2010 at 7:16 AM, Martin Raspaud > wrote: >> Hmmm, that sounds like a sufficient solution indeed, very good idea, thanks. >> >> Is there any scale/slope and offset/intercept

Re: [gdal-dev] Geotiff with bands of different type

2010-08-10 Thread Martin Raspaud
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew Brooks skrev: > On Tue, 10 Aug 2010 11:46:00 +0100, Martin Raspaud > wrote: >> We have a satellite image in black and white, which show IR brightness >> temperatures. The data is scaled between 0 and 255 for viewing, and &g

Re: [gdal-dev] Geotiff with bands of different type

2010-08-10 Thread Martin Raspaud
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chaitanya kumar CH skrev: > Martin, > > I'm sorry. I just found out that GDALDataset::AddBand() is not supported > by most format drivers. GeoTiff format driver doesn't support it. > Also, having different data types for bands may confuse some appli

Re: [gdal-dev] Geotiff with bands of different type

2010-08-10 Thread Martin Raspaud
() method I am using the gtiff driver. Or was this solved in more recent versions of gdal ? (v. 1.5.3) Best regards, Martin > On Tue, Aug 10, 2010 at 12:44 PM, Martin Raspaud <mailto:martin.rasp...@smhi.se>> wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: S

[gdal-dev] Geotiff with bands of different type

2010-08-10 Thread Martin Raspaud
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, I'm using gdal/python and I would like to create geotiffs using one band of bytes and one of float32s... Is this even possible ? Thanks, Martin -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora

Re: [gdal-dev] Ninjo tiff tags

2010-06-16 Thread Martin Raspaud
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chaitanya kumar CH skrev: > Martin, > > Please provide more details. What was the error message. > Refer to > (http://trac.osgeo.org/gdal/browser/trunk/autotest/gcore/tiff_write.py) > for examples. > The metadata items are stored according to the prof

[gdal-dev] Ninjo tiff tags

2010-06-16 Thread Martin Raspaud
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm using the python interface of gdal to save files to geotiff format. Now we need to add custom tags to the file: I know the name, the number and the type of the metadata. Is there a way I can write it in the geotiff file ? SetMetadata does n

[gdal-dev] Contours from the python interface

2010-03-30 Thread Martin Raspaud
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I rebound on the previous contour thread to ask if it is possible to burn contours/borders into raster programatically with python ? Thanks, Martin -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora -

Re: [gdal-dev] Reading Modis level1b HDF4 data

2010-02-26 Thread Martin Raspaud
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Ivan, Ivan skrev: > Martin, >> Try to use gdal.Open() on a subdataset and then call GetRasterBand(), >> example: > >> dataset = >> gdal.Open('HDF4_EOS:EOS_SWATH:"/local_disk/data/satellite/terra/MOD021KM.A2005161.0920.005.2005161194747.hdf":MODIS_

[gdal-dev] Reading Modis level1b HDF4 data

2010-02-26 Thread Martin Raspaud
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'm trying to access Modis data (Terra) with gdal through the python API. I'm following the gdal tutorial http://www.gdal.org/gdal_tutorial.html, but get stuck at the rasterband reading part, with an error: Traceback (most recent call last): Fi