-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Adjustable attributes for get_psm3 #1079
Comments
I've wanted the same thing. Note that you can change the pvlib.iotools.psm3.ATTRIBUTES = [
'ghi', 'dni', 'dhi', 'air_temperature', 'wind_speed', 'surface_albedo',
'clearsky_dhi', 'clearsky_dni', 'clearsky_ghi', 'cloud_type'
]
meta, df = pvlib.iotools.get_psm3(40, -80, api_key, email, '2019', 30, True) If anyone does open a PR for this, they could also edit the docstring to include 2019 and t*y-2019 in the list of acceptable years because those are available now. |
Probably a good idea to add |
Taking a look at this as part of a general update to the PSM3 wrapper. I'm waffling on where a new def get_psm3(latitude, longitude, api_key, email, names='tmy', interval=60,
leap_day=False, full_name=PVLIB_PYTHON, affiliation=PVLIB_PYTHON,
timeout=30): |
I suggest |
iotools has a fixed
ATTRIBUTES
variable. I would like to be able to change this inget_psm3
. Is there a reason we can't makeattributes
an input to the functionget_psm3
?The text was updated successfully, but these errors were encountered: