postgkyl.print

postgkyl.print(*datasets, use=None, grid=False)

Print the values (or grid) of the selected datasets.

Values are printed as stored, with singleton dimensions squeezed and 16-digit precision. For modal data these are DG coefficients; interpolate first to print field values. Printing leaves the datasets unchanged.

Parameters:
  • datasets – Datasets, groups, or nested iterables of datasets to print.

  • use – Select only datasets carrying this tag.

  • grid – Print each grid axis instead of the values.

CLI: print