@idm-plugin/meteo2 0.7.6 → 0.7.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -1
- package/dist/index.umd.cjs +1 -1
- package/dist/worldtides/src/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2002,6 +2002,7 @@ class k0 {
|
|
|
2002
2002
|
* @param lng
|
|
2003
2003
|
*
|
|
2004
2004
|
* Start date (in YYYY-MM-DD format) to retrieve the tidal heights or extremes starting at midnight local time. You can also pass "today" to use the current date of the location.
|
|
2005
|
+
* @param days
|
|
2005
2006
|
* @param date
|
|
2006
2007
|
*
|
|
2007
2008
|
* If this parameter is present the low and high tides will be returned.
|
|
@@ -2461,7 +2462,7 @@ class T {
|
|
|
2461
2462
|
p = 51.6 * Math.exp(-0.0223 * M + 0.0281 * c) * Math.pow(Math.max(W, 10) / 100, 0.155);
|
|
2462
2463
|
} else
|
|
2463
2464
|
p = 46.4 * Math.exp(-0.0155 * M + 0.0169 * c);
|
|
2464
|
-
return Math.max(
|
|
2465
|
+
return Math.max(120 / 1.852, Math.min(150 / 1.852, p));
|
|
2465
2466
|
}
|
|
2466
2467
|
/**
|
|
2467
2468
|
* 基于台风强度推算风圈基础半径的经验公式
|