Open BadgerOnABike opened 9 months ago
good catch! I was mostly conceptualizing the "All" season as something for the back end to fill in to Season as a clearer alternative to "NA" in the output, but didn't consider the user filling in "All" as an explicit alternative to NA. This might not be the only place that has this issue.
I don't suppose you'd want to go as far as making Season a required field in more places and requiring that users specify "All" instead of leaving it blank?
Perhaps we have it say all where blanks exist for season to make it explicit.
I agree that this may be a larger change than just the 1 spot I've noted it. I have some other testing to do to see what really needs to be fixed and the expected behaviours but those will wait until after the course.
So far the issues uncovered are:
I will edit this as I find more
ignitions.R
conditions.R
burnProbability.R Accumulator seems to work.
Contact Details
brett.moore@nrcan-rncan.gc.ca
What happened?
When we assess the restricted fuels, the "All" season is its own season rather than applying to all seasons.
https://github.com/BurnP3/BurnP3Plus/blob/3baf6d32e6fad1b44b52c843e58f1f21ed438abb/src/ignitions.R#L222
What component are you seeing the problem on?
R
Relevant log output
Approvals Process