-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix LOCF in generateMissingWeather()
- close #437 "Incorrect count of LOCF in generateMissingWeather()" - the number of days on which LOCF was applied is now correctly counting only the days when there was a missing value that was replaced by a non-missing value - previously, any day with a missing value was counted -- even if it was not replaced by a non-missing value - for instance, inputs without solar radiation or without vapor pressure previously caused that every day was counted towards the maximum permissible number of LOCFs - note: initial values for LOCF changed from 0 to "missing" -- this matters only for days at the beginning of the time period that have missing values before a later day with a first non-missing value
- Loading branch information
Showing
1 changed file
with
59 additions
and
26 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