pgkyl save

Usage: pgkyl save [OPTIONS]

  Write ``data`` to ``out_name`` in the requested ``extension``.

  The ``gkyl`` format preserves all dataset metadata, including ``value_form``,
  ``num_quad``, and simulation identity. Structural fields are stored in the binary
  header; the private load-history snapshot is omitted. Current metadata takes
  precedence over the output filename when reloading. Its field header supports uniform
  Cartesian cell edges only: nonuniform, mapped, and point-coordinate grids are rejected
  before the output is opened, since the format cannot preserve those coordinates.

Options:
  -o, --out_name TEXT             output path; when empty a name is derived from the
                                  source file.  [default: ""]
  -e, --extension [gkyl|txt|npy|vtk]
                                  one of ``"gkyl"`` (default), ``"txt"``, ``"npy"``,
                                  ``"vtk"``.  [default: gkyl]
  -v, --var_name TEXT             unused placeholder kept for interface symmetry.
                                  [default: CartGridField]
  --help                          Show this message and exit.

Python API