Repository navigation
Combine methods to calcualte sati and satw
#79
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
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
43a8b44
Envphys - C headers - Remove incorrect file description
jomey 0781d03
Envphys - C headers - Remove unused macros and constants.
jomey 74438c3
Envphys - Saturation Vapor Pressure - Consolidate the math into the C…
jomey 9c645f4
Tests - Distribute - Change the topo mock to a function
jomey 0696925
Tests - Distribute - Add case for wet bulb temperature
jomey 72f64bb
Enphys - Wet Bulb temperature - Fix call to vapor pressure
jomey 862afb1
C code - Add clang-format und apply to changed files.
jomey fafc10f
Distribute - VaporPressure - Lint code and update doc strings.
jomey 2dd3e4e
Envphys - Vapor Pressure - Rename method for better clarity
jomey 68c6aaf
PR review - Implement some @copilot suggestions
jomey bbc6220
Envphys - Constants - No need to define LOG_10 as it is already avail…
jomey 93efbc0
Envphys - C Constants - Replace custom macros with standard C library…
jomey 20c8885
Envphys - C - Expand on clang formatter and apply to changed files
jomey 9747be1
Envphys C - Replace legacy use of numpy array declaration
jomey e39e262
Enphys - Remove exposure of sati and satw
jomey d92f5cb
Envphys - Topotherm - Use log10 for efficiency
jomey 414cb9c
Envphus - topotherm - Improve error logging for incorrect temperatures.
jomey 299f341
Envphys - Improve vapor pressure docstring
jomey 09f07fd
Makefile - Add new target for dev centric install
jomey 932e5e9
Makefile - Ensure binaries are up to date before test and install
jomey 6844636
Setup.py - Suppress deprecated NumPy API warning
jomey c2aa541
Setup.py - Lint file
jomey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| BasedOnStyle: LLVM | ||
| Language: C | ||
|
|
||
| # Core Formatting | ||
| ColumnLimit: 100 | ||
| TabWidth: 4 | ||
| IndentWidth: 4 | ||
| UseTab: Never | ||
| MaxEmptyLinesToKeep: 1 | ||
|
|
||
| # Line Wrapping & Breaking | ||
| ReflowComments: true # Wraps long comment lines to fit ColumnLimit | ||
| BreakBeforeBraces: Attach # Keeps opening braces on the same line as statements | ||
| BreakBeforeBinaryOperators: All # Wraps lines BEFORE operators (e.g., +, &&) | ||
| AlignAfterOpenBracket: BlockIndent # Aligns wrapped arguments to a new indented block | ||
|
|
||
| # Parameter & Argument Layout | ||
| BinPackArguments: false # Forces one argument per line if they wrap | ||
| BinPackParameters: false # Forces one parameter per line if they wrap | ||
| AllowAllParametersOfDeclarationOnNextLine: true | ||
| AllowAllArgumentsOnNextLine: true | ||
|
|
||
| # Alignment Rules | ||
| IndentCaseLabels: true # Indents 'case' statements inside a 'switch' | ||
| AlignEscapedNewlines: Left # Aligns backslashes in multi-line macros to the left | ||
|
|
||
| AlignConsecutiveMacros: # Aligns macro definitions horizontally | ||
| Enabled: true | ||
| AcrossEmptyLines: true | ||
| AcrossComments: false | ||
|
|
||
| AlignConsecutiveAssignments: # Aligns '=' operators on consecutive lines | ||
| Enabled: true | ||
| AcrossEmptyLines: false | ||
| AcrossComments: true | ||
|
|
||
| # Code Style & Readability | ||
| PointerAlignment: Right # Places asterisk next to name: 'int *ptr' | ||
| SortIncludes: CaseSensitive # Automatically sorts #include headers alphabetically | ||
|
|
||
| # Whitespace Padding | ||
| SpaceBeforeParens: Custom # Required to unlock fine-grained spacing rules | ||
| SpaceBeforeParensOptions: # Replaces the deprecated SpaceBeforeFunctionDeclarationParens flag | ||
| AfterFunctionDeclarationName: false # Enforces 'void func()' instead of 'void func ()' | ||
| AfterFunctionDefinitionName: false # Enforces 'void func() {}' instead of 'void func () {}' | ||
| AfterControlStatements: true # Enforces 'if (x)' instead of 'if(x)' | ||
| SpacesInParens: Custom # Replaces deprecated 'SpaceInEmptyParentheses' | ||
| SpacesInParensOptions: | ||
| InEmptyParentheses: false # Disallows spaces like 'void func( ) | ||
| SpacesInContainerLiterals: true # Adds spacing inside initializers: '{ 1, 2 }' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This removes the numpy compile warning