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

Feat/offshore lcp #188

Merged
merged 27 commits into from
Aug 18, 2023
Merged

Feat/offshore lcp #188

merged 27 commits into from
Aug 18, 2023

Conversation

mikebannis
Copy link
Collaborator

Most recent changes to offshore wind transmission paths code

@mikebannis mikebannis requested a review from ppinchuk July 25, 2023 19:19
@codecov-commenter
Copy link

codecov-commenter commented Jul 31, 2023

Codecov Report

Merging #188 (195508a) into main (cdde308) will decrease coverage by 0.28%.
Report is 14 commits behind head on main.
The diff coverage is 44.37%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #188      +/-   ##
==========================================
- Coverage   81.36%   81.09%   -0.28%     
==========================================
  Files         113      113              
  Lines       13369    13443      +74     
==========================================
+ Hits        10878    10901      +23     
- Misses       2491     2542      +51     
Flag Coverage Δ
unittests 81.09% <44.37%> (-0.28%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
reVX/least_cost_xmission/aoswt_utilities.py 0.00% <0.00%> (ø)
reVX/least_cost_xmission/trans_cap_costs.py 88.02% <ø> (-1.65%) ⬇️
...eVX/least_cost_xmission/least_cost_xmission_cli.py 50.45% <26.66%> (-1.86%) ⬇️
reVX/least_cost_xmission/least_cost_xmission.py 89.18% <62.50%> (-0.99%) ⬇️
reVX/__init__.py 92.30% <66.66%> (-7.70%) ⬇️
reVX/utilities/reeds_cols.py 97.29% <92.30%> (-1.32%) ⬇️
reVX/config/least_cost_xmission.py 98.07% <93.33%> (-0.51%) ⬇️
reVX/utilities/region_classifier.py 75.53% <100.00%> (+0.53%) ⬆️
reVX/version.py 100.00% <100.00%> (ø)
reVX/wind_dirs/mean_wind_dirs.py 86.88% <100.00%> (ø)
... and 2 more

... and 6 files with indirect coverage changes

mikebannis and others added 20 commits July 31, 2023 17:09
* Allowed regions file to be passed through in add_reeds_cols, ignored CRS warning in outlier finding step.

* Changed  argument to  in geopandas sjoin call

* Docstring updates

* Fix tests

* Add guard to protect from third-party packages forcing a `logging.basicConfig` call

* Add missing parentheses

* Make slope friction parameters user changable

* Transformed constants to uppercase

* Converted print statements to logger calls

* Fix deprecated pd.DataFrame.append()

* Fix minor syntax issues

* Fix line length

* Change default out dir

* Fix spelling error

* Friction config and minor cli changes

* Update reV version req

* Update to conform to new reV API

* Bump version

* Minor PR changes

* Improve split to geojson logging

* Update workflow to use trusted publishing

* Allow minimum off-shore friction

* Fix line length linter issue

---------

Co-authored-by: WilliamsTravis <travis.williams@nrel.gov>
Co-authored-by: ppinchuk <ppinchuk@nrel.gov>
ppinchuk
ppinchuk previously approved these changes Aug 16, 2023
* update doc for aoswt layer creation

* Minor doc changes
Copy link
Collaborator

@ppinchuk ppinchuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for tiding up that README file and linking the Jupyter notebook!

@mikebannis mikebannis merged commit c91ad96 into main Aug 18, 2023
6 checks passed
@mikebannis mikebannis deleted the feat/offshore_lcp branch August 18, 2023 15:04
github-actions bot pushed a commit that referenced this pull request Aug 18, 2023
* Include bathymetry in AOSWT friction

* Ignore function complexity warning

* Add sc_point_gids back to config after removal during merge

* Allow buffer on land mask creation

* Added back `sc_point_gids` CLI option

* Updated docstrings

* Add missing quote

* Fixed local unbound variable error

* Fixed radius not increasing with area bug

* Minor doc updates

* Fixed counting scheme for logger messages

* Minor doc updates

* Added `expand_radius` option to CLI

* Updated docstring

* Clipping radius increased linearly instead of exponentially

* FIx bug where sc_features can be empty before recomputing radius

* Return empty dataframe if no paths found

* Make slope friction parameters user changable (#191)

* Allowed regions file to be passed through in add_reeds_cols, ignored CRS warning in outlier finding step.

* Changed  argument to  in geopandas sjoin call

* Docstring updates

* Fix tests

* Add guard to protect from third-party packages forcing a `logging.basicConfig` call

* Add missing parentheses

* Make slope friction parameters user changable

* Transformed constants to uppercase

* Converted print statements to logger calls

* Fix deprecated pd.DataFrame.append()

* Fix minor syntax issues

* Fix line length

* Change default out dir

* Fix spelling error

* Friction config and minor cli changes

* Update reV version req

* Update to conform to new reV API

* Bump version

* Minor PR changes

* Improve split to geojson logging

* Update workflow to use trusted publishing

* Allow minimum off-shore friction

* Fix line length linter issue

---------

Co-authored-by: WilliamsTravis <travis.williams@nrel.gov>
Co-authored-by: ppinchuk <ppinchuk@nrel.gov>

* Minor log update

* Fix linter issues

* Allow out dir to not exist in CLI

* Start updating doc for AOSWT

* Doc/document new aoswt options (#193)

* update doc for aoswt layer creation

* Minor doc changes

---------

Co-authored-by: ppinchuk <ppinchuk@nrel.gov>
Co-authored-by: WilliamsTravis <travis.williams@nrel.gov>
pesap pushed a commit to kodiobika/reVX that referenced this pull request Sep 6, 2023
* Include bathymetry in AOSWT friction

* Ignore function complexity warning

* Add sc_point_gids back to config after removal during merge

* Allow buffer on land mask creation

* Added back `sc_point_gids` CLI option

* Updated docstrings

* Add missing quote

* Fixed local unbound variable error

* Fixed radius not increasing with area bug

* Minor doc updates

* Fixed counting scheme for logger messages

* Minor doc updates

* Added `expand_radius` option to CLI

* Updated docstring

* Clipping radius increased linearly instead of exponentially

* FIx bug where sc_features can be empty before recomputing radius

* Return empty dataframe if no paths found

* Make slope friction parameters user changable (NREL#191)

* Allowed regions file to be passed through in add_reeds_cols, ignored CRS warning in outlier finding step.

* Changed  argument to  in geopandas sjoin call

* Docstring updates

* Fix tests

* Add guard to protect from third-party packages forcing a `logging.basicConfig` call

* Add missing parentheses

* Make slope friction parameters user changable

* Transformed constants to uppercase

* Converted print statements to logger calls

* Fix deprecated pd.DataFrame.append()

* Fix minor syntax issues

* Fix line length

* Change default out dir

* Fix spelling error

* Friction config and minor cli changes

* Update reV version req

* Update to conform to new reV API

* Bump version

* Minor PR changes

* Improve split to geojson logging

* Update workflow to use trusted publishing

* Allow minimum off-shore friction

* Fix line length linter issue

---------

Co-authored-by: WilliamsTravis <travis.williams@nrel.gov>
Co-authored-by: ppinchuk <ppinchuk@nrel.gov>

* Minor log update

* Fix linter issues

* Allow out dir to not exist in CLI

* Start updating doc for AOSWT

* Doc/document new aoswt options (NREL#193)

* update doc for aoswt layer creation

* Minor doc changes

---------

Co-authored-by: ppinchuk <ppinchuk@nrel.gov>
Co-authored-by: WilliamsTravis <travis.williams@nrel.gov>
pesap pushed a commit to kodiobika/reVX that referenced this pull request Sep 20, 2023
* Include bathymetry in AOSWT friction

* Ignore function complexity warning

* Add sc_point_gids back to config after removal during merge

* Allow buffer on land mask creation

* Added back `sc_point_gids` CLI option

* Updated docstrings

* Add missing quote

* Fixed local unbound variable error

* Fixed radius not increasing with area bug

* Minor doc updates

* Fixed counting scheme for logger messages

* Minor doc updates

* Added `expand_radius` option to CLI

* Updated docstring

* Clipping radius increased linearly instead of exponentially

* FIx bug where sc_features can be empty before recomputing radius

* Return empty dataframe if no paths found

* Make slope friction parameters user changable (NREL#191)

* Allowed regions file to be passed through in add_reeds_cols, ignored CRS warning in outlier finding step.

* Changed  argument to  in geopandas sjoin call

* Docstring updates

* Fix tests

* Add guard to protect from third-party packages forcing a `logging.basicConfig` call

* Add missing parentheses

* Make slope friction parameters user changable

* Transformed constants to uppercase

* Converted print statements to logger calls

* Fix deprecated pd.DataFrame.append()

* Fix minor syntax issues

* Fix line length

* Change default out dir

* Fix spelling error

* Friction config and minor cli changes

* Update reV version req

* Update to conform to new reV API

* Bump version

* Minor PR changes

* Improve split to geojson logging

* Update workflow to use trusted publishing

* Allow minimum off-shore friction

* Fix line length linter issue

---------

Co-authored-by: WilliamsTravis <travis.williams@nrel.gov>
Co-authored-by: ppinchuk <ppinchuk@nrel.gov>

* Minor log update

* Fix linter issues

* Allow out dir to not exist in CLI

* Start updating doc for AOSWT

* Doc/document new aoswt options (NREL#193)

* update doc for aoswt layer creation

* Minor doc changes

---------

Co-authored-by: ppinchuk <ppinchuk@nrel.gov>
Co-authored-by: WilliamsTravis <travis.williams@nrel.gov>
This pull request was closed.
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.

3 participants