calc-vpd

VPD (Vapor Pressure Deficit) function

Usage no npm install needed!

<script type="module">
  import calcVpd from 'https://cdn.skypack.dev/calc-vpd';
</script>

README

calc-vpd

Build Status tested with 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

const calcVpd = require('calc-vpd')

calcVpd({ tmp: 29.2, hmd: 76.5 })
//=> {
//     "swv": 29.08025234404583,
//     "vp": 40.518038231438965,
//     "vpd": 6.83385930085077,
//   }

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

Contributors

Thanks goes to these wonderful people (emoji key):


elzup

💻

This project follows the all-contributors specification. Contributions of any kind welcome!