YAC 3.14.0
Yet Another Coupler
Loading...
Searching...
No Matches
yac_record.py File Reference

Go to the source code of this file.

Namespaces

namespace  yac_record
 

Variables

 yac_record.parser
 
 yac_record.type
 
 yac_record.default
 
 yac_record.str
 
 yac_record.nargs
 
 yac_record.help
 
 yac_record.WARNING
 
 yac_record.choices
 
 yac_record.args = parser.parse_args()
 
 yac_record.log_handler = logging.StreamHandler()
 
 yac_record.level
 
 yac_record.log_level
 
 yac_record.handlers
 
 yac_record.y = yac.YAC()
 
 yac_record.uxgrid = ux.open_grid(args.gridfile)
 
 yac_record.comp = y.def_comp(args.compname)
 
list yac_record.fields = []
 
 yac_record.cell_to_edge = np.asarray(uxgrid.face_edge_connectivity).reshape((-1,), order="C")
 
 yac_record.grid
 
 yac_record.cell_point_id
 
 yac_record.edge_point_id
 
 yac_record.vertex_point_id
 
 yac_record.points
 
 yac_record.start = np.datetime64(y.start_datetime)
 
 yac_record.end = np.datetime64(y.end_datetime)
 
 yac_record.first_source = y.get_field_source(args.compname, args.gridname, args.variables[0])
 
 yac_record.dt = np.timedelta64(parse_duration(y.get_field_timestep(*first_source)))
 
 yac_record.ds = ux.UxDataset(uxgrid=uxgrid)
 
 yac_record.source = y.get_field_source(args.compname, args.gridname, varname)
 
 yac_record.collection_size = y.get_field_collection_size(*source)
 
list yac_record.zaxis = [f"zaxis_{varname}"]
 
 yac_record.spatial_dim
 
 yac_record.spatial_size
 
 yac_record.point_id
 
 yac_record.data = np.nan*np.ones((len(ds["time"]), *(len(zaxis)*[collection_size]), spatial_size))
 
 yac_record.t = np.datetime64(field.datetime)
 
 yac_record.t_idx = np.searchsorted(ds["time"], t)
 
 yac_record.info
 
 yac_record.time