Skip to content
Snippets Groups Projects
  1. Mar 14, 2025
  2. Feb 19, 2025
    • Marco Matthies's avatar
      69ee3eb9
    • 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. Feb 14, 2025
  4. Feb 11, 2025
  5. Jan 26, 2025
  6. Jan 19, 2025
  7. Jan 13, 2025
    • Marco Matthies's avatar
      Improve isharvestable() function for ALMaSS crop model · a4b51e21
      Marco Matthies authored
      The data/crops/almass/crop_data_general.csv file now stores a column
      `phase_before_harvest` to indicate in which growing phase the plant
      can be harvested.  This is `marchfirst` for most crops, and `sow` for
      maize.
      
      In theory, with the current setup there could be a problem for
      peas/beans if they are planted after March, 1 (the planting dates are
      15 February to 15 March).  Planted before March 1st, the last growth
      phase before harvest would be `marchfirst`.  But if planted after
      March 1st, the last growth phase before harvest would be `sow`.  The
      GDD curves for this crop only exist for `sow`, so probably planting
      before March 1st should not be allowed for this crop.
      a4b51e21
  8. Dec 17, 2024
  9. Dec 10, 2024
  10. Dec 06, 2024
  11. Dec 05, 2024
  12. Dec 04, 2024
  13. Dec 02, 2024
  14. Nov 07, 2024
Loading