Target#
- class ufs2arco.targets.Target(source: Source, chunks: dict, store_path: str, rename: dict | None = None, forcings: list | tuple | None = None, statistics_period: dict | None = None, compute_temporal_residual_statistics: bool | None = False)#
Base class for the target dataset to be stored.
This is used in the case that the target data looks “the same” as the input (i.e., the zarr form equivalent).
Methods
Target.__init__(source, chunks, store_path)Initialize the GEFSDataset object.
After opening a single dataset for the given initial condition, forecast hour, and member, Apply any transformations necessary for storage
Deal with the dates issue
Target.finalize(topo)Any last minute operations
Target.handle_missing_data(missing_data)Take a list of dicts, with dimensions of missing data, and store it in the zarr
Target.manage_coords(xds)Manage the coordinates that will get stored in the container
This takes the default source variables and renames them to user specified options:
Attributes
Target.always_open_static_varsTarget.fhrTarget.horizontal_dimsTarget.memberTarget.nameTarget.renamed_sample_dimsTarget.sample_dimsTarget.t0Target.time