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_calibrateWhether this run should calibrate (gamma0 and optionally deltaT).
mesh_fileregion_mask_fileforcing_2d_fileen4_directoryen4_source_region_geojsonoutput_filemelt_params_filediagnostics_directoryscenarioocean_levels_msource_max_depth_mprofile_start_yearprofile_end_yearcalibration_start_yearcalibration_end_yearen4_versionen4_bias_correctionen4_file_globen4_max_mesh_distance_kmen4_latitude_minen4_latitude_maxregional_melt_targets_m_per_yrcalibrate_deltaTrho_icerho_seawatercp_seawaterlatent_heat_iceflotation_tolerance_mminimum_ice_thickness_mfreezing_afreezing_bfreezing_cforcing_variableoverwriteoutput_years_per_fileseasons_per_year