Usage: pgkyl average [OPTIONS]
``int f w dx^dims / int w dx^dims`` over the directions in ``dims``.
Options:
-d, --dims INTEGER OR JSON ARRAY
iterable of 0-based direction indices to average over
(repeat ``--dims`` at the CLI, e.g. ``--dims 0 --dims
1``). [required]
-w, --weight TEXT optional gkyl-backed dataset in the modal value_form,
same ``num_dims``/``basis_type``/``poly_order`` as
``data`` and exactly one field (``gkyl_array_average``
takes no field-index argument) -- the plain average
(dividing by volume) is computed when omitted.
-i, --inplace [BOOLEAN] Mutate and return ``data`` for partial averaging only.
[default: False]
-t, --tag TEXT Optional tag for a partial-average dataset.
-l, --label TEXT Optional label for a partial-average dataset.
--help Show this message and exit.