Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

This notebook downloads daily GNSS position time series from the Nevada Geodetic Laboratory (NGL) at the University of Nevada, Reno. NGL processes data from thousands of permanent GNSS stations worldwide and publishes daily position solutions as plain text files, one file per station.

What the data is. A permanent GNSS station measures its own position, every day, to a few millimeters. The time series records ground motion: steady plate tectonic drift, earthquakes (sudden offsets), slow slip events, and seasonal loading from water and snow.

Reference frame. We use solutions in IGS20, the current realization of the International Terrestrial Reference Frame adopted by the International GNSS Service. Positions are expressed relative to this global frame, so the steady trends you will see are plate motions.

Data labels: 📍 In-situ sensor · 🪨 Solid Earth · 📐 Geodesy. At P563 the record also carries 💧 Land water, because the ground there subsides as the aquifer below is drawn down (see the map section at the end).

Citation. When using NGL products, cite: Blewitt, G., Hammond, W. C., & Kreemer, C. (2018). Harnessing the GPS data explosion for interdisciplinary science. Eos, 99, Blewitt et al. (2018).

🖥️ Lecture slides — Session 04 (Wed Oct 7)

The .tenv3 format

Each station file at https://geodesy.unr.edu/gps_timeseries/IGS20/tenv3/IGS20/{STATION}.tenv3 is whitespace-delimited with one header line. The columns include the station name (site), the date (YYMMMDD), the decimal year (yyyy.yyyy), and the position components split into an integer base and a fractional part: __east(m), _north(m), ____up(m) hold the varying part of the east, north, and up positions in meters. The odd-looking underscores are part of the actual column names, so we inspect the header after parsing rather than assuming it.

We use two stations from the Network of the Americas (NOTA): P395, in the Oregon Coast Range above the Cascadia subduction zone, and P563, in the southern San Joaquin Valley of California, inside the Pacific–North America plate boundary zone. Their coordinates, and the velocities NGL publishes for them, are fetched from NGL in the last section, with a map.

Downloading with pooch without a pinned hash

Section 1.6 taught the pattern: download with pooch, then pin the printed checksum as known_hash so every future run verifies it got the same bytes. That pattern applies to frozen files — a released dataset, an archived snapshot, the Natural Earth raster in Chapter 2.2.

These NGL files are living data: a new daily solution is appended every day, so the file’s checksum changes every day, and a hash pinned today would fail tomorrow — by design, since the file really did change. So here we pass known_hash=None and instead print the SHA256 of what we actually received. That printed hash is your provenance record: copy it into your notes or run log, and today’s analysis is tied to an exact input even though tomorrow’s download will differ. If you need bit-identical reruns (a paper, a graded submission), freeze a snapshot — archive the downloaded file (Zenodo, your repo’s data release) and pin that copy’s hash.

One caching caveat: with known_hash=None, pooch reuses a cached copy without asking the server. Delete the .tenv3 file from data/ when you want today’s data instead of the day you first ran this notebook.

P395.tenv3 sha256:5ccf595ea464a67afe940014ee54d5a1fd04a06f70e4fcaca47e5024e6034969
['site', 'YYMMMDD', 'yyyy.yyyy', '__MJD', 'week', 'd', 'reflon', '_e0(m)', '__east(m)', '____n0(m)', '_north(m)', 'u0(m)', '____up(m)', '_ant(m)', 'sig_e(m)', 'sig_n(m)', 'sig_u(m)', '__corr_en', '__corr_eu', '__corr_nu', '_latitude(deg)', '_longitude(deg)', '__height(m)']
Loading...

Relative displacement

The absolute coordinates are large numbers; what we care about is motion. We subtract the first daily solution from each component, so every series starts at zero and shows displacement in meters since the first observation. We keep the decimal year as the time axis.

Loading...
P395.tenv3 sha256:5ccf595ea464a67afe940014ee54d5a1fd04a06f70e4fcaca47e5024e6034969
P395: 7563 daily solutions saved to data/gps_P395_relative_position.csv
P563.tenv3 sha256:ab54ae4345bfbb118abdb67d46c9aa81450980e13b6143c3717ca20f2878927f
P563: 7624 daily solutions saved to data/gps_P563_relative_position.csv
<Figure size 1000x400 with 1 Axes>

Station locations and NGL velocities

A time series without its place is half a dataset. NGL publishes each station’s coordinates in llh.out (latitude, longitude, ellipsoidal height) and each station’s velocity from MIDAS, a trend estimator built to be insensitive to steps and seasonal signals (Blewitt et al., 2016, Blewitt et al. (2016)). We read two MIDAS files, both from NGL’s IGS20 processing:

  • midas.IGS.txt: velocities in the IGS20 frame, the frame of the series plotted above, so these are the slopes of that plot;

  • midas.NA.txt: the same velocities relative to stable North America, which removes the motion of the plate as a whole and leaves the deformation at the plate boundary.

These files are living data too (NGL rewrites them as new solutions arrive), so we log each file’s SHA256 and download date instead of pinning a hash. We read the published values rather than re-deriving them; when you fit a trend to these series yourself in section 2.6, compare your number with NGL’s.

llh.out  downloaded 2026-11-30 09:13 UTC  sha256:2444099bc20b4e3c3a238a0ce71786e4254b6035ba3d1aad8daf54ffde46c896
midas.IGS.txt  downloaded 2026-11-30 09:14 UTC  sha256:bb854a0734966fb5e40a306162d036a972e63532aa99f3515d72a3da0a28a492
midas.NA.txt  downloaded 2026-11-30 09:14 UTC  sha256:6c9be99cd74f63c1f44ed8280dd18fdaa1e4c00def184e0d0cea459fe68c9bf2
Velocities in mm/yr (NGL MIDAS); series_end is the last epoch MIDAS used, in decimal years.
Loading...
<Figure size 700x750 with 1 Axes>

How to read the map and the table. The arrows show motion relative to stable North America, the deformation at the plate boundary. The series plotted earlier are in IGS20, where the whole North American plate also moves, so their slopes should match the _IGS20 columns, not the _NA ones. The difference between the two frames is the motion of the plate itself.

  • P395 sits above the Cascadia subduction zone. Its northeast motion relative to North America is commonly attributed to elastic loading of the upper plate while the megathrust offshore is locked, with a contribution from rotation of the Oregon forearc (McCaffrey et al., 2013). Compare its vertical rate with its uncertainty before calling it uplift.

  • P563 sits in the Pacific–North America plate boundary zone. Its northwest motion records shear across that zone, and its negative vertical rate is subsidence consistent with groundwater extraction from the Central Valley aquifer system. One GNSS record, two Earth systems: 🪨 Solid Earth and 💧 Land water.

The east components drift steadily, at the MIDAS rates in the table: plate motion and plate-boundary deformation measured directly. Look closely and you can also see seasonal wiggles and, depending on the station and period, small offsets from earthquakes or equipment changes. In section 2.6 you fit this trend yourself, with uncertainties, and compare your rate with NGL’s MIDAS value; later chapters use the same series for seasonal decomposition and forecasting.

The CSV files saved in ./data/ contain only the decimal year and the three displacement components, ready for reuse.

Data credit: Nevada Geodetic Laboratory (Blewitt et al., 2018, doi:10.1029/2018EO104623). The data are openly distributed; cite NGL in anything you publish from them. Velocities: MIDAS (Blewitt et al., 2016, doi:10.1002/2015JB012552). P395 and P563 are NOTA stations operated by the EarthScope Consortium; NGL’s station pages link the original data DOIs, which you should cite as well. Map layers: Natural Earth (public domain) and PB2002 plate boundaries (Bird, 2003, doi:10.1029/2001GC000252).

References
  1. Blewitt, G., Hammond, W., & Kreemer, C. (2018). Harnessing the GPS Data Explosion for Interdisciplinary Science. Eos, 99. 10.1029/2018eo104623
  2. Blewitt, G., Kreemer, C., Hammond, W. C., & Gazeaux, J. (2016). MIDAS robust trend estimator for accurate GPS station velocities without step detection. Journal of Geophysical Research: Solid Earth, 121(3), 2054–2068. 10.1002/2015jb012552