YetAnotherCoupler 3.2.0_a
Loading...
Searching...
No Matches
Functions | Variables
plot_weights Namespace Reference

Functions

 plot_weights (fig, ax, weightsfile, src_grid, tgt_grid, src_idx=None, tgt_idx=None, zoom=1, quiver_kwargs={})
 
 cell_extent (grid, idx, zoom=4)
 
 main (source_grid, target_grid, weights_file, center=None, source_idx=None, target_idx=None, zoom=1, label_src_grid=None, label_tgt_grid=None, coast_res="50m", save_as=None)
 

Variables

 parser
 
 type
 
 help
 
 str
 
 nargs
 
 default
 
 float
 
 metavar
 
 choices
 
 args = parser.parse_args()
 

Function Documentation

◆ cell_extent()

plot_weights.cell_extent (   grid,
  idx,
  zoom = 4 
)

Definition at line 160 of file plot_weights.py.

Here is the caller graph for this function:

◆ main()

plot_weights.main (   source_grid,
  target_grid,
  weights_file,
  center = None,
  source_idx = None,
  target_idx = None,
  zoom = 1,
  label_src_grid = None,
  label_tgt_grid = None,
  coast_res = "50m",
  save_as = None 
)

Definition at line 171 of file plot_weights.py.

Here is the call graph for this function:

◆ plot_weights()

plot_weights.plot_weights (   fig,
  ax,
  weightsfile,
  src_grid,
  tgt_grid,
  src_idx = None,
  tgt_idx = None,
  zoom = 1,
  quiver_kwargs = {} 
)

Definition at line 16 of file plot_weights.py.

Variable Documentation

◆ args

plot_weights.args = parser.parse_args()

Definition at line 272 of file plot_weights.py.

◆ choices

plot_weights.choices

Definition at line 262 of file plot_weights.py.

◆ default

plot_weights.default

Definition at line 249 of file plot_weights.py.

◆ float

plot_weights.float

Definition at line 253 of file plot_weights.py.

◆ help

plot_weights.help

Definition at line 247 of file plot_weights.py.

◆ metavar

plot_weights.metavar

Definition at line 254 of file plot_weights.py.

◆ nargs

plot_weights.nargs

Definition at line 248 of file plot_weights.py.

◆ parser

plot_weights.parser
Initial value:
1= argparse.ArgumentParser(prog="plot_weights.py",
2 description=)

Definition at line 232 of file plot_weights.py.

◆ str

plot_weights.str

Definition at line 248 of file plot_weights.py.

◆ type

plot_weights.type

Definition at line 246 of file plot_weights.py.