Gravity Observations#
GravityObservations#
A class for handling gravity observation data, including methods for data manipulation, correction.
Object Creation#
|
Class to store and process gravity observations. |
|
Create object from a pandas DataFrame. |
|
Create a object from an Excel file. |
|
Create object from a CSV file. |
Data Attributes#
Return a list of known fields in the object. |
|
Return a list of required fields in the object. |
|
|
Set a column in the |
|
Set obs_id as the index of the data DataFrame attribute. |
Return unique survey loop id's sorted by loop start time. |
|
Return a summary of the observations by loop. |
|
|
Return summary statistics of observations by site. |
Return parameters as a |
|
|
Set the "active" flag/field to True for specified observations. |
|
Set the "active" flag/field to False for specified observations. |
|
Check the data for errors. |
Time Handing#
Earliest observation datetime. |
|
Latest observation datetime. |
|
Time interval unit used for calculating survey timedelta. |
|
Set time interval unit used for calculating survey timedelta. |
|
Return time datum used for calculating timedelta. |
|
Set time datum used for calculating loop and survey timedelta. |
|
Calculate time delta for survey and loop observations. |
Corrections#
|
Apply dial to mgal conversion to observed "meter_reading". |
Set gravity meter calibration factor. |
|
Compute earth tide correction and store in column |
|
Get ocean loading corrections and store in column |
|
Calculate corrected gravity values and assign to column 'gravity_corr'. |
Data Export#
|
Write data to a csv file. |
|
Write data to an excel file. |
Plotting#
Plot observed data. |
|
Plot network map showing connections between stations. |
|
Plot the order of station visits for each loop. |
GravityObservationsParameters#
A class for storing parameters and metadata related to reductions of data in a GravityObservations object.
Dataclass to hold parameters for pre-processing gravity observations. |
|
Generate a GsolveParameters object from a pandas.Series. |
|
Return a deep copy of object. |
|
Return dict of default parameter values. |
|
Return dict of non-default parameter values. |
|
Return parameters as strings in the form 'param: value'. |
|
Return parameters as a dict. |
|
Write parameters to an Excel file. |
|
Return parameters as a Series with parameter names as the index. |
Functions#
|
Merge 2 or more GravityObservations objects. |