Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AverageStationResults ¶ added in v1.3.12
func AverageStationResults(stationData map[string][]StationResults, AvgStart, AvgEnd int) (map[string][]StationResults, error)
func LoadTextFiles ¶
LoadTextFiles loads CropSim text files from a location and returns a map of the results to use in further processing. This should include all the files and results for each station and each year. The map key is the station id that is also stored in the StationResults struct as Station
Types ¶
type MonthlyValues ¶ added in v1.0.4
type StationResults ¶
type StationResults struct { Station string Soil int MonthlyData []MonthlyValues Yr int Crop int Tillage int Irrigation int }
func (StationResults) AverageAnnual ¶ added in v1.3.12
func (sr StationResults) AverageAnnual() MonthlyValues
Click to show internal directories.
Click to hide internal directories.