Convert modflow coordinates to real world coordinates
rmf_convert_grid_to_xyz( dis, x = NULL, y = NULL, z = NULL, i = NULL, j = NULL, k = NULL, roff = NULL, coff = NULL, loff = NULL, prj = rmf_get_prj(dis) )
dis |
|
---|---|
x | modflow x coordinate |
y | modflow y coordinate |
z | modflow z coordinate |
i | modflow row number |
j | modflow column number |
k | modflow layer number |
roff | modflow row offset |
coff | modflow column offset |
loff | modflow layer offset |
prj | prj object |
data frame with real world x and y (and optionally z) coordinates
Provide either xyz or ijk If xyz is provided, it is reprojected using the optional prj object.
Optional roff, coff and loff values can be supplied along the i, j and k indices.
k indices should not represent Quasi-3D confining beds. If a real world coordinate should be obtained from a Quasi-3D confining bed, set the k index to the overlying model layer and supply a loff value (relative to the thickness of the overlying model layer)
The coordinate system has its origin in the lower left corner in the top layer. Row indices (i) increase from front to back (with decreasing Y values), column indices (j) increase from left to right (with increasing X values), layer indices (k) increase from top to bottom (with decreasing Z values).