Skip to content
Snippets Groups Projects
  1. Mar 14, 2025
  2. Feb 19, 2025
    • Marco Matthies's avatar
      Change weather data representation · d353b955
      Marco Matthies authored
      `Weather` is now a type that stores the complete simulation data
      (previously it just stored the weather data for a single day).
      Weather data storage is now a struct-of-arrays, previously it was a
      dict-of-structs.
      
      Weather data can be accessed with functions such as `sunshine(weather,
      date)`.
      
      Missing weather input data for temperature (min/max/mean),
      precipitation, and evapotranspiration is now an error.  In the future,
      missing values could perhaps be imputed.
      
      `AgricultureModel` and `Weather` are now defined with `@kwdef`,
      allowing their constructors to be called with keyword arguments.
      d353b955
  3. Oct 14, 2024
    • Marco Matthies's avatar
      Fix withtestlogger() for Julia 1.11 · dde684c6
      Marco Matthies authored
      In Julia 1.11, the `Task` struct doesn't have a `logstate` field
      anymore, causing unit test failures.
      
      We use the `current_logger()` function instead, which is also
      available in previous Julia versions (tested in Julia 1.6 to 1.11).
      dde684c6
  4. Sep 18, 2024
  5. Sep 10, 2024
  6. Sep 06, 2024
  7. Aug 09, 2024
  8. Aug 08, 2024
  9. Aug 07, 2024
  10. Aug 05, 2024
  11. Aug 02, 2024
  12. Jul 29, 2024
  13. Jul 25, 2024
  14. Jun 20, 2024
Loading