pencil.ism_dyn.derived_h5 ========================= .. py:module:: pencil.ism_dyn.derived_h5 .. autoapi-nested-parse:: Derive auxilliary data and other diagnostics from var.h5 file and save to new h5 file uses: compute "data" arrays of size [nz,ny,nx] as required store "time" of snapshot Functions --------- .. autoapisummary:: pencil.ism_dyn.derived_h5.is_vector pencil.ism_dyn.derived_h5.der_limits pencil.ism_dyn.derived_h5.under_limits pencil.ism_dyn.derived_h5.derive_data pencil.ism_dyn.derived_h5.calc_derived_data Module Contents --------------- .. py:function:: is_vector(key) Check if the variable denoted by the label key is a vector. .. py:function:: der_limits(n1, n2, m1, m2, l1, l2, nghost) .. py:function:: under_limits(n1, m1, l1, n1shift, m1shift, l1shift, nghost) .. py:function:: derive_data(sim_path, src, dst, magic=['pp', 'tt'], par=[], comm=None, gd=[], grp_overwrite=False, overwrite=False, rank=0, size=1, nghost=3, status='a', chunksize=1000.0, dtype=np.float64, quiet=True, nmin=32, Reynolds_shock=False, lmix=False) .. py:function:: calc_derived_data(src, dst, key, par, gd, l1=3, l2=-3, m1=3, m2=-3, n1=3, n2=-3, nghost=3, Reynolds_shock=False, lmix=False) compute from src data and existing dst data derived data