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

added option for explicit rpm cluster CRS with default to WGS 84 #168

Merged
merged 3 commits into from
Dec 22, 2022

Conversation

grantbuster
Copy link
Member

No description provided.

ppinchuk
ppinchuk previously approved these changes Dec 20, 2022
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.

LGTM

crs="EPSG:5070")
crs=source_crs)

if target_crs is not None:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do you know if Geopandas efficiently handles the case where the df crs == target crs? If we want to be extra cautious, we could change this to if target_crs != source_crs: in order to be completely sure that no unnecessary computation is happening

Copy link
Member Author

Choose a reason for hiding this comment

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

No idea haha that's a good idea to add that!

netr0m
netr0m previously approved these changes Dec 21, 2022
Copy link

@netr0m netr0m left a comment

Choose a reason for hiding this comment

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

LGTM!

@grantbuster grantbuster dismissed stale reviews from netr0m and ppinchuk via 48d87ac December 21, 2022 18:17
@codecov-commenter
Copy link

codecov-commenter commented Dec 21, 2022

Codecov Report

Merging #168 (928f327) into main (a36c72e) will decrease coverage by 0.02%.
The diff coverage is 70.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #168      +/-   ##
==========================================
- Coverage   80.64%   80.62%   -0.03%     
==========================================
  Files         118      118              
  Lines       13317    13324       +7     
==========================================
+ Hits        10740    10742       +2     
- Misses       2577     2582       +5     
Flag Coverage Δ
unittests 80.62% <70.00%> (-0.03%) ⬇️

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

Impacted Files Coverage Δ
tests/test_mean_wind_dirs.py 91.07% <33.33%> (-3.48%) ⬇️
reVX/rpm/rpm_clusters.py 80.34% <75.00%> (-0.18%) ⬇️
reVX/rpm/rpm_output.py 79.44% <100.00%> (+0.04%) ⬆️
reVX/version.py 100.00% <100.00%> (ø)
reVX/setbacks/parcel_setbacks.py 97.43% <0.00%> (-2.57%) ⬇️
reVX/handlers/database.py 0.00% <0.00%> (ø)
reVX/plexos/plexos_plants.py 58.95% <0.00%> (+0.09%) ⬆️

@grantbuster grantbuster merged commit a4e4dc5 into main Dec 22, 2022
@grantbuster grantbuster deleted the gb/rpm_crs branch December 22, 2022 15:32
github-actions bot pushed a commit that referenced this pull request Dec 22, 2022
added option for explicit rpm cluster CRS with default to WGS 84
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.

None yet

4 participants