Learn R Programming

RGISTools (version 1.0.2)

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 lsDownSearch. 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
wdir <- file.path(tempdir(),"Path_for_downloading_folder")
print(wdir)
ls8LoadMetadata(AppRoot = wdir)
lsRemoveMetadata()
# }

Run the code above in your browser using DataLab