Re: [Geotools-devel] Netcdf Y-axis direction

2013-12-17 Thread Daniele Romagnoli
Hi Jeroen, I have merged your pull request and closed the related JIRA. Thanks for your contribution on that. Cheers, Daniele == *GeoSolutions will be closed for Christmas Holidays from 23/12/2013 to 06/01/2014* == Ing. Daniele Romagnoli Senior Software Engineer GeoSolutions S.A.S. Via Poggio al

Re: [Geotools-devel] Netcdf Y-axis direction

2013-12-03 Thread Daniele Romagnoli
On Tue, Dec 3, 2013 at 2:39 PM, Dries Jeroen wrote: > Hi Daniele, > > Indeed, if I modify the code to read the array from netcdf "as-is" and I > disable the affine transformation, then I get a correct result. > > However, I think we should be able to use the netcdf metadata to simply do > the > r

Re: [Geotools-devel] Netcdf Y-axis direction

2013-12-03 Thread Dries Jeroen
Hi Daniele, Indeed, if I modify the code to read the array from netcdf "as-is" and I disable the affine transformation, then I get a correct result. However, I think we should be able to use the netcdf metadata to simply do the right thing. My understanding is that netcdf always uses coordinate v

Re: [Geotools-devel] Netcdf Y-axis direction

2013-12-03 Thread Daniele Romagnoli
Hi Jeroen, the postProcessRaster code usually does some processing after the read operation such as adding alpha or applying an affine transformation to fit the request. >From you feedbacks, I assume that for your HDF5 data, you don't need the negative scale right? In that case, I'm wondering whet

[Geotools-devel] Netcdf Y-axis direction

2013-12-01 Thread Dries Jeroen
Hi all, I'm trying to use the unsupported netcdf plugin to support reading from HDF5 image files. Currently this results in an exception, because NetCDFResponse.postProcessRaster tries to apply a jai scale operation to the image, using a negative Y-scale. This negative Y-scale is more or less n