Re: [gdal-dev] Writing Pixel Functions with VRT

2012-01-02 Thread Yves Jacolin (free)
Hello, Thanks to Even, Brian Case, Joaquim Luis, Etienne Tourigny, antonio (for the ticket, patch and lib example) and Frank! I've suceesfully built my first C++ function and used it with GDAL and QGIS. Happy new year! Y. Le mercredi 21 décembre 2011 21:56:29, Even Rouault a écrit : > Le mercr

Re: [gdal-dev] Writing Pixel Functions with VRT

2011-12-21 Thread Brian Case
Yves, You need to be write a custom application to make use of If you are looking for a command line utility solution you should use gdal_calc.py if your end goal is to serve this data via a wms you could try the thredds server http://www.unidata.ucar.edu/projects/THREDDS/tech/TDS.html http:

Re: [gdal-dev] Writing Pixel Functions with VRT

2011-12-21 Thread Joaquim Luis
On 21-12-2011 20:43, Etienne Tourigny wrote: Yves, processing of netcdf files like this may be much easier using NCO (http://nco.sourceforge.net/) example: ncap -s "WND=sqrt(u^2+v^2)" in.nc out.nc Or with GMT grdmath U 2 POW V 2 POW ADD SQRT = out.nc this, with GDAL's help, had the further

Re: [gdal-dev] Writing Pixel Functions with VRT

2011-12-21 Thread Even Rouault
Le mercredi 21 décembre 2011 21:51:57, Yves Jacolin (free) a écrit : > Le mercredi 21 décembre 2011 21:44:14, Even Rouault a écrit : > > Le mercredi 21 décembre 2011 20:41:04, Yves Jacolin (free) a écrit : > > > Hello, > > > > > > I have some question about writing pixel functions with vrt files.

Re: [gdal-dev] Writing Pixel Functions with VRT

2011-12-21 Thread Yves Jacolin (free)
Thanks Etienne! Y. Le mercredi 21 décembre 2011 21:43:32, Etienne Tourigny a écrit : > Yves, > > processing of netcdf files like this may be much easier using NCO > (http://nco.sourceforge.net/) > > example: > ncap -s "WND=sqrt(u^2+v^2)" in.nc out.nc > > > Etienne > > On Wed, Dec 21, 2011 at

Re: [gdal-dev] Writing Pixel Functions with VRT

2011-12-21 Thread Yves Jacolin (free)
Le mercredi 21 décembre 2011 21:44:14, Even Rouault a écrit : > Le mercredi 21 décembre 2011 20:41:04, Yves Jacolin (free) a écrit : > > Hello, > > > > I have some question about writing pixel functions with vrt files. I have > > a netcdf file with two subset named U and V. > > > > How can I proc

Re: [gdal-dev] Writing Pixel Functions with VRT

2011-12-21 Thread Even Rouault
Le mercredi 21 décembre 2011 20:41:04, Yves Jacolin (free) a écrit : > Hello, > > I have some question about writing pixel functions with vrt files. I have a > netcdf file with two subset named U and V. > > How can I process sqrt(U^2 + V^2) using this feature with vrt file? > > * do I need to cr

Re: [gdal-dev] Writing Pixel Functions with VRT

2011-12-21 Thread Etienne Tourigny
Yves, processing of netcdf files like this may be much easier using NCO (http://nco.sourceforge.net/) example: ncap -s "WND=sqrt(u^2+v^2)" in.nc out.nc Etienne On Wed, Dec 21, 2011 at 5:32 PM, Yves Jacolin (free) wrote: > Le mercredi 21 décembre 2011 21:01:22, Frank Warmerdam a écrit : >> On

Re: [gdal-dev] Writing Pixel Functions with VRT

2011-12-21 Thread Yves Jacolin (free)
Le mercredi 21 décembre 2011 21:01:22, Frank Warmerdam a écrit : > On Wed, Dec 21, 2011 at 11:41 AM, Yves Jacolin (free) wrote: > > Hello, > > > > I have some question about writing pixel functions with vrt files. I have > > a netcdf file with two subset named U and V. > > > > How can I process

[gdal-dev] Writing Pixel Functions with VRT

2011-12-21 Thread Yves Jacolin (free)
Hello, I have some question about writing pixel functions with vrt files. I have a netcdf file with two subset named U and V. How can I process sqrt(U^2 + V^2) using this feature with vrt file? * do I need to create a C file and build GADL with it? * do I need to create a C file and locate it c