actions

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: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DbQuestion added in v1.2.0

func DbQuestion() (string, *sqlx.DB, error)

func GJQuestion added in v1.2.0

func GJQuestion() (bool, error)

func MakeFiles added in v1.1.0

func MakeFiles(r []database.MfResults, wel bool, rch bool, Rc bool, fileName string, outputPath string, mDesc string, modelStartDate time.Time) error

func MakeModflowFiles added in v1.1.0

func MakeModflowFiles() error

func QcResults added in v1.2.0

func QcResults(myEnv map[string]string) error

func RechBalanceQuestion added in v1.3.7

func RechBalanceQuestion() (bool, error)

func RunModel

func RunModel(debug bool, CSDir *string, mDesc string, sY int, eY int, eF bool, p97 bool, oldGrid bool, mf640 bool, myEnv map[string]string) error

func RunSteadyState added in v1.3.12

func RunSteadyState(mDesc, CSDir string, StartYr, EndYr, AvgStart, AvgEnd int, oldGrid, mf640 bool, myEnv map[string]string) error

RunSteadyState is a function that runs the model in Steady State Mode. This produces the following recharge file, but no well file is produced.

func WellAnnGJQuestion added in v1.3.7

func WellAnnGJQuestion() (bool, error)

func WellGJQuestion added in v1.3.6

func WellGJQuestion() (bool, error)

Types

type Answers added in v1.3.1

type Answers struct {
	WellFK []string
	RchFK  []string
	RowCol bool
}

type SliceMfResults added in v1.3.12

type SliceMfResults []database.MfResults

func (SliceMfResults) ExcludeResults added in v1.3.12

func (mr SliceMfResults) ExcludeResults(yrs []int) SliceMfResults

ExcludeResults is a method to return a subset of SliceMfResults that does not have a slice of years present.

func (SliceMfResults) GroupToAnnual added in v1.3.12

func (mr SliceMfResults) GroupToAnnual() map[int]SliceMfResults

GroupToAnnual is a method of SliceMfResults that will group all items within the slice by node. Make sure there are only one year of data when calling this method.

Jump to

Keyboard shortcuts

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