最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

python - Confusion with metpy water vapor functions - Stack Overflow

programmeradmin11浏览0评论

I'm trying to solve for surface turbulent latent heat flux and I need surface saturation humidity (qs) and surface air humidity (qa)

I currently have the 2m dew point temperature and 2m temperature from the ERA5 dataset.

If what I'm thinking is correct, surface saturation humidity (qs) is just the specific humidity at the dew point. I therefore used metpy's specific_humidity_from_dewpoint function.

But isn't the specific humidity at the dew point also just the saturation mixing ratio at the dew point? I used metpy's saturation_mixing_ratio function but it gave me a ever so slightly different result from the first one.

I'm also trying to solve for the surface air humidity. I thought of doing relative_humidity_from_dewpoint, mixing_ratio_from_relative_humidity, and then finally specific_humidity_from_mixing_ratio

Am I doing this correctly?

I'm trying to solve for surface turbulent latent heat flux and I need surface saturation humidity (qs) and surface air humidity (qa)

I currently have the 2m dew point temperature and 2m temperature from the ERA5 dataset.

If what I'm thinking is correct, surface saturation humidity (qs) is just the specific humidity at the dew point. I therefore used metpy's specific_humidity_from_dewpoint function.

But isn't the specific humidity at the dew point also just the saturation mixing ratio at the dew point? I used metpy's saturation_mixing_ratio function but it gave me a ever so slightly different result from the first one.

I'm also trying to solve for the surface air humidity. I thought of doing relative_humidity_from_dewpoint, mixing_ratio_from_relative_humidity, and then finally specific_humidity_from_mixing_ratio

Am I doing this correctly?

Share Improve this question asked Nov 18, 2024 at 19:42 mEXsACHINEmEXsACHINE 193 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1
  • Specific humidity is the ratio of the mass of water vapor to the mass of all air: $q = m_v / (m_v + m_d)$)
  • Water vapor mixing ratio is the ratio of the mass of water vapor to the mass of dry air: $w = m_v / m_d$

See here for more information. So no, the specific humidity at the dewpoint is not the saturation mixing ratio at the dew point.

I'm rusty on my heat flux calculations, but I think you need to stick with the specific humidity functions for your needs.

发布评论

评论列表(0)

  1. 暂无评论