gravity_response
- hygra.calculations.gravity_response(gcompgrid, wscgrid, boundary_values='extrapolate')[source]
Calculate gravity change from water storage changes (wsc) grid
- Parameters:
gcompgrid (Pandas.Data.Frame()) – Gravity component grid in format [x, y, z, value].
wscgrid (Pandas.Data.Frame() (time series)) – Water storage change grid in format 3D: [x, y, z, timestamp, value] or 1D: [z, timestamp, value].
boundary_values (str or float) – How to deal with the value for the LOWER boundary, if gcompgrid extents further than wscgrid. Possible values are ‘extraplate’ (default) or a float(value).
boundary_up (str or float) – How to deal with the value for the UPPER boundary, if gcompgrid extents further than wscgrid. Possible values are str(‘lastvalue’) or float(value to set).
- Returns:
Pandas.DataFrame() [time series]
Changes in gravity at gcompgrid sensor location in format [timestamps, value].