pr_get_geoloc: pr_get_geoloc

Description Usage Arguments Value

View source: R/pr_get_geoloc.R

Description

helper function used to get geolocation info from PRISMA data on VNIR and SWIR cubes

Usage

1
pr_get_geoloc(f, proc_lev, source, wvl = NULL, in_L2_file = NULL)

Arguments

f

input data he5 from caller

proc_lev

'character' Processing level (e.g., "1", "2B") - passed by caller

source

'character' ["HC0" | "HRC"], Considered Data Cub, Default: 'HCO'

wvl

'character' "VNIR" or "SWIR" - passed by caller

in_L2_file

'character' full path of an L2B/C file to be used to extract georeferencing info and angles for a corresponding L1 file. If not NULL, and 'in_file' is a L1 file, the LAT and LON fields used for bowtie georeferencing are taken from the L2 file instead than from the L1 file. The ANGLES data are also retrieved from the L2 file if requested.

Value

'list' containing required info according to 'proc_lev'


lbusett/prismaread documentation built on Feb. 22, 2022, 7:33 p.m.