Skip to content

v.gsflow.grid

Builds grid for the MODFLOW component of GSFLOW

v.gsflow.grid basin=name pour_point=name [raster_input=name] dx=string dy=string output=name [mask_output=name] bc_cell=name [--overwrite] [--verbose] [--quiet] [--qq] [--ui]

Example:

v.gsflow.grid basin=name pour_point=name dx=string dy=string output=name bc_cell=name

grass.script.run_command("v.gsflow.grid", basin, pour_point, raster_input=None, dx, dy, output, mask_output=None, bc_cell, overwrite=False, verbose=False, quiet=False, superquiet=False)

Example:

gs.run_command("v.gsflow.grid", basin="name", pour_point="name", dx="string", dy="string", output="name", bc_cell="name")

Parameters

basin=name [required]
    Study basin, over which to build a MODFLOW grid
    Or data source for direct OGR access
pour_point=name [required]
    Pour point, to which row and col (MODFLOW) will be added
    Or data source for direct OGR access
raster_input=name
    Raster to be resampled to grid resolution
    Name of input raster map
dx=string [required]
    Cell size suggestion (x / E / zonal), map units: rounds to DEM
dy=string [required]
    Cell size suggestion (y / N / meridional), map units: rounds to DEM
output=name [required]
    MODFLOW grid
    Name for output vector map
mask_output=name
    Raster basin mask: inside (1) or outside (0) the watershed?
    Name for output raster map
bc_cell=name [required]
    Constant-head boundary condition cell
    Name for output vector map
--overwrite
    Allow output files to overwrite existing files
--help
    Print usage summary
--verbose
    Verbose module output
--quiet
    Quiet module output
--qq
    Very quiet module output
--ui
    Force launching GUI dialog

basin : str, required
    Study basin, over which to build a MODFLOW grid
    Or data source for direct OGR access
    Used as: input, vector, name
pour_point : str, required
    Pour point, to which row and col (MODFLOW) will be added
    Or data source for direct OGR access
    Used as: input, vector, name
raster_input : str, optional
    Raster to be resampled to grid resolution
    Name of input raster map
    Used as: input, raster, name
dx : str, required
    Cell size suggestion (x / E / zonal), map units: rounds to DEM
dy : str, required
    Cell size suggestion (y / N / meridional), map units: rounds to DEM
output : str, required
    MODFLOW grid
    Name for output vector map
    Used as: output, vector, name
mask_output : str, optional
    Raster basin mask: inside (1) or outside (0) the watershed?
    Name for output raster map
    Used as: output, raster, name
bc_cell : str, required
    Constant-head boundary condition cell
    Name for output vector map
    Used as: output, vector, name
overwrite: bool, optional
    Allow output files to overwrite existing files
    Default: False
verbose: bool, optional
    Verbose module output
    Default: False
quiet: bool, optional
    Quiet module output
    Default: False
superquiet: bool, optional
    Very quiet module output
    Default: False

DESCRIPTION

v.gsflow.grid generates the MODFLOW grid and associated basin mask that are used for the USGS combined groundwater (MODFLOW) and surface-water (PRMS) model GSFLOW.

REFERENCES

Ng, G.-H. C., A. D. Wickert, R. L. McLaughlin, J. La Frenierre, S. Liess, and L. Sabeeri (2016), Modeling the role of groundwater and vegetation in the hydrological response of tropical glaciated watersheds to climate change, in AGU Fall Meeting Abstracts, H13L–1590, San Francisco, CA.

SEE ALSO

v.gsflow.export, v.gsflow.gravres, v.gsflow.hruparams, v.gsflow.reaches, v.gsflow.segments, v.gsflow.mapdata, r.gsflow.hydrodem, v.stream.inbasin, v.stream.network

AUTHOR

Andrew D. Wickert

SOURCE CODE

Available at: v.gsflow.grid source code (history)
Latest change: Thursday Feb 20 13:02:26 2025 in commit 53de819