formation_water¶
petrophys.workflow.steps.formation_water
- formation_water(rw=None, rw_meas_temp=None, *, salinity_ppm=None, name=None)[source]¶
Formation water resistivity at formation temperature (
RW).Give Rw with the temperature it was measured at, or a salinity, or
rw="header"to readRWandRWTfrom each well’s LAS header (useful when every well has its own value). Rw is corrected to the formation temperature of each sample with Arps’ equation along theTEMPcurve; withoutTEMP, a profile is built from the header BHT. Usescorrect_rw_temperature()andrw_from_salinity().- Parameters:
rw (float or "header", optional) – Formation water resistivity, ohm.m, at
rw_meas_temp.rw_meas_temp (str, tuple or float, optional) – Temperature at which
rwwas measured, with its unit, e.g."230 degF"or"110 degC"; a bare number is read as degF, with a warning. Required with a numericrw; withrw="header"it overrides the header RWT.salinity_ppm (float, optional) – Formation water salinity, ppm NaCl equivalent, instead of
rw.name (str, optional) – Step name; defaults to
"formation_water".
- Returns:
Produces
RW(ohm.m). ReadsTEMPwhen present.- Return type:
Examples
>>> from petrophys.workflow import steps >>> steps.formation_water(rw=0.07, rw_meas_temp="230 degF") steps.formation_water(rw=0.07, rw_meas_temp='230 degF') >>> steps.formation_water(rw=0.07) Traceback (most recent call last): ... ValueError: Invalid steps.formation_water() parameters: - rw_meas_temp is required with rw: the temperature at which rw was measured, e.g. rw=0.07, rw_meas_temp='230 degF'