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


_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to