output_all: Output IACI of all grids

View source: R/rIACI.R

output_allR Documentation

Output IACI of all grids

Description

Processes all CSV files in the input directory and outputs the results to the output directory.

Usage

output_all(
  si,
  input_dir,
  output_dir,
  freq = c("monthly", "seasonal"),
  base.range = c(1961, 1990),
  time.span = c(1961, 2022)
)

Arguments

si

Data frame. Sea level input data.

input_dir

Character. Directory containing input CSV files.

output_dir

Character. Directory to save output files.

freq

Character. Frequency of calculation, either "monthly" or "seasonal".

base.range

Numeric vector. Base range years (default is c(1961, 1990)).

time.span

Numeric vector. Time span for output data (default is c(1961, 2022)).

Value

None. Results are saved to the output directory.

Examples

## Not run: 
# Assume we have sea level data 'si' and input/output directories
input_dir <- "path/to/input/csv/files"
output_dir <- "path/to/save/output/files"
# Run the output_all function with monthly frequency
output_all(si, input_dir, output_dir, freq = "monthly")

## End(Not run)

rIACI documentation built on April 12, 2025, 9:16 a.m.