sat_name: Get the name of the satellite(s) from a 'records' or an...

sat_nameR Documentation

Get the name of the satellite(s) from a records or an rtoi

Description

Get the name of the satellite(s) from a records or an rtoi

Usage

sat_name(x)

## S4 method for signature 'records'
sat_name(x)

## S4 method for signature 'rtoi'
sat_name(x)

Arguments

x

a records or an rtoi object.

Value

the name of the satellite

Examples

## Not run: 
# load example rtoi
file.copy(from=system.file("ex/Navarre",package="rsat"),
         to=tempdir(),
         recursive = TRUE)

navarre <- read_rtoi(file.path(tempdir(),"Navarre"))
# get the records
rcds <- records(navarre)
# coerce the records to dataframe
sat_name(rcds)

## End(Not run)

rsat documentation built on March 18, 2022, 5:40 p.m.