Skip to content

Conversation

@kewalak
Copy link
Contributor

@kewalak kewalak commented Dec 15, 2023

Phosphorus, N2, and Pathogens should generally be good to go. Sedflux still needs a good amount of work.

@codecov
Copy link

codecov bot commented Dec 15, 2023

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (9b97882) 38.58% compared to head (05898a3) 39.36%.
Report is 1 commits behind head on main.

Files Patch % Lines
src/clearwater_modules/nsm1/_main.py 0.00% 2 Missing ⚠️
src/clearwater_modules/nsm1/state_variables.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #61      +/-   ##
==========================================
+ Coverage   38.58%   39.36%   +0.77%     
==========================================
  Files          33       33              
  Lines        1161     1138      -23     
==========================================
  Hits          448      448              
+ Misses        713      690      -23     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@xaviernogueira xaviernogueira left a comment

Choose a reason for hiding this comment

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

Left a few comments. A handful of typehints in _n2.py need to be updated. Also there are some non-.py files that are showing up weird. Should be a quick fix!

Other than that great work, everything looks amazing, and all tests are passing so this is near-merge ready.

Copy link
Contributor

Choose a reason for hiding this comment

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

The pricess should have xr.DataArray or np.ndarray as in input/output typehints (as opposed to "float"), try a find and replace?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is an old file (along with all the other _XX.py files) that I kept around just since we were still translating everything over.

Copy link
Contributor

Choose a reason for hiding this comment

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

Is this meant to be a .py file?

Copy link
Contributor

Choose a reason for hiding this comment

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

Is this meant to be a .py file?

Copy link
Contributor

Choose a reason for hiding this comment

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

Is this meant to be a .py file? Also if you want to keep scrap files, i'd either not commit them or use commented out code where the purpose of keeping the old/scrap code around it made clear.

Copy link
Contributor

@imscw95 imscw95 left a comment

Choose a reason for hiding this comment

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

Looks great.

@imscw95 imscw95 merged commit 02ea6b8 into main Jan 10, 2024
@aufdenkampe aufdenkampe added this to the NSM Initial Release milestone Apr 12, 2024
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