Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed humidity conversion #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

elkir
Copy link

@elkir elkir commented Dec 7, 2023

The humidity conversion was done in reverse.

The set point is in g/kg, as are the humidity discomfort coefficients (degC/(g/kg)) , so when converting the dataset's specific humidity which is kg/kg, we need to multiply by the factor 1000 not divide

(q)kg/kg = (q)(kg/g)(g/kg)= (q) (1000g/g) (g/kg)= (q1000) g/kg

The humidity conversion was done in reverse.

The set point is in g/kg, as are the humidity discomfort coefficients (degC/(g/kg)) , so when converting the dataset's specific humidity which is kg/kg, we need to multiply by the factor 1000 not divide

(q)*kg/kg = (q)*(kg/g)*(g/kg)= (q) (1000g/g) (g/kg)= (q*1000) g/kg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant