Learn R Programming

RGISTools (version 0.9.7)

lsRemoveMetadata: Remove the Landsat-7 or Lansat-8 metadata from the environment

Description

lsRemoveMetadata removes Landsat-7 and/or Landsat-8 (.LS7MD/ .LS8MD) metadata from the environment in `R'.

Usage

lsRemoveMetadata()

Arguments

Details

The metadata file is loaded in `R' with ls7Search, ls8Search and lsDownload. lsRemoveMetadata removes the metadata and frees up valuable RAM.

Examples

Run this code
# NOT RUN {
# creates a MetaData folder and downloads the csv file
# in the current working directory
src <- paste0(tempdir(),"/Path_for_downloading_folder")
print(src)
ls8LoadMetadata(AppRoot = src)
lsRemoveMetadata()
# }

Run the code above in your browser using DataLab