compass.landice.tests.ismip7_forcing.ocean_thermal.greenland_3d.Config

class compass.landice.tests.ismip7_forcing.ocean_thermal.greenland_3d.Config(mesh_file: 'Path', region_mask_file: 'Path', forcing_2d_file: 'Path', en4_directory: 'Path', en4_source_region_geojson: 'Path', output_file: 'Path', melt_params_file: 'Path', diagnostics_directory: 'Path', scenario: 'str', ocean_levels_m: 'np.ndarray', source_max_depth_m: 'float', profile_start_year: 'int', profile_end_year: 'int', calibration_start_year: 'int', calibration_end_year: 'int', en4_version: 'str', en4_bias_correction: 'str', en4_file_glob: 'str', en4_max_mesh_distance_km: 'float', en4_latitude_min: 'float', en4_latitude_max: 'float', regional_melt_targets_m_per_yr: 'np.ndarray', calibrate_deltaT: 'bool', rho_ice: 'float', rho_seawater: 'float', cp_seawater: 'float', latent_heat_ice: 'float', flotation_tolerance_m: 'float', minimum_ice_thickness_m: 'float', freezing_a: 'float', freezing_b: 'float', freezing_c: 'float', forcing_variable: 'str', overwrite: 'bool', output_years_per_file: 'int', seasons_per_year: 'int')[source]
__init__(mesh_file: Path, region_mask_file: Path, forcing_2d_file: Path, en4_directory: Path, en4_source_region_geojson: Path, output_file: Path, melt_params_file: Path, diagnostics_directory: Path, scenario: str, ocean_levels_m: ndarray, source_max_depth_m: float, profile_start_year: int, profile_end_year: int, calibration_start_year: int, calibration_end_year: int, en4_version: str, en4_bias_correction: str, en4_file_glob: str, en4_max_mesh_distance_km: float, en4_latitude_min: float, en4_latitude_max: float, regional_melt_targets_m_per_yr: ndarray, calibrate_deltaT: bool, rho_ice: float, rho_seawater: float, cp_seawater: float, latent_heat_ice: float, flotation_tolerance_m: float, minimum_ice_thickness_m: float, freezing_a: float, freezing_b: float, freezing_c: float, forcing_variable: str, overwrite: bool, output_years_per_file: int, seasons_per_year: int) → None

Methods

__init__(mesh_file, region_mask_file, ...)

from_json(path[, overrides])

Build a Config from JSON, optionally injecting compass paths.

validate()

Attributes

should_calibrate

Whether this run should calibrate (gamma0 and optionally deltaT).

mesh_file

region_mask_file

forcing_2d_file

en4_directory

en4_source_region_geojson

output_file

melt_params_file

diagnostics_directory

scenario

ocean_levels_m

source_max_depth_m

profile_start_year

profile_end_year

calibration_start_year

calibration_end_year

en4_version

en4_bias_correction

en4_file_glob

en4_max_mesh_distance_km

en4_latitude_min

en4_latitude_max

regional_melt_targets_m_per_yr

calibrate_deltaT

rho_ice

rho_seawater

cp_seawater

latent_heat_ice

flotation_tolerance_m

minimum_ice_thickness_m

freezing_a

freezing_b

freezing_c

forcing_variable

overwrite

output_years_per_file

seasons_per_year