[gdal-dev] Writing Pixel Functions with VRT

Etienne Tourigny etourigny.dev at gmail.com
Wed Dec 21 15:43:32 EST 2011


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) <yjacolin at free.fr> wrote:
> 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) <yjacolin at free.fr>
> 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 sqrt(U^2 + V^2) using this feature with vrt file?
>> >
>> > * do I need to create a C file and build GDAL with it?
>>
>> Yves,
>>
>> Yes - registered in a particular way.  I must confess to me
>> this makes custom pixel functions of modest value.
>>
>> > * do I need to create a C file and locate it close to vrt file?
> Thanks Franck. This seems indeed a little bit harder to use it but this exists
> at least!
>
> Is it possible to improve this feature by linking a file dynamicly? I don't
> know anything about this so it is just for my curiosity.
>
> Thanks,
>
> Y.
> --
> Yves Jacolin
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list