PHYEX 0.9.5
PHYsique EXternalisée
Loading...
Searching...
No Matches
pyphyex.phyex1d.namelist Namespace Reference

Functions

 namelist_files (name)
 find_namelist (name)
 list_namelists ()
 main_namel_list ()
 main_namel_show ()

Variables

 PACKAGE_NAMELIST_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'namelists')

Detailed Description

The namelist module deals with the namelists (.namel files) of the 1D model:
- search of a namelist (user directory, then package)
- phyex1d-namel_list and phyex1d-namel_show command line tools

Function Documentation

◆ find_namelist()

pyphyex.phyex1d.namelist.find_namelist ( name)
File of a namelist
:param name: namelist name or file name (with the .namel extension)
:return: the file name (None if not found)

Definition at line 34 of file namelist.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ list_namelists()

pyphyex.phyex1d.namelist.list_namelists ( )
List of the available namelists (in the user directory and in the package)
:return: list of (name, location, readable) tuples, sorted by name; location is 'internal'
         for a namelist of the package, the file name for a namelist of the user
         directory and 'internal overridden by <file name>' for a namelist of the
         package replaced by a namelist of the user directory; readable is False if the
         namelist file cannot be read

Definition at line 45 of file namelist.py.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main_namel_list()

pyphyex.phyex1d.namelist.main_namel_list ( )
Entry point of the phyex1d-namel_list command

Definition at line 76 of file namelist.py.

Here is the call graph for this function:

◆ main_namel_show()

pyphyex.phyex1d.namelist.main_namel_show ( )
Entry point of the phyex1d-namel_show command

Definition at line 93 of file namelist.py.

Here is the call graph for this function:

◆ namelist_files()

pyphyex.phyex1d.namelist.namelist_files ( name)
Files defining a namelist
:param name: namelist name
:return: (user file, package file), each being None if the file does not exist; the user
         file, if any, is the one used (it overrides the package file)

Definition at line 22 of file namelist.py.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ PACKAGE_NAMELIST_DIR

pyphyex.phyex1d.namelist.PACKAGE_NAMELIST_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'namelists')

Definition at line 19 of file namelist.py.