|
PHYEX 0.9.5
PHYsique EXternalisée
|
Classes | |
| class | Case |
| class | CaseCommonFormat |
| class | CaseXarray |
Functions | |
| _git (args, directory=None) | |
| cases_directory () | |
| install_cases (directory=None) | |
| link_cases (path, directory=None) | |
| list_cases (directory=None) | |
| main_cases_install () | |
| main_cases_list () | |
Variables | |
| str | DEPHY_SCM_URL = 'https://github.com/GdR-DEPHY/DEPHY-SCM.git' |
| _DRIVER_RE = re.compile(r'^(?P<case>[^/]+)/(?P<subcase>[^/]+)/[^/]+_SCM_driver\.nc$') | |
Case classes representing a simulation case
|
protected |
| pyphyex.phyex1d.case.cases_directory | ( | ) |
| pyphyex.phyex1d.case.install_cases | ( | directory = None | ) |
Installs (clone) or updates (fetch and reset to the remote branch) the DEPHY-SCM repository containing the cases in the common format (the repository is big, about 1 GB). :param directory: directory of the repository (cases_directory() by default) :return: directory of the repository
Definition at line 414 of file case.py.


| pyphyex.phyex1d.case.link_cases | ( | path, | |
| directory = None ) |
Uses an existing DEPHY-SCM repository (or a copy of it): a symbolic link to it is
created instead of downloading the repository.
:param path: path to the existing DEPHY-SCM repository
:param directory: path of the link (cases_directory() by default); an existing link
is replaced, an existing directory (downloaded repository) is kept
and an error is raised
:return: path of the link
Definition at line 439 of file case.py.


| pyphyex.phyex1d.case.list_cases | ( | directory = None | ) |
Lists the cases available in the DEPHY-SCM repository. :param directory: directory of the repository (cases_directory() by default) :return: list of tuples (case, subcase, path of the driver file)
Definition at line 467 of file case.py.


| pyphyex.phyex1d.case.main_cases_install | ( | ) |
| pyphyex.phyex1d.case.main_cases_list | ( | ) |
|
protected |