Skip to content

rg

sim2x.cpgrid_to_rg

Parameters:

Name Type Description Default
volume Dataset

A dataset with geometry to extract logs at

required
xyzcorn_df DataFrame

The xyzcorn Dataframe from eclx.EclDeck.xyzcorn

required
mapping_dims Sequence[str]

The dims in volume which signify the trace dimensions

('xline', 'iline')
depth_dim Optional[str]

The depth dimension to use for modelling from volume

None
buffer int

The number of samples above and below the active sim grid to include in the output

0
srate float

The sample rate of the output in depth

0.1
client Union[NoneType, distributed.client.Client]

A dask client if using multiprocessing (volume should be chunked)

None

Returns:

Type Description
Dataset

A Dataset containing gi with geometry matching volume but a different z dimension if depth_dim was not specified