danlooo / DGGS.jl

Discrete Global Grid System for Julia
GNU Affero General Public License v3.0
4 stars 1 forks source link

Add summary statistics for variables #87

Open danlooo opened 3 months ago

danlooo commented 3 months ago

Add statistics e.g. mean and quantiles as meta data to the axes. Needed for plotting e.g. color bar limits. Also do not need to reload all the data just to get the means.

danlooo commented 2 months ago

There is ZEP5 that provides summary statistics on a chunk level: https://zarr.dev/zeps/draft/ZEP0005.html However, it is not merged yet https://github.com/zarr-developers/zarr-specs/pull/205

danlooo commented 2 months ago

CF conventions have actual_range see https://cfconventions.org/cf-conventions/cf-conventions.html#missing-data to store min and max of each data variable.