Description Usage Arguments Value Examples
View source: R/anem_preparation.R
Define wells in the aquifer with required parameters.
1 | define_wells(wells_df = NULL, ...)
|
wells_df |
A data.frame (or tibble, or sf with point geometry) containing properties of wells. If wells_df is an sf object, the coordinates for each well are extracted and the sf geometry is removed. |
... |
Named vector inputs to be added to the wells object. Names that
replicate columns in |
This function returns a data.frame containing the columns:
wID: Well ID
Q: Pumping rate
R: Radius of influence
diam: Diameter of the well
x, y: Cartesian coordinates
well_type: Pumping (Q < 0), Injection (Q > 0), or Non-operational (Q = 0) well
These columns are followed by any other columns desired for the wells.
1 2 3 4 5 6 7 8 | define_wells(data.frame(wID=c(3,NA,9)),Q=rep(0,3))
wells_df <- data.frame(x=1:3,y=1:3,Q=11:13,diam=0.5,id=1001:1003)
wells <- define_wells(wells_df)
print(wells) # prints a tibble of the wells
define_wells(wells_df,Note="note",Name=c("N1","N2","N3"))
define_wells(wells_df,R=1e4,Q=-21:-23) # include R and replace Q in wells_df
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.