dctools.data.coordinates.get_target_dimensions

dctools.data.coordinates.get_target_dimensions(cfg, *, surface=False)

Return the target dimensions dict from global config.

This replaces the former module-level constants (TARGET_DIM_RANGES, TARGET_DEPTH_VALS, …) and keeps the grid definition in the YAML config.

Parameters:
  • cfg (Any)

  • surface (bool)

Return type:

Dict[str, Any]