View source: R/get_reflectance.R
get_reflectance | R Documentation |
This is a function to get the reflectance for a specific output simulated by SCOPE.
get_reflectance(
SCOPE_dir = "D:/SCOPE-master/",
Simulation_Name,
output_file = "reflectance.csv"
)
SCOPE_dir |
the diretory patch of SCOPE |
Simulation_Name |
simulation name stating the directory name generated by the run_SCOPE function. |
output_file |
default "reflectance.csv" output |
The result is a data.frame with all the predicted output per simulation name and date.
Examples of uses of the get_reflectance function
###############
library(tidyverse)
reflectance <- get_reflectance(SCOPE_dir = "D:/SCOPE-master/",
Simulation_Name = "pixel_1169")
ggplot() +
geom_line(aes(y = reflectance[[1]]$X9, x = reflectance[[1]]$nm), colour="green") +
geom_line(aes(y = reflectance[[1]]$X35, x = reflectance[[1]]$nm), colour="darkgreen")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.