make_metadata_file: Calculate bottom variables and make metadata file from cast...

View source: R/df_to_netcdf.R

make_metadata_fileR Documentation

Calculate bottom variables and make metadata file from cast .rds files (R workflow)

Description

Calculates means of bottom variables using calc_bottom_mean_oce and retrieves metadata from .rds files, and combines bottom and metadata for all casts in rds_dir_path.

Usage

make_metadata_file(
  rds_dir_path = here::here("output", "gapctd"),
  in_pattern = "_qc.rds",
  output_path = NULL
)

Arguments

rds_dir_path

Path to a directory containing rds files that include oce objects named 'bottom'

in_pattern

Character vector search pattern for input files.

output_path

Output file path (.rds) where file should be saved.

Value

data.frame containing metadata for all deployments.

Author(s)

Sean Rohan


afsc-gap-products/gapctd documentation built on March 5, 2025, 3:42 a.m.