Learn R Programming

wrspathrow (version 0.1)

pathrow_poly: Get a polgon giving area of coverage of a given WRS-1 or WRS-2 path and row

Description

Get a polgon giving area of coverage of a given WRS-1 or WRS-2 path and row

Usage

pathrow_poly(wrs_path, wrs_row, wrs_type = "2", wrs_mode = "D")

Arguments

wrs_path
WRS-1 or WRS-2 path as an integer
wrs_row
WRS-1 or WRS-2 row as an integer
wrs_type
1 (for WRS-1) or 2 (for WRS-2)
wrs_mode
either 'D' for descending (daytime) or 'A' for ascending (nighttime)

Value

list with path and row as integers

Examples

Run this code
library(sp)

x <- pathrow_poly(225, 61)
plot(x)

Run the code above in your browser using DataLab