rchFiles

package
v1.5.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateExternalRecharge added in v1.0.4

func CreateExternalRecharge(v *database.Setup) error

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

func Dryland(v *database.Setup, dryParcels []parcels.Parcel, cCData []database.CoeffCrop) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL