compass.landice.tests.ismip7_calibration.ais.melt_model.melt_from_tf
- compass.landice.tests.ismip7_calibration.ais.melt_model.melt_from_tf(melt_form, parameter, fields, config, delta_t=None, mean_tf=None)[source]
Recompute the melt field from the thermal forcing at the draft.
- Parameters:
melt_form ({'ismip7', 'ismip6'}) – Which melt form to evaluate
parameter (float or xarray.DataArray) –
Kfor'ismip7'orgamma0for'ismip6'fields (dict) – From
read_run()config (compass.config.CompassConfigParser) – Configuration options, for the constant salinity, slope and Coriolis parameter
delta_t (float or xarray.DataArray, optional) – The basin correction to apply; defaults to the field the run used
mean_tf (xarray.DataArray, optional) – Precomputed basin-mean thermal forcing, for
'ismip6'
- Returns:
melt (xarray.DataArray) – Melt rate in kg m-2 yr-1, positive for melting, zero off the shelves