To simplify compilation of t-route on non-traditional compute environments such as WSL, added the option to set a new alternative NETCDF environment variable, without interfering with the existing compile procedures (if said NETCDFALTERNATIVE is not defined). The value-add here is that no custom conda environment is needed any longer to set the pesky NETCDF include path on WSL.
Additions
Adding optional logic for NETCDFALTERNATIVE to compiler.sh
Removals
-
Changes
-
Testing
On environments such as WSL, set your own alternative NETCDF include directory, e.g.:
export NETCDFALTERNATIVE=$HOME/.conda/envs/py39/include/,
Then run ./compiler.sh as before.
If that is not desired, follow present instructions, there are no changes.
Screenshots
Notes
-
Todos
-
Checklist
[ ] PR has an informative and human-readable title
[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows project standards (link if applicable)
[ ] Passes all existing automated tests
[ ] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[ ] Visually tested in supported browsers and devices (see checklist below :point_down:)
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
[ ] Reviewers requested with the Reviewers tool :arrow_right:
To simplify compilation of t-route on non-traditional compute environments such as WSL, added the option to set a new alternative NETCDF environment variable, without interfering with the existing compile procedures (if said NETCDFALTERNATIVE is not defined). The value-add here is that no custom conda environment is needed any longer to set the pesky NETCDF include path on WSL.
Additions
Removals
-
Changes
-
Testing
On environments such as WSL, set your own alternative NETCDF include directory, e.g.: export NETCDFALTERNATIVE=$HOME/.conda/envs/py39/include/, Then run ./compiler.sh as before.
If that is not desired, follow present instructions, there are no changes.
Screenshots
Notes
-
Todos
-
Checklist
Testing checklist
Target Environment support
Accessibility
Other