add_coords: Create Coordinates for GSLIB-style Grid file.

Description Usage Arguments Value

Description

Create Coordinates for GSLIB-style Grid file.

Usage

1
add_coords(data, grid_def)

Arguments

data

Data frame with grid arrangements but no coordiates. Imported from a GeoEase system file with function like read_gslib.

grid_def

Standard grid definition, which is a named numeric vectoor with elements (in order): n_x, n_y, n_z, min_x, min_y, min_z, dim_x, dim_y, dim_z, realz.

Value

Data frame same as input but with fields: r, x, y, z added.


truemoid/rgslib documentation built on May 30, 2019, 2:14 p.m.