Re: [gdal-dev] osx compile failure

2019-01-04 Thread Even Rouault
On vendredi 4 janvier 2019 19:52:36 CET you wrote: > That script corrupts the PATH environment variable! Works on Linux at lest. I *believe* it has been tested on Mac by some folks. -- Spatialys - Geospatial professional services http://www.spatialys.com _

[gdal-dev] Weird GCPs behavior when flipping an image (left-to-right or upside-down)

2019-01-04 Thread Bugbuster
Dear all, I would like to flip a "plain TIFF" (no geolocation information) image with respect to either lines or columns. After several tests, I finally found out I have two ways to do it : 1) with a temporary TIFF image First create a temporary TIFF image with 3 GCPs with gdal_translate Then crea

Re: [gdal-dev] add -a_scale and -a_offset to gdal.TranslateOptions in Python

2019-01-04 Thread Even Rouault
On vendredi 4 janvier 2019 09:20:31 CET Johan de Braak wrote: > Hi, > > I cannot find an equivalent for -a_scale and -a_offset translate options in > the method gdal.TranslateOptions in Python. Am I missing something or is > this something that should be added? This is missing indeed. Contributio

[gdal-dev] add -a_scale and -a_offset to gdal.TranslateOptions in Python

2019-01-04 Thread Johan de Braak
Hi, I cannot find an equivalent for -a_scale and -a_offset translate options in the method gdal.TranslateOptions in Python. Am I missing something or is this something that should be added? I know I can use the command line syntax but I would prefer keyword arguments for these options in Python.

Re: [gdal-dev] SNODAS format

2019-01-04 Thread John Burkhart
Thanks. On Fri, Jan 4, 2019 at 10:41 AM Even Rouault wrote: > On vendredi 4 janvier 2019 10:33:58 CET John Burkhart wrote: > > Hello, > > > > Trying to open SNODAS datasets from: > > > > server = 'sidads.colorado.edu' > > ftp_directory = 'pub/DATASETS/NOAA/G02158/masked/{}/{}'.format(, > > m

Re: [gdal-dev] SNODAS format

2019-01-04 Thread Even Rouault
On vendredi 4 janvier 2019 10:33:58 CET John Burkhart wrote: > Hello, > > Trying to open SNODAS datasets from: > > server = 'sidads.colorado.edu' > ftp_directory = 'pub/DATASETS/NOAA/G02158/masked/{}/{}'.format(, > m_month) > > > I have untarred/unzipped the files and have the following fil

[gdal-dev] SNODAS format

2019-01-04 Thread John Burkhart
Hello, Trying to open SNODAS datasets from: server = 'sidads.colorado.edu' ftp_directory = 'pub/DATASETS/NOAA/G02158/masked/{}/{}'.format(, m_month) I have untarred/unzipped the files and have the following files: $ls us_ssmv11034tS__T0001TTNATS2019010105HP001.Hdr us_ssmv11034tS__T0001TTNAT