Re: [gdal-dev] reproject python numpy binary swath/lat/lon

2012-06-14 Thread David Hoese
Hi Rutger (long email below), I figured out my projection problems. To increase google search accuracy I'm going to try to include as many relevant terms as I searched for to describe what happened. I was attempting to project VIIRS binary image data that I had extracted from the SDR hdf fi

Re: [gdal-dev] reproject python numpy binary swath/lat/lon

2012-06-14 Thread Etienne Tourigny
herwise I'll >> just have to keep playing around and asking people around my work. >> Thanks a lot for the help so far. >> >> -Dave >> > > Since it worked for my case, i think its likely that the problems you are > having are related to the projection and a

Re: [gdal-dev] reproject python numpy binary swath/lat/lon

2012-06-14 Thread Rutger
Sorry, forgot to attach the image. http://osgeo-org.1560.n6.nabble.com/file/n4981320/gdalwarp_and_pyresample.png -- View this message in context: http://osgeo-org.1560.n6.nabble.com/gdal-dev-reproject-python-numpy-binary-swath-lat-lon-tp4978609p4981320.html Sent from the GDAL - Dev mailing

Re: [gdal-dev] reproject python numpy binary swath/lat/lon

2012-06-14 Thread Rutger
le with the correct projection and boundingbox, and just read the metadata with: gdalinfo -proj4 samplefile.tif Optionally add some of the -norat -noct etc flags to hide the large tables. The proj4 string can be directly used by other gdal tools. Regards, R

Re: [gdal-dev] reproject python numpy binary swath/lat/lon

2012-06-13 Thread David Hoese
On 6/13/12 10:00 AM, gdal-dev-requ...@lists.osgeo.org wrote David Hoese wrote > > I'm attempting to project satellite data to an AWIPS grid. Assuming I > have the grid defined correctly with proj4 parameters, I've been using > "+proj=latlong +datum=wgs84" as my s_srs parameters. Does that

Re: [gdal-dev] reproject python numpy binary swath/lat/lon

2012-06-13 Thread Rutger
rge area (geographically), it might be useful to test it for a small subset first to rule out difficulties in finding a proper transformation, although im not sure if it could help in this case. Regards, Rutger -- View this message in context: http://osgeo-org.

Re: [gdal-dev] reproject python numpy binary swath/lat/lon

2012-06-12 Thread Joaquim Luis
Thanks for the help. -Dave On 6/12/12 7:04 AM, gdal-dev-requ...@lists.osgeo.org wrote: Message: 2 Date: Tue, 12 Jun 2012 02:08:21 -0700 (PDT) From: Rutger To:gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] reproject python numpy binary swath/lat/lon Message-ID:<1339492101512-4980686.p...@n

Re: [gdal-dev] reproject python numpy binary swath/lat/lon

2012-06-12 Thread David Hoese
Thanks for the help. -Dave On 6/12/12 7:04 AM, gdal-dev-requ...@lists.osgeo.org wrote: Message: 2 Date: Tue, 12 Jun 2012 02:08:21 -0700 (PDT) From: Rutger To:gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] reproject python numpy binary swath/lat/lon Message-ID:<1339492101512-4980686.p...@n

Re: [gdal-dev] reproject python numpy binary swath/lat/lon

2012-06-12 Thread Rutger
560.n6.nabble.com/gdal-dev-reproject-python-numpy-binary-swath-lat-lon-tp4978609p4980774.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] reproject python numpy binary swath/lat/lon

2012-06-12 Thread Etienne Tourigny
e good quality > results. > > I ended up using the Pyresample module which is part from the Pytroll > project. See: > http://pytroll.org/index.html http://pytroll.org/index.html > This worked great for my case. > > > Regards, > Rutger > > > -- > View this m

Re: [gdal-dev] reproject python numpy binary swath/lat/lon

2012-06-12 Thread Rutger
View this message in context: http://osgeo-org.1560.n6.nabble.com/gdal-dev-reproject-python-numpy-binary-swath-lat-lon-tp4978609p4980686.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org ht

Re: [gdal-dev] reproject python numpy binary swath/lat/lon

2012-06-04 Thread David Hoese
On 6/1/12 1:44 PM, Jose Gomez-Dans wrote: Hi David, On 1 June 2012 18:47, David Hoese > wrote: I have 3 binary files, the image/swath 2D data and the corresponding 2D latitude and longitude pixel data from a previous processing step. The binary files were

[gdal-dev] reproject python numpy binary swath/lat/lon

2012-06-01 Thread David Hoese
I have 3 binary files, the image/swath 2D data and the corresponding 2D latitude and longitude pixel data from a previous processing step. The binary files were all created using numpy's tofile(). I would like to take the binary data (as filenames or loaded into numpy arrays) and remap it to