plot_swath: Plot satellite swath boundary

View source: R/satfile_funcs.R

plot_swathR Documentation

Plot satellite swath boundary

Description

Plot satellite swath boundary

Usage

plot_swath(
  lon,
  lat,
  color = "red",
  size = 2,
  mapfill = "darkgreen",
  mapcolor = "#444444",
  mapalpha = 0.5
)

Arguments

lon, lat

2D numeric matrices, same size, containing the coordinates for the corresponding matrix containing the satellite data

color

Color of the swath boundary

size

Width of the swath outline

mapfill

Color of the continents on the map

mapcolor

Color of the outlines of countries on the map

mapalpha

Transparency of the continents on the map

Value

Map with a polygon showing the satellite swath boundary

Examples

# load the coordinate data from an example GCOM-C SGLI satellite file
data("example03_GC1SG1_201801031430Q31808_L2SG_IWPRK_3000")
str(longitude)
str(latitude)
plot_swath(lon=longitude, lat=latitude)

BIO-RSG/oceancolouR documentation built on April 30, 2024, 7:54 a.m.