View source: R/orbitAnimation.R
| getGEDITrack | R Documentation |
Standardizes footprint coordinates, acquisition order, and beam identifiers
from any open point-level GEDI product or an extracted footprint table. The
result can be plotted directly or passed to plot_gedi_orbit_animation().
getGEDITrack(
x,
lon = NULL,
lat = NULL,
time = NULL,
track = NULL,
beams = NULL,
every = 1L,
segment_gaps = TRUE
)
x |
A data frame, |
lon, lat |
Names of longitude and latitude columns. When |
time |
Optional name of a column used to order footprints within each
track. GEDI |
track |
Optional name of a beam or track column. Separate tracks are colored independently. |
beams |
Optional beam names to read from an open GEDI object. |
every |
Keep every nth footprint after ordering. This is useful when plotting a complete orbit. |
segment_gaps |
Append segment numbers to track names when unusually large spatial gaps occur. Animation keeps this disabled so consecutive GEDI production granules remain one beam for a complete orbit. |
A data.table::data.table with longitude, latitude, sequence,
track, and available time and shot identifiers.
shots <- data.frame(
lon_lowestmode = seq(-44.2, -44.1, length.out = 10),
lat_lowestmode = seq(-13.8, -13.7, length.out = 10),
delta_time = seq_len(10), beam = "BEAM0000"
)
getGEDITrack(shots, every = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.