Skip to content

Commit 861aa1d

Browse files
authored
Merge branch 'main' into multiplatform-builds
2 parents 85d154d + 6b6e4cf commit 861aa1d

30 files changed

+2216
-970
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ default_language_version:
33

44
repos:
55
- repo: https://github.com/pre-commit/pre-commit-hooks
6-
rev: v4.6.0
6+
rev: v5.0.0
77
hooks:
88
- id: check-json
99
- id: pretty-format-json
@@ -26,7 +26,7 @@ repos:
2626
# - id: include-what-you-use
2727

2828
- repo: https://github.com/python-jsonschema/check-jsonschema
29-
rev: 0.28.6
29+
rev: 0.29.3
3030
hooks:
3131
- id: check-github-workflows
3232
- repo: meta

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
The code repository for the Raven Hydrological Modelling Framework developed at the University of Waterloo.
44

5-
Release versions, tutorials, documentation, and more distributed at [the Raven website](http://raven.uwaterloo.ca/Main.html).
5+
Release versions, tutorials, documentation, and more distributed at [the Raven website](https://raven.uwaterloo.ca/Main.html).
66

7-
Intended for use with Visual Studio Community Edition 2021, but also provided with Windows/linux/unix/MacOS g++ makefile and CMake configuration file.
7+
Intended for use with Visual Studio Community Edition 2022, but also provided with Windows/linux/unix/MacOS g++ makefile and CMake configuration file.
88

99
Note unconventional two-space tabbing conventions.
1010
If you would like to work with the active development of Raven's core, please do so on a branch and coordinate commits to the trunk with the Raven development team.
@@ -32,3 +32,4 @@ So that the ```cmake``` command to build Raven as solely a dynamic library becom
3232
```bash
3333
cmake -DCOMPILE_LIB=ON -DCOMPILE_EXE=OFF ../
3434
```
35+
Raven can alternately be bullt in unix/MacOS using the makefile provided with the source code (g++ must be installed on the machine). Lastly, it may be compiled within Visual Studio Community Edition 2022.

src/CommonFunctions.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,9 @@ void JulianConvert(double model_time, const double start_date, const int start_y
367367

368368
tt.date_string=string(out);
369369
tt.leap_yr=IsLeapYear(tt.year,calendar);
370+
371+
//tt.nn=(int)((tt.model_time+TIME_CORRECTION)/Options.timestep);//current timestep index - likely needs Options.timestep to be in global member
372+
370373
}
371374

372375
////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)