get_predictions: get_predictions

View source: R/get_predictions.R

get_predictionsR Documentation

get_predictions

Description

This is a function to get the predictions for a specific output simulated by SCOPE and calculate the accuracy.

Usage

get_predictions(
  SCOPE_dir = "D:/SCOPE-master/",
  Simulation_Name,
  output_file = "fluxes.csv",
  pred_vec = "lEtot"
)

Arguments

SCOPE_dir

the diretory patch of SCOPE

Simulation_Name

simulation name stating the directory name generated by the run_SCOPE function.

output_file

default "fluxes.csv" for the energy fluxes output

pred_vec

desirble output variables.

Value

The result is a data.frame with all the predicted output per simulation name and date.

Examples

Examples of uses of the get_predictions function
###############
library(tidyverse)

Predictions_pixel_1169 <- get_predictions(SCOPE_dir = "D:/SCOPE-master/",
                                          output_file = "fluxes.csv",
                                          pred_vec = "lEtot",
                                          Simulation_Name = "pixel_1169")

Predictions_pixel_1169


AlbyDR/rSCOPE documentation built on Dec. 19, 2024, 7:29 p.m.