Documentation
¶
Index ¶
- func CreateExternalRecharge(v *database.Setup) error
- func Dryland(v *database.Setup, dryParcels []parcels.Parcel, cCData []database.CoeffCrop) error
- func IrrigationRCH(v *database.Setup, AllParcels []parcels.Parcel, cCData []database.CoeffCrop) error
- func NaturalVeg(v *database.Setup, wStations []database.WeatherStation, ...) error
- func NaturalVegSS(v *database.Setup, wStations []database.WeatherStation, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateExternalRecharge ¶ added in v1.0.4
CreateExternalRecharge is a function that creates the external recharge values in the results' database by getting the data from postgres DB and saving those values into the results DB.
func Dryland ¶ added in v1.0.4
Dryland gets a slice of dryland parcels and writes out the values to the results' database.
func IrrigationRCH ¶
func IrrigationRCH(v *database.Setup, AllParcels []parcels.Parcel, cCData []database.CoeffCrop) error
IrrigationRCH is a method that creates the RCH file information in the results DB for the irrigated parcels. This uses the parcel information and adds the proper type id
func NaturalVeg ¶
func NaturalVeg(v *database.Setup, wStations []database.WeatherStation, csResults map[string][]fileio.StationResults, cCoefficients []database.CoeffCrop) error
NaturalVeg is a function that calculates the area of each cell the is natural vegetation and applies the dryland pasture crop type to that area. It then calculates the RO and DP for that crop at that cell location and saves it out as a result value in the RCH file. It does use the Adjustment Factors used in previous models.
func NaturalVegSS ¶ added in v1.3.12
func NaturalVegSS(v *database.Setup, wStations []database.WeatherStation, csResults map[string][]fileio.StationResults, cCoefficients []database.CoeffCrop) error
Types ¶
This section is empty.