pth2shp: Write a MODPATH pathline file into a simple feature (sf)...

Description Usage Arguments

Description

This function takes as an argument a MODPATH pathline tibble (as generated using the readpathline function) and converts the contents into an sf vector file such as a shapefile. The pathline can be converted to real-world coordinates using coordinate offsets and rotations. The pathline can also be modified by applying a MAX_TIME limit that will only show pathlines that are less than or equal to the threshold time limit (MAX_TIME).

Usage

1
2
pth2shp(df = NA, ofl = NA, PATH = NA, X_off = 0, Y_off = 0,
  ROT = 0, MAX_TIME = Inf)

Arguments

df

This is the data frame containing the pathline information. If this dataframe is not present pth2sf will call readpathline using the supplied PATH. The default is NA.

ofl

is the output vector file name (including the filepath) of the SF file.

PATH

This is the full file path to the pathline file. When PATH is NA and df is not supplied this function will look in the current working directory for the pathline file.

X_off

This is the global X coordinate offset.

Y_off

This is the global Y coordinate offset.

ROT

This is the rotation angle in units of degrees.

MAX_TIME

is the maximum pathline travel time to be printed. This defaults to Inf.


dpphat/MFtools documentation built on May 15, 2019, 1:47 p.m.