clip_boundary_values module reference

Includes routines that are used to ‘clip’ physical quantities which might arise due to numerical artifacts or inconsistent physical assumptions.

More…

Functions/Subroutines

time_interp_gt_sic_sicn()

Linearly interpolate ground temperature, sea-ice mass, and sea-ice concentration.

apply_clipping_gt_sic_sicn()

Limit the values of ground temperature, sea-ice mass, and sea-ice concentration.

Detailed Description

Includes routines that are used to ‘clip’ physical quantities which might arise due to numerical artifacts or inconsistent physical assumptions.

Function/Subroutine Documentation

subroutine clip_boundary_values/time_interp_gt_sic_sicn(gtrow, gtrol, gtrom, sicrow, sicrol, sicrom, sicnrow, sicnrol, sicnrom, flnd, mday, delt, gmt, iday, ilg, il1, il2)

Linearly interpolate ground temperature, sea-ice mass, and sea-ice concentration.

Parameters
  • gtrow :: [inout] Ground temperature at current timestep.

  • gtrol :: [in] Ground temperature at next physics time.

  • gtrom :: [in] Ground temperature at previous physics time.

  • sicrow :: [inout] Sea-ice mass at current timestep

  • sicrol :: [in] Sea-ice mass at next physics time

  • sicrom :: [in] Sea-ice mass at previous physics time.

  • sicnrow :: [inout] Sea-ice concentration for current timestep

  • sicnrol :: [in] Sea-ice concentration at next physics time.

  • sicnrom :: [in] Sea-ice concentration at previous physics time

  • flnd :: [in] Fractional land mask

  • mday :: [in] Date of next mid-month physics.

  • delt :: [in] Model timestep in seconds.

  • gmt :: [in] Number of seconds in current day.

  • iday :: [in] Current julian day.

  • ilg :: [in] size of longitude slice.

  • il1 :: [in] start of longitude slice.

  • il2 :: [in] end of longitude slice.

Called from

atm_f_data::read_spec_bc

subroutine clip_boundary_values/apply_clipping_gt_sic_sicn(gtrow, gtano, sicrow, sicnrow, flnd, ilg, il1, il2, sic_min, t_freeze)

Limit the values of ground temperature, sea-ice mass, and sea-ice concentration.

Parameters
  • gtrow :: [inout] Ground temperature at previous timestep.

  • gtano :: [in] Anomaly added onto the ground temperatures

  • sicrow :: [inout] Sea-ice mass for previous timestep

  • sicnrow :: [inout] Sea-ice concentration for previous timestep

  • flnd :: [in] Fractional land mask

  • ilg :: [in] size of longitude slice.

  • il1 :: [in] start of longitude slice.

  • il2 :: [in] end of longitude slice.

  • sic_min :: [in] Minimum of sea-ice mass above which a point is considered to be ice-covered (default: 45 kg)

  • t_freeze :: [in] Freezing point of seawater (default: 271.2 Kelvin)

Called from

atm_f_data::read_spec_bc