|
PHYEX 0.9.5
PHYsique EXternalisée
|

Public Member Functions | |
| contains (self, varname) | |
| get (self, varname, slice_idx=None) | |
| duration (self) | |
| description (self) | |
| get_interpolator (self, varname, grid) | |
| __enter__ (self) | |
| __exit__ (self, *args) | |
| close (self) | |
Base class for case implementations All subclasses must provide: - description (str property) - duration (float property, seconds) - contains(varname) -> bool - get(varname, slice_idx=None) -> numpy.ndarray - get_interpolator(varname, grid) -> RegularGridInterpolator - context manager support (__enter__ / __exit__)
| pyphyex.phyex1d.case.Case.__exit__ | ( | self, | |
| * | args ) |
| pyphyex.phyex1d.case.Case.close | ( | self | ) |
Close any open resources. Override in subclasses.
Reimplemented in pyphyex.phyex1d.case.CaseCommonFormat.
Definition at line 66 of file case.py.

| pyphyex.phyex1d.case.Case.contains | ( | self, | |
| varname ) |
Check if a variable exists in the case data
Reimplemented in pyphyex.phyex1d.case.CaseCommonFormat, and pyphyex.phyex1d.case.CaseXarray.
| pyphyex.phyex1d.case.Case.description | ( | self | ) |
Case description string
Reimplemented in pyphyex.phyex1d.case.CaseCommonFormat, pyphyex.phyex1d.case.CaseXarray, and pyphyex.phyex1d.case.CaseXarray.
| pyphyex.phyex1d.case.Case.duration | ( | self | ) |
Simulation duration in seconds
Reimplemented in pyphyex.phyex1d.case.CaseCommonFormat, and pyphyex.phyex1d.case.CaseXarray.
| pyphyex.phyex1d.case.Case.get | ( | self, | |
| varname, | |||
| slice_idx = None ) |
Read a variable from the case data
Reimplemented in pyphyex.phyex1d.case.CaseCommonFormat, and pyphyex.phyex1d.case.CaseXarray.
Definition at line 42 of file case.py.

| pyphyex.phyex1d.case.Case.get_interpolator | ( | self, | |
| varname, | |||
| grid ) |
Get or build an interpolator for a forcing variable
Reimplemented in pyphyex.phyex1d.case.CaseCommonFormat, and pyphyex.phyex1d.case.CaseXarray.