YAC 3.21.0
Yet Another Coupler
Loading...
Searching...
No Matches
yac_plot_grids Namespace Reference

Plot YAC debug grid files on an interactive map. More...

Functions

 find_grids_in_file (filename)
 

Variables

list _GRID_COLORS = ["green", "blue", "red", "orange", "purple", "brown", "pink", "gray"]
 
 parser
 
 action
 
 default
 
 help
 
 type
 
 nargs
 
 metavar
 
 choices
 
 args = parser.parse_args()
 
list log_level = [logging.WARNING, logging.INFO, logging.DEBUG][min(args.verbose, 2)]
 
 format
 
 level
 
 logger = logging.getLogger("plotting")
 
 fig
 
 ax
 
 projection
 
 center
 
 focus_points
 
 radius
 
 coast_res
 
list legend = []
 
 ids
 
 mask
 
 plot_kwargs
 
 select
 
 return_index
 
 lo = lo.ravel()[select]
 
 la = la.ravel()[select]
 

Detailed Description

Plot YAC debug grid files on an interactive map.

Function Documentation

◆ find_grids_in_file()

yac_plot_grids.find_grids_in_file ( filename)

Definition at line 34 of file yac_plot_grids.py.

Variable Documentation

◆ _GRID_COLORS

list yac_plot_grids._GRID_COLORS = ["green", "blue", "red", "orange", "purple", "brown", "pink", "gray"]
protected

Definition at line 31 of file yac_plot_grids.py.

◆ action

yac_plot_grids.action

Definition at line 49 of file yac_plot_grids.py.

◆ args

yac_plot_grids.args = parser.parse_args()

Definition at line 111 of file yac_plot_grids.py.

◆ ax

yac_plot_grids.ax

Definition at line 124 of file yac_plot_grids.py.

◆ center

yac_plot_grids.center

Definition at line 126 of file yac_plot_grids.py.

◆ choices

yac_plot_grids.choices

Definition at line 74 of file yac_plot_grids.py.

◆ coast_res

yac_plot_grids.coast_res

Definition at line 129 of file yac_plot_grids.py.

◆ default

yac_plot_grids.default

Definition at line 50 of file yac_plot_grids.py.

◆ fig

yac_plot_grids.fig

Definition at line 124 of file yac_plot_grids.py.

◆ focus_points

yac_plot_grids.focus_points

Definition at line 127 of file yac_plot_grids.py.

◆ format

yac_plot_grids.format

Definition at line 114 of file yac_plot_grids.py.

◆ help

yac_plot_grids.help

Definition at line 51 of file yac_plot_grids.py.

◆ ids

yac_plot_grids.ids

Definition at line 136 of file yac_plot_grids.py.

◆ la

yac_plot_grids.la = la.ravel()[select]

Definition at line 143 of file yac_plot_grids.py.

◆ legend

list yac_plot_grids.legend = []

Definition at line 132 of file yac_plot_grids.py.

◆ level

yac_plot_grids.level

Definition at line 115 of file yac_plot_grids.py.

◆ lo

yac_plot_grids.lo = lo.ravel()[select]

Definition at line 142 of file yac_plot_grids.py.

◆ log_level

list yac_plot_grids.log_level = [logging.WARNING, logging.INFO, logging.DEBUG][min(args.verbose, 2)]

Definition at line 113 of file yac_plot_grids.py.

◆ logger

yac_plot_grids.logger = logging.getLogger("plotting")

Definition at line 116 of file yac_plot_grids.py.

◆ mask

yac_plot_grids.mask

Definition at line 136 of file yac_plot_grids.py.

◆ metavar

yac_plot_grids.metavar

Definition at line 58 of file yac_plot_grids.py.

◆ nargs

yac_plot_grids.nargs

Definition at line 57 of file yac_plot_grids.py.

◆ parser

yac_plot_grids.parser
Initial value:
1= argparse.ArgumentParser(
2 description="Plot YAC debug grid files on an interactive map"
3 )

Definition at line 43 of file yac_plot_grids.py.

◆ plot_kwargs

yac_plot_grids.plot_kwargs

Definition at line 137 of file yac_plot_grids.py.

◆ projection

yac_plot_grids.projection

Definition at line 125 of file yac_plot_grids.py.

◆ radius

yac_plot_grids.radius

Definition at line 128 of file yac_plot_grids.py.

◆ return_index

yac_plot_grids.return_index

Definition at line 141 of file yac_plot_grids.py.

◆ select

yac_plot_grids.select

Definition at line 141 of file yac_plot_grids.py.

◆ type

yac_plot_grids.type

Definition at line 56 of file yac_plot_grids.py.