-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added support to select location and time range (#50)
* get forcing file from location * check location format for bbox * get forcing file with given site name * add start time and end time * update forcing_filename in all relevant functions * slice forcing file based on the given time range * replace NumberOfTimeSteps with start/end time * fix save module * update run model notebook * fix save module * fix typo * fix old tests * fix linter * add tests for locations and time check * add test for get forcing file * test to check minutes * add doc string * fix linter * Update PyStemmusScope/forcing_io.py Co-authored-by: Bart Schilperoort <[email protected]> * revise regex and use parametrize for test * silent linter * Refactored loc parsing with re.findall. Support +/- numbers * Added support for "NA" start/end time input. * Pin prospector version * Fix linter/sonarcloud/pyroma issues * Apply Sarah's suggestions Co-authored-by: SarahAlidoost <[email protected]> * Added "validate config" function to config_io * Refactoring to remove "forcing_filename" kwarg * Last changes based on Sarah's review, Updated notebook * Apply Sarah's suggestions from code review Co-authored-by: SarahAlidoost <[email protected]> Co-authored-by: Bart Schilperoort <[email protected]> Co-authored-by: Bart Schilperoort <[email protected]> Co-authored-by: SarahAlidoost <[email protected]>
- Loading branch information
1 parent
7e008ea
commit 031b99c
Showing
18 changed files
with
459 additions
and
175 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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.