pisces.extensions.simulation.core.initial_conditions.InitialConditions.get_model_coordinate_system#
- InitialConditions.get_model_coordinate_system(model_name: str)[source]#
Retrieve the coordinate system of a stored model without fully loading it.
This method opens the model file, reads the metadata, and returns the coordinate system object.
- Parameters:
model_name (
str
) – The name/identifier of the model to inspect.- Returns:
The coordinate system object associated with the model.
- Return type:
CoordinateSystem
- Raises:
KeyError – If the model name is not found in the initial conditions.
FileNotFoundError – If the referenced model file does not exist.