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

Functions

 parse_duration (s)
 
 grid_cache (grid_spec)
 
 get_grid (variable)
 

Variables

 parser
 
 type
 
 str
 
 nargs
 
 default
 
 required
 
 False
 
 help
 
 datetime64
 
 parse_duration
 
 action
 
 dest
 
 const
 
 args = parser.parse_args()
 
 log_handler = logging.StreamHandler()
 
 level
 
 loglevel
 
 handlers
 
 y = yac.YAC()
 
 ds = xr.open_mfdataset(args.files, engine=args.engine)
 
 start_date = args.start_date or np.datetime64(ds.time[0].data)
 
 end_date = args.end_date or np.datetime64(ds.time[-1].data)
 
 dt = args.dt
 
 comp = y.def_comp(args.compname)
 
dict grids = {}
 
list fields = []
 
 var = ds[varname]
 
 cells
 
 points
 
 point_id = cells
 
 collection_size = prod(var.sizes[d] for d in var.dims if d != "time" and d != "cell")
 

Function Documentation

◆ get_grid()

yac_replay.get_grid (   variable)

Definition at line 92 of file yac_replay.py.

Here is the call graph for this function:

◆ grid_cache()

yac_replay.grid_cache (   grid_spec)

Definition at line 84 of file yac_replay.py.

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

◆ parse_duration()

yac_replay.parse_duration (   s)

Definition at line 15 of file yac_replay.py.

Variable Documentation

◆ action

yac_replay.action

Definition at line 44 of file yac_replay.py.

◆ args

yac_replay.args = parser.parse_args()

Definition at line 49 of file yac_replay.py.

◆ cells

yac_replay.cells

Definition at line 117 of file yac_replay.py.

◆ collection_size

yac_replay.collection_size = prod(var.sizes[d] for d in var.dims if d != "time" and d != "cell")

Definition at line 121 of file yac_replay.py.

◆ comp

yac_replay.comp = y.def_comp(args.compname)

Definition at line 77 of file yac_replay.py.

◆ const

yac_replay.const

Definition at line 44 of file yac_replay.py.

◆ datetime64

yac_replay.datetime64

Definition at line 37 of file yac_replay.py.

◆ default

yac_replay.default

Definition at line 28 of file yac_replay.py.

◆ dest

yac_replay.dest

Definition at line 44 of file yac_replay.py.

◆ ds

yac_replay.ds = xr.open_mfdataset(args.files, engine=args.engine)

Definition at line 60 of file yac_replay.py.

◆ dt

yac_replay.dt = args.dt

Definition at line 66 of file yac_replay.py.

◆ end_date

yac_replay.end_date = args.end_date or np.datetime64(ds.time[-1].data)

Definition at line 63 of file yac_replay.py.

◆ False

yac_replay.False

Definition at line 29 of file yac_replay.py.

◆ fields

list yac_replay.fields = []

Definition at line 109 of file yac_replay.py.

◆ grids

dict yac_replay.grids = {}

Definition at line 83 of file yac_replay.py.

◆ handlers

yac_replay.handlers

Definition at line 52 of file yac_replay.py.

◆ help

yac_replay.help

Definition at line 30 of file yac_replay.py.

◆ level

yac_replay.level

Definition at line 52 of file yac_replay.py.

◆ log_handler

yac_replay.log_handler = logging.StreamHandler()

Definition at line 50 of file yac_replay.py.

◆ loglevel

yac_replay.loglevel

Definition at line 52 of file yac_replay.py.

◆ nargs

yac_replay.nargs

Definition at line 27 of file yac_replay.py.

◆ parse_duration

yac_replay.parse_duration

Definition at line 41 of file yac_replay.py.

◆ parser

yac_replay.parser
Initial value:
1= argparse.ArgumentParser("yac_replay",
2 description=)

Definition at line 22 of file yac_replay.py.

◆ point_id

yac_replay.point_id = cells

Definition at line 118 of file yac_replay.py.

◆ points

yac_replay.points

Definition at line 117 of file yac_replay.py.

◆ required

yac_replay.required

Definition at line 29 of file yac_replay.py.

◆ start_date

yac_replay.start_date = args.start_date or np.datetime64(ds.time[0].data)

Definition at line 62 of file yac_replay.py.

◆ str

yac_replay.str

Definition at line 27 of file yac_replay.py.

◆ type

yac_replay.type

Definition at line 27 of file yac_replay.py.

◆ var

yac_replay.var = ds[varname]

Definition at line 112 of file yac_replay.py.

◆ y

yac_replay.y = yac.YAC()

Definition at line 57 of file yac_replay.py.