polaris.tasks.ocean.analysis.sim_files.read_omega_config
- polaris.tasks.ocean.analysis.sim_files.read_omega_config(filename)[source]
Read the configuration file of the simulation being analyzed
- Parameters:
filename (str) – The path to the simulation’s Omega configuration file
- Returns:
omega_config (OmegaConfig) – The parsed configuration
- Raises:
FileNotFoundError – If there is no file at
filenameValueError – If the file does not look like an Omega configuration