Re: [gdal-dev] Problems with GDAL 1.10.1 converting from NetCDF to Geotiff

2015-01-06 Thread William Hudspeth
Thank you, Setting the environmental variable worked V On 01/06/2015 09:11 AM, Julien Demaria wrote: Dear Victoria, You can try export GDAL_NETCDF_BOTTOMUP=NO just before launching gdal_translate but note that this works only if your dataset is oriented north-south For GDAL developpers:

[gdal-dev] Raster to vector conversions....

2014-07-01 Thread William Hudspeth
Hello, I am trying to find a method of converting a raster grid to a polygon vector that does NOT aggregate adjacent pixels that share the same Z value. In other words, I would like the output vector to be a grid of polygons where the number of polygons is equal to the number of pixels in the

Re: [gdal-dev] Unexpected results with GDALDEM

2013-07-10 Thread William Hudspeth, Ph.D.
Je vous remerciethat seems to have worked ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Unexpected results with GDALDEM

2013-07-09 Thread William Hudspeth, Ph.D.
Hello all, I am using gdaldem that came with the GDAL 1.7.3 version on Ubuntu 12.04. I am trying to create slope maps with a command something like this: gdaldem slope -s scale=20 source_DEM.tif target_SLOPE.tif the source DEM geotiff was created with gdalwarp, re-projecting a National E

[gdal-dev] output of geotiff from numPy array

2012-07-17 Thread William Hudspeth
Hello, I am trying to write a two-dimensional numPy float array to a Geotiff using the Python GDAL bindings. I use code similar to format="GTiff" dst_driver=GetDriverByName(format) srs=osr.SpatialReference() srs.ImportFromEPSG(4326) dust_abs=dst_driver.Create(dst_filename,pream_array_columns,pre

[gdal-dev] Problems exporting numPY array to float Geotiff using OSGEO gdal python bindings

2011-03-02 Thread William Hudspeth
Hello, I am trying to export a numPY float array/matrix to a Lambert Conformal Geotiff/Float32 image. While the script exports an image, all pixel values are zero. May numpy array seems to be built correctly, and when I print it, looks like this... [[ 0.03678615 0.0390082 0.04026087 ..., 0.03

[gdal-dev] Problems generating float32 geotiffs using OSGEO gdal python bindings

2011-03-02 Thread William Hudspeth
Hello, I am trying to export a numPY float array/matrix to a Lambert Conformal Geotiff/Float32 image. While the script exports an image, all pixel values are zero. May numpy array seems to be built correctly, and when I print it, looks like this... [[ 0.03678615 0.0390082 0.04026087 ..., 0.03

[gdal-dev] How to reproject a geotiff using osgeo gdal python bindings

2011-02-17 Thread William Hudspeth
Hello, I am trying to project a raster in lambert conformal conic projection to geographic dd wgs84. The cell resolution changes between the two, so I don't know what the final grid size is in the geographic raster. Does anyone have any complete examples of opening a geotiff in lambert, and writin

[gdal-dev] Problems using gdal python binding 'createcopy' function

2010-10-07 Thread William Hudspeth
Hi Frank, Thanks for responding. I just tried: gdal_translate -ot Float32 -of AAIGrid input.tif output.asc and got an Int16 AAIGrid (?) Bill ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Problems using gdal python binding 'createcopy' function

2010-10-07 Thread William Hudspeth
Hi Frank, Thanks for responding. I have tried the following, gdal_translate -ot Float32 -of AAIGrid src.tif dst.asc Only to get an AAIGrid in Int16 format?? ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listin

[gdal-dev] Problems using gdal python binding 'createcopy' function

2010-10-07 Thread William Hudspeth
Hello, I am trying to copy a GeoTiff to an AAIGrid file using the Python osgeo-gdal CreateCopy() function. The metadata associated with the function indicates that one can output a Float32-formatted file, but I am having trouble figuring out exactly how the output format is specified in a call to

[gdal-dev] Georeferencing for HDF files

2008-08-07 Thread William Hudspeth
Hello, I am trying to import an HDF file into GRASS using r.in.gdal. The HDF file was acquired via a WCS GetCoverage request from a NASA data archive, and contains one scientific raster grid. According to a DescribeCoverage WCS request, the data is of global extent (e.g. 90S,90N, 180W,180E) in Lat