wsu-das/degreedays

此包最新版本(v1.0.0)没有可用的许可证信息。

提供度日计算功能的库

v1.0.0 2024-04-30 18:43 UTC

This package is not auto-updated.

Last update: 2024-10-02 18:55:21 UTC


README

计算器提供两种使用每日温度和上下限进行度日计算的方法

  • degreedays()(别名为dd()):使用单正弦法进行计算 更多信息
  • degreedaysAvg():不太准确,它使用仅使用平均温度的近似公式
use WsuDas\Degreedays\Calculator;

$dd = Calculator::degreedays($tmax, $tmin, $lower, $upper, $cutoff);