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

zenith vs solar_zenith in psm3 variable maps #2377

Open
williamhobbs opened this issue Feb 6, 2025 · 3 comments · May be fixed by #2381
Open

zenith vs solar_zenith in psm3 variable maps #2377

williamhobbs opened this issue Feb 6, 2025 · 3 comments · May be fixed by #2381

Comments

@williamhobbs
Copy link
Contributor

Should 'zenith': 'solar_zenith_angle', in REQUEST_VARIABLE_MAP instead be 'solar_zenith': 'solar_zenith_angle', ? In VARIABLE_MAP it is solar_zenith.

REQUEST_VARIABLE_MAP = {
'ghi': 'ghi',
'dhi': 'dhi',
'dni': 'dni',
'ghi_clear': 'clearsky_ghi',
'dhi_clear': 'clearsky_dhi',
'dni_clear': 'clearsky_dni',
'zenith': 'solar_zenith_angle',
'temp_air': 'air_temperature',
'temp_dew': 'dew_point',
'relative_humidity': 'relative_humidity',
'pressure': 'surface_pressure',
'wind_speed': 'wind_speed',
'wind_direction': 'wind_direction',
'albedo': 'surface_albedo',
'precipitable_water': 'total_precipitable_water',
}

@cwhanse
Copy link
Member

cwhanse commented Feb 6, 2025

I think @williamhobbs is correct, line 52 should be 'solar_zenith': 'solar_zenith_angle'

@ayushjariyal
Copy link

@williamhobbs Is this issue still unresolved?

@williamhobbs
Copy link
Contributor Author

Is this issue still unresolved?

@ayushjariyal Yes, it it still unresolved. I already have another PR open, and will probably not start on this until that one is resolved, so feel free to work on it yourself, if that's why you are asking.

@ayushjariyal ayushjariyal linked a pull request Feb 7, 2025 that will close this issue
1 task
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 a pull request may close this issue.

3 participants