netCDF_Extract4DVarAsTbl: Create a tibble[tibble] representing a single time step and...

View source: R/netCDF_Extract4DVarAsTbl.R

netCDF_Extract4DVarAsTblR Documentation

Create a tibble[tibble] representing a single time step and depth layer from a ROMS 4DVar in a netcdf file

Description

Function to create a tibble[tibble] representing a single time step and depth layer from a ROMS 4DVar in a netcdf file.

Usage

netCDF_Extract4DVarAsTbl(
  netcdf,
  variable,
  timeslice = 1,
  layer = 1,
  verbose = FALSE
)

Arguments

netcdf

- path to netcdf file with ROMS model output, or a ncdf4 object connected to a netcdf file

variable

- variable name to extract

timeslice

- time slice from file to extract

layer

- depth layer to extract (positive numbers start from bottom; non-negative numbers start from surface)

verbose

- flag (T/F) to print info

Details

Creates a tibble[tibble] representing a single time step and depth layer from a ROMS 4DVar in a netcdf file.

Value

A tibble[tibble] object representing the layer


wStockhausen/wtsROMS documentation built on Feb. 2, 2025, 9:16 p.m.