projectedPointsForMissionWithName
Project mission ground-track points into a local Transverse Mercator box.
Declaration
alongtrack = projectedPointsForMissionWithName(missionName,requiredOptions,options)
Parameters
missionNamestring — mission keyrequiredOptions.Lxdouble — box width [m]requiredOptions.Lydouble — box height [m]requiredOptions.lat0double — box reference latitude [deg]requiredOptions.lon0double — central meridian for projection [deg]options.timenumeric/datetime vector — times at which to sample the orbitoptions.origin{‘lower-left’,’center’} (default ‘lower-left’) — coordinate origin convention for returned (x,y)
Discussion
Computes the ground track for the requested mission within a bounding box centered at (lon0,lat0) with size (Lx,Ly). Points are returned in projected coordinates (using a transverse Mercator projector). By default the origin is set to the lower-left of the bounding box, but can be optionally set to the center.
The function returns a struct with fields (x,y,t) - x: double column vector — projected x-coordinates - y: double column vector — projected y-coordinates - t: column vector — times corresponding to each point (sorted)
- Returns: alongtrack struct with field (x,y,t)