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 map boreal simple r #66

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft

Conversation

aliz237
Copy link
Collaborator

@aliz237 aliz237 commented Sep 17, 2024

Hi!

I have created this draft PR to track the progress on refactoring of the mapBoreal_simple.R.

So far, the expansion around the growing season logic has been partitioned into smaller functions. Would be great to get your feedback, specially to make sure the logic has been refactored as intended.

Also, a basic test suite has been added to make sure any updates to the algorithms go through the tests before merge. So far the test coverage is pretty minimal and covers only the bits that I just added, but this hopefully will grow to the whole lib directory and then to the full repository. My hope is to setup CI/CD for the repository to do automated testing when PRs are submitted.

As a standard dev practice, it'd be good to requires all PRs to go through review and approval before being merged into the main branch.

I will keep working on this branch and try to keep the diffs small so it's easy to see what's being updated.

Best,
-Ali

pahbs
pahbs previously approved these changes Sep 18, 2024
Copy link
Collaborator

@pahbs pahbs left a comment

Choose a reason for hiding this comment

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

looks good

@aliz237 aliz237 requested a review from pahbs September 18, 2024 17:19
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