YetAnotherCoupler 3.5.2
Loading...
Searching...
No Matches
grid_utils Namespace Reference

Data Structures

class  DualGrid
 
class  FesomGrid
 
class  GaussianGrid
 Generate Gaussian grid with an given resolution and extent (currently only on an closed interval in lon) More...
 
class  GridBase
 Base class for Grids. More...
 
class  HealPixGrid
 HealPix Grid. More...
 
class  ICONGrid
 Read grid from netCDF file like it is stored in ICON with fields clon, clat, vlon, vlat, vertex_of_cell etc. More...
 
class  ScripGrid
 
class  YacDebugGrid
 Read grid from netCDF file like it is stored by the YAC debug_grid feature. More...
 

Functions

 to_numpy_deg (var)
 
 lonlat2xyz (lon, lat)
 
 xyz2lonlat (xyz)
 
 spherical_mean (lon, lat)
 
 get_grid (grid)
 

Variables

 parser = argparse.ArgumentParser(prog="grid_utils.py")
 
 subparsers = parser.add_subparsers(dest='command', help='sub-command help')
 
 parser_save_grid = subparsers.add_parser('save_grid', help='save a grid to netCDF file')
 
 type
 
 str
 
 help
 
 Path
 
 args = parser.parse_args()
 

Function Documentation

◆ get_grid()

grid_utils.get_grid ( grid)

Definition at line 479 of file grid_utils.py.

Here is the caller graph for this function:

◆ lonlat2xyz()

grid_utils.lonlat2xyz ( lon,
lat )

Definition at line 22 of file grid_utils.py.

Here is the caller graph for this function:

◆ spherical_mean()

grid_utils.spherical_mean ( lon,
lat )

Definition at line 37 of file grid_utils.py.

Here is the call graph for this function:

◆ to_numpy_deg()

grid_utils.to_numpy_deg ( var)

Definition at line 15 of file grid_utils.py.

◆ xyz2lonlat()

grid_utils.xyz2lonlat ( xyz)

Definition at line 30 of file grid_utils.py.

Here is the caller graph for this function:

Variable Documentation

◆ args

grid_utils.args = parser.parse_args()

Definition at line 505 of file grid_utils.py.

◆ help

grid_utils.help

Definition at line 503 of file grid_utils.py.

◆ parser

grid_utils.parser = argparse.ArgumentParser(prog="grid_utils.py")

Definition at line 500 of file grid_utils.py.

◆ parser_save_grid

grid_utils.parser_save_grid = subparsers.add_parser('save_grid', help='save a grid to netCDF file')

Definition at line 502 of file grid_utils.py.

◆ Path

grid_utils.Path

Definition at line 504 of file grid_utils.py.

◆ str

grid_utils.str

Definition at line 503 of file grid_utils.py.

◆ subparsers

grid_utils.subparsers = parser.add_subparsers(dest='command', help='sub-command help')

Definition at line 501 of file grid_utils.py.

◆ type

grid_utils.type

Definition at line 503 of file grid_utils.py.