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

Add LETID tests and geospatial bug fixes #77

Merged
merged 94 commits into from
May 6, 2024
Merged

Conversation

martin-springer
Copy link
Collaborator

@martin-springer martin-springer commented Feb 23, 2024

Describe your changes

  • Add basic tests to LETID module
  • Bug fixes for geospatial analysis

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist before requesting a review

  • I have performed a self-review of my code
  • Code changes are covered by tests.
  • Code changes have been evaluated for compatibility/integration with Scenario analysis (for future PRs)
  • New functions added to init.py
  • API.rst is up to date, along with other sphinx docs pages
  • Example notebooks are rerun and differences in results scrutinized
  • What's new changelog has been updated in the docs

tobin-ford and others added 30 commits February 9, 2024 15:40
I had been using the meta information from "Source" to add meta information about the wind speed height but didn't realize that the meta information is not the same for all locations and this was causing crashing. I changed it to use the initial function call variable "database" to determine the source and the wind speed height.
I found a stray print statement I used for error checking.
Fixed problems with the function call for standoff distance and added in a higher quality output. However, some of the unmodified code is malfunctioning.
Added in some code to write a meteorolgical file in *.csv form.
These are some maps showing the geographical locations where the different satellites work for getting meteorological data.
martin-springer and others added 29 commits April 22, 2024 11:40
asdf
Fixed a metadata variable name to a proper "wind_height" and "module_temperature"
Fixed some of the output statements to be clearer. Changed the poa_min default to b 400 W/m2 as opposed to 100 W/m2.

Lots of work to streamline the calculator for Xeff.  Removed superfluous passing of variables. Put in better default control over tilt to use latitude if none is provided. Also put in checks to make sure the tilt and azimuth are provided in the *.csv file.
Fixed a problem with the generic *.csv importer I wrote. There was a problem with the index timezone (thanks Silvana)., and a problem with importing variables as strings instead of floats in the meta data.
Fixed some of the textual output. Simplified and streamlined the calculations for Xeff. Removed some lines to import weather data directly using PVlib because this would cause variable formatting issues. It now properly uses weather.read.
I added in another way to fix timezone. This was causing a problem on a pytest with LETID.
The meta data did not have the proper name for the time zone. So I added in the maping function.
@martin-springer martin-springer merged commit def3a3f into main May 6, 2024
8 checks passed
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.

5 participants