[gdal-dev] Writing Pixel Functions with VRT

Joaquim Luis jluis at ualg.pt
Wed Dec 21 19:42:43 EST 2011


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 advantage that will work for 
many input formats.

Joaquim




More information about the gdal-dev mailing list