phydrus.model.Model.add_atmospheric_bc

Model.add_atmospheric_bc(atmosphere, ldailyvar=False, lsinusvar=False, llai=False, rextinct=0.463, hcrits=1e+30, tatm=0, prec=0, rsoil=0, rroot=0, hcrita=100000.0, rb=0, hb=0, ht=0, ttop=0, tbot=0, ampl=0)[source]

Method to add the atmospheric boundary condition to the model.

Parameters
  • atmosphere (pandas.DataFrame) – Pandas DataFrame with at least the following columns: tAtm, Prec, rSoil, rRoot, hCritA, rB, hB, hT, tTop, tBot, and Ampl.

  • ldailyvar (bool, optional) – True if HYDRUS-1D is to generate daily variations in evaporation and transpiration. False otherwise.

  • lsinusvar (bool, optional) – True if HYDRUS-1D is to generate sinusoidal variations in precipitation. False otherwise.

  • llai (bool, optional) – Boolean indicating that potential evapotranspiration is to be divided into potential evaporation and potential transpiration using eq. (2.75) of the manual.

  • rextinct (float, optional) – A constant for the radiation extinction by the canopy (rExtinct=0.463) [-]. only used when lLai is True.

  • hcrits (float, optional) – Maximum allowed pressure head at the soil surface [L]. Default is 1e+30.

  • tatm (float, optional) – Time for which the i-th data record is provided [T].

  • prec (float, optional) – Precipitation rate [LT-1] (in absolute value).

  • rsoil (float, optional) – Potential evaporation rate [LT-1] (in absolute value). rSoil(i) is interpreted as KodTop when a time variable Dirichlet or Neumann boundary condition is specified.

  • rroot (float, optional) – Potential transpiration rate [LT-1] (in absolute value).

  • hcrita (float, optional) – Absolute value of the minimum allowed pressure head at the soil surface [L].

  • rb (float, optional) – Bottom flux [LT-1] (set equal to 0 if KodBot is positive, or if one of the logical variables qGWLF, FreeD or SeepF is .true.).

  • hb (float, optional) – Groundwater level [L], or any other prescribed pressure head boundary condition as indicated by a positive value of KodBot (set equal to 0 if KodBot is negative, or if one of the logical variables qGWLF, FreeD or SeepF is .true.).

  • ht (float, optional) – Prescribed pressure head [L] at the surface (set equal to 0 if KodBot is negative).

  • ttop (float, optional) – Soil surface temperature [oC] (omit if both lTemp and lChem are equal to .false.).

  • tbot (float, optional) – Soil temperature at the bottom of the soil profile [oC] (omit if both lTemp and lChem are equal to .false., set equal to zero if kBotT=0).

  • ampl (float, optional) – Temperature amplitude at the soil surface [K] (omit if both lTemp and lChem are equal to .false.).

Notes

The index of the atmosphere DataFrame should be a RangeIndex with integers.