Hi Elias,
ncap2 is a part of the netcdf operators, or NCO, which are "a suite of
programs known as *operators*. Each operator is a standalone, command line
program which is executed at the UNIX shell-level". ncap2 is one of these
operators. You need to install NCO.
http://nco.sourceforge.net/
I'm not familiar with ncap2 is this particular usage. Alternatively I would
use another package called CDO (Climate Data Operators), which provides
several operators specializing in calculating percentiles (for example,
timpctl).
http://www.mpimet.mpg.de/fileadmin/software/cdo/
HTH,
David
On Fri, Nov 28, 2008 at 4:20 AM, Elias Criado <ecriado@xxxxxx> wrote:
> Hi Henry Butowsky
>
> I have read a message about Calculating medians, quartiles etc of a
> variable in a NetCDF file.
>
> It said:
>
> "Im a netcdf programmer -It may be possible to write a custom operatosr
> for nco tool "ncap2" that calculates quartiles"
>
>
> I would like to know if you could give me some examples of how to create
> a custom operator or some indications to be sussces.
> May be it is too dificult and it would be better convert data to ASCII
> and after that write a program in fortran to calculate percentiles.
>
> If I try to use ncap2,
> Does it have its own language?
> I just should install de package? and after that I would be able to use
> the language in a shell? Doesn t it?
> I just know script language and fortran programming and a littel of C.
>
> Thanks a lot
>
> _______________________________________________
> netcdfgroup mailing list
> netcdfgroup@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit:
> http://www.unidata.ucar.edu/mailing_lists/
>