API reference
psipy.model.mas Module
Classes
|
The results from a single run of MAS. |
psipy.model.pluto Module
Classes
|
The results from a single run of PLUTO. |
psipy.model.variable Module
Classes
|
A single scalar variable. |
psipy.model.base Module
Classes
|
The results from a single model run. |
psipy.io.mas Module
Tools for reading MAS (Magnetohydrodynamics on a sphere) model outputs.
Files come in two types, .hdf or .h5. In both cases filenames always have the structure ‘{var}{timestep}.{extension}’, where:
‘var’ is the variable name
‘timestep’ is the three digit (zero padded) timestep
‘extension’ is ‘.hdf’ or ‘.h5’
Functions
|
Read in a set of MAS output files. |
|
Return a list of variables present in a given directory. |
|
Read in a set of HDF files, and save them out to NetCDF files. |
psipy.io.pluto Module
Tools for reading pluto model outputs.
Functions
|
Read in a single variable from a set of PLUTO output files. |
|
Return a list of variables present in a given directory. |
|
Read in a single PLUTO grid file. |
psipy.io.util Module
Functions
|
Read a HDF4 file. |
|
Read a HDF5 file. |