IERS
Reads ocean pole load tide coefficients provided by IERS as computed by Desai [13] and Desai et al. [14]
Calling Sequence
import pyTMD.io
import pyTMD.utilities
ocean_pole_tide_file = pyTMD.utilities.get_data_path(['data','opoleloadcoefcmcor.txt.gz'])
ur,un,ue,glon,glat = pyTMD.io.IERS.read_binary_file(model_file=ocean_pole_tide_file)
- pyTMD.io.IERS.extract_coefficients(lon: ndarray, lat: ndarray, **kwargs)[source]
Reads ocean pole tide file from [13, 14] and spatially interpolates to input coordinates
- Parameters:
- lon: np.ndarray
longitude to interpolate
- lat: np.ndarray
latitude to interpolate
- model_file: str
IERS map of ocean pole tide coefficients
- method: str, default ‘spline’
Interpolation method
'spline'
: scipy bivariate spline interpolation'linear'
,'nearest'
: scipy regular grid interpolations
- Returns:
- ur: np.ndarray
radial ocean pole tide coefficients
- un: np.ndarray
north ocean pole tide coefficients
- ue: np.ndarray
east ocean pole tide coefficients
- pyTMD.io.IERS.read_binary_file(**kwargs)[source]
Read real and imaginary ocean pole tide coefficients from [13, 14]
- Parameters:
- model_file: str or pathlib.Path
IERS map of ocean pole tide coefficients
- Returns:
- ur: np.ndarray
radial ocean pole tide coefficients
- un: np.ndarray
north ocean pole tide coefficients
- ue: np.ndarray
east ocean pole tide coefficients
- glon: np.ndarray
ocean grid longitude
- glat: np.ndarray
ocean grid latitude