Skip to content
Snippets Groups Projects
  • Marco Matthies's avatar
    d353b955
    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
    History
    Change weather data representation
    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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.