[netcdfgroup] Calculating medians, quartiles etc of a variable in a NetCDF file.

Hi,

I have an application where I would like to calculate quartiles of a variable 
in a NetCDF file (I am computing the trimean: TM = 0.25*(Q1 + 2Q2 + Q3) )

The NetCDF operators are excellent for computing arithmetic means, but don't 
include the capability to compute quartiles. Before I start writing my own code 
to compute quartiles, does anyone know of some software which already does 
this? Basically, I am looking for the equivalent of ncwa with a quartile 
operation.

Thanks,

Tim Hume
Centre for Australian Weather and Climate Research
Melbourne
Australia