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

Classes

class  Grid

Functions

 grid_files (name)
 list_grids ()
 main_grid_list ()
 main_grid_show ()

Variables

list FLUX = ['FLUX', 'HALF', 'INTERFACE']
list MASS = ['MASS', 'FULL']
 PACKAGE_GRID_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'grids')

Detailed Description

The grib module defines the Grib class that handles the vertical grids:
- reading
- conversion between half/full and Height/Pressure

Function Documentation

◆ grid_files()

pyphyex.phyex1d.grid.grid_files ( name)
Files defining a grid
:param name: grid 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 26 of file grid.py.

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

◆ list_grids()

pyphyex.phyex1d.grid.list_grids ( )
List of the available grids (in the user directory and in the package)
:return: list of (name, kind, number of levels, location) tuples, sorted by name;
         location is 'internal' for a grid of the package, the file name for a grid of the
         user directory and 'internal overridden by <file name>' for a grid of the package
         replaced by a grid of the user directory; kind and number of levels are None if
         the grid file cannot be read

Definition at line 38 of file grid.py.

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

◆ main_grid_list()

pyphyex.phyex1d.grid.main_grid_list ( )
Entry point of the phyex1d-grid_list command

Definition at line 326 of file grid.py.

Here is the call graph for this function:

◆ main_grid_show()

pyphyex.phyex1d.grid.main_grid_show ( )
Entry point of the phyex1d-grid_show command

Definition at line 347 of file grid.py.

Here is the call graph for this function:

Variable Documentation

◆ FLUX

list pyphyex.phyex1d.grid.FLUX = ['FLUX', 'HALF', 'INTERFACE']

Definition at line 19 of file grid.py.

◆ MASS

list pyphyex.phyex1d.grid.MASS = ['MASS', 'FULL']

Definition at line 20 of file grid.py.

◆ PACKAGE_GRID_DIR

pyphyex.phyex1d.grid.PACKAGE_GRID_DIR = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'grids')

Definition at line 23 of file grid.py.