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

Refactor lines length units #147

Merged
merged 2 commits into from
Aug 9, 2023

Conversation

aleaf
Copy link
Collaborator

@aleaf aleaf commented Aug 9, 2023

This PR refactors the attr_length_units and attr_height_units args to the Lines class into separate arguments for width, arbolate sum and elevation. This allowed for some clean-up of the arbolate sum and channel width-related code in Lines.to_sfr() that will hopefully make it more robust.

Refactoring of epsg and proj_str referances to a single 'crs' reference (in parallel of the recent change in Flopy) is also included.

…ng with mambaforge install and pip and git SSL certificate handling; point to doi-usgs docs and code state now that GitHub Actions are working for the doi-usgs domain
 * Replace attr_length_units arg with separate asum_units and width_units args
 * Rename attr_height_units arg to elevation_units
 * Use crs instead of epsg or proj_str
@codecov-commenter
Copy link

codecov-commenter commented Aug 9, 2023

Codecov Report

Merging #147 (6cae473) into develop (61bf0ec) will decrease coverage by 0.05%.
The diff coverage is 68.25%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@             Coverage Diff             @@
##           develop     #147      +/-   ##
===========================================
- Coverage    86.50%   86.45%   -0.05%     
===========================================
  Files           19       19              
  Lines         4186     4180       -6     
===========================================
- Hits          3621     3614       -7     
- Misses         565      566       +1     
Files Changed Coverage Δ
sfrmaker/gis.py 69.86% <42.85%> (-1.76%) ⬇️
sfrmaker/nhdplus_utils.py 87.27% <69.23%> (-0.71%) ⬇️
sfrmaker/lines.py 88.73% <70.27%> (+0.31%) ⬆️
sfrmaker/grid.py 72.36% <83.33%> (-0.04%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@aleaf aleaf merged commit dfa6519 into DOI-USGS:develop Aug 9, 2023
5 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.

2 participants