https://github.com/elzup/calc-vpd
VPD (Vapor Pressure Deficit) function
https://github.com/elzup/calc-vpd
agriculture iot science vpd
Last synced: 4 months ago
JSON representation
VPD (Vapor Pressure Deficit) function
- Host: GitHub
- URL: https://github.com/elzup/calc-vpd
- Owner: elzup
- License: mit
- Created: 2018-06-29T01:36:04.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2025-07-25T18:13:51.000Z (11 months ago)
- Last Synced: 2025-07-26T01:01:35.521Z (11 months ago)
- Topics: agriculture, iot, science, vpd
- Language: JavaScript
- Homepage:
- Size: 1.01 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 12
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# calc-vpd

[](https://github.com/facebook/jest)
> VPD (Vapor Pressure Deficit) function
- 水蒸気圧 = 6.1078 \* 10 ^ ((7.5 - 気温 / (気温 + 237.3)))
- 飽和水蒸気量 = 217 - 水蒸気圧 / (気温 + 273.15)
- 飽差 = (100 - 相対湿度) \* 飽和水蒸気量 / 100
参考: http://bigbearfarm.blog.fc2.com/blog-entry-306.html
## Install
```
$ npm install calc-vpd
```
## Usage
```js
const calcVpd = require('calc-vpd')
calcVpd({ tmp: 29.2, hmd: 76.5 })
//=> {
// "swv": 29.080252344,
// "vp": 40.518038231,
// "vpd": 6.833859301,
// }
```
## API
### `calcVpd(input)`
#### input
Type: `{ tmp: number, hmd: number }`
tmp: 気温
hmd: 湿度
#### output
Type: `{ swv: number, vp: number, vpd number }`
vp: 水蒸気圧,
swv: 飽和水蒸気量,
vpd: 飽差
## License
MIT © [elzup](https://elzup.com)