Hi Paulo, This sounds like a problem that could be tackled with an external function. If you can write a solution in Fortran, counting the number of lon,lat points in each grid box, then it is straitforward to make yourself a Ferret external function. The process of setting up to write and compile external functions is described on our page, http://www.ferret.noaa.gov/Ferret/External_Functions/ferret_EF.html Ansley Paulo B. Oliveira wrote: Hi, |