[gdal-dev] guidance on NSIDC Sea Ice concentration data

2015-07-24 Thread Michael Sumner
Hello, I've put together an example of using NSDIC sea ice concentration data with GDAL VRT. In this Github readme I list two example data sets, one for the Northern and one for the Southern hemisphere where the raw binary NSDIC .bin files have accompanying VRT files: https://github.com/mdsumner/

Re: [gdal-dev] Why is saving an array to ENVI file format using SaveArray so slow?

2015-07-24 Thread Even Rouault
Mike, I've tried the following snippet: from osgeo import gdal, gdalnumeric import numpy ar = numpy.zeros( [128,4000,128], dtype = numpy.float32) gdalnumeric.SaveArray(ar,'testenvi.bin','ENVI') gdalnumeric.SaveArray(ar,'testtif.tif','GTiff') And it runs in ~ 2 seconds on both GDAL 1.11 and trun

Re: [gdal-dev] Motion: Adopt FRC48: Geographical networks support

2015-07-24 Thread Tamas Szekeres
+1 Tamas 2015-07-17 12:09 GMT+02:00 Dmitry Baryshnikov : > Hi, > > I finished the work on merging the GSoC2014 Geographical networks support > in GDAL to trunk. > The RFC ( > https://trac.osgeo.org/gdal/wiki/rfc48_geographical_networks_support) was > corrected. > The pull request (https://githu

Re: [gdal-dev] Motion: Adopt FRC48: Geographical networks support

2015-07-24 Thread Jukka Rahkonen
Dmitry Baryshnikov gmail.com> writes: > > I think it's time to vote for adopt the RFC 48 Geographical networks > support and to merge the pull request to the GDAL sources trunk. > According to https://trac.osgeo.org/gdal/wiki/rfc1_pmc I start the vote > and my +1 for adopt. +1 -Jukka Rahko

Re: [gdal-dev] decimal truncation when gdal_translate/gdalwarp

2015-07-24 Thread Ramiro Marco Figuera
Trent, Thanks a lot for the quick answer. I am using the img files so, I guess I will have to apply the offset correction. When using gdal_translate I already use "gdal_translate -ot Float32 -unscale in_16bit.lbl out_32bit.tif". I think the problem might be when I use gdal_translate -of XYZ i

[gdal-dev] gdalwarp/gdalmerge overlapping single band gtiffs

2015-07-24 Thread Gareth Grewcock
Hi - I'm having difficulties with warping or merging overlapping single band gtiffs (where the input tifs bounding box overlap) When using gdalwarp: I achieve the desired output extent of both tifs however, the data range of the output tif is 0 to 0 (min and max values are both 0). It appears to

[gdal-dev] Why is saving an array to ENVI file format using SaveArray so slow?

2015-07-24 Thread mike c
Dear GDAL Developers I’m finding that when saving a relatively small array (shape = 128,4000,128 ie 128 band x 4000 lines x 128 columns of float data = 256Mb total) to a ENVI file format using the call: gdalnumeric.SaveArray(img,strf_out,'ENVI') performance is extremely slow (~260 s