PlanetScopeBiannual: Planet Scope Monthly composite for the Planet Scope Tropical...

View source: R/PlanetScopeBiannual.R

PlanetScopeBiannualR Documentation

Planet Scope Monthly composite for the Planet Scope Tropical Normalized Analytic Biannual Archive from NICFI

Description

Download Planet Scope imagesfrom NICFI project using planet python client

Usage

  PlanetScopeBiannual(Name, DirPlanet, AOI, Year, Semester)

Arguments

Name

Text to name the folder for download images

DirPlanet

Directory to planet API install

AOI

Directory to Area of Interest Vector (any format sf can read ex: .GPKG, .shp)

Year

Image year

Semester

first or second semester of the year

Value

Planet scoper biannual composite for the area of interest

Author(s)

Klaus Wolfgang Wiese Acosta

Examples

#Data to Initialize the planet Python client
DirPlanet <- "~/anaconda3/bin/planet"
Email <- "Your email for planet NICFI account"
Password <- "Your passwrod for planet NICFI account"

#Initialize the planet Python client
PlanetScopeInit(DirPlanet = DirPlanet, 
                    Email = Email, 
                    Password = Password)


#Data to download Planet Scope Image
AOI <- "~/To/Your/vector/directory/AOI.shp"
Name <- "TheNameYouLike"
Year <- 2020
Semester <- 1

#Execute function
PlanetScopeMonthly(Name = Name, 
                    AOI = AOI, 
                    DirPlanet = DirPlanet, 
                    Year = Year, 
                    Semester = Semester)
  

klauswiese/Planet documentation built on June 11, 2022, 6:45 p.m.