PRISMA2geotiff: PRISMA2geotiff

Description Usage Arguments Value Examples

View source: R/read.R

Description

Exports PRISMA data cube to two geotiff files.

Usage

1
PRISMA2geotiff(input, output = NA, overwrite = F, verbose = F)

Arguments

input

character or list: if character it is the filepath to HDF PRISMA dataset, if it is a list it is the output of the PRISMA2rast function, and should contain

output

character (optional): the filepath and file name to save to. Defaults to a geotiff file with the same basename. E.g. /path/XXX.he5 will be /path/XXX_VNIR.tif and /path/XXX_SWIR.tif.

overwrite

logical: do you want to overwrite automatically any existing Geotiff file with the same name?

verbose

logical: lot's of messages if True. Defaults to False.

Value

logical: TRUE on success or FALSE on error.

Examples

1
2
3
filepath<-"/archivio/shared/geodati/raster/OPTICAL/PRISMA/"
filename<-"PRS_L2D_STD_20200418101701_20200418101706_0001.he5"
# PRISMA2geotiff( input=file.path(filepath, filename), verbose=TRUE)

fpirotti/rPRISMA documentation built on Feb. 23, 2022, 4:47 p.m.