get_efdc_nc_dt: Export grid information to a 'data.table' from the '.nc' file...

Description Usage Arguments Value

View source: R/get_efdc_nc_dt.R

Description

Export grid information to a data.table from the .nc file generated by EE.

List the variable names in the NetCDF file.

Read data from EE generated NetCDF files.

Read coordinates from EE generated NetCDF files.

Usage

1
2
3
4
5
6
7
8
9
get_efdc_nc_dt(..., var_name, wet_depth = 0.15, with_coord = T,
  remove_dry = T, verbose = T)

has_variable(filename)

get_efdc_nc_var(..., var_name, wet_depth = 0.15, verbose = T,
  with_coord = T, remove_dry = T)

get_efdc_nc_coordinates(nc, simplify = T)

Arguments

...

Characters. The names of the .nc files generated by EE (maximum 2 at once).

var_name

Character. The name of the variable to read.

wet_depth

Numeric. The minimum depth of the wet cell.

with_coord

Logical. Should the data merge with the coordinates (for plot)?

remove_dry

Logical. Should the dry cell be removed?

verbose

Logical. Should print the processing message?

filename

Character. The name of the .nc file generated by EE

nc

NetCDF file connection generated by nc_open.

simplify

Logical. If TRUE, delete unused columns.

Value

A data.table contains grid coordinates and elevation.


hxfan1227/efdcr documentation built on Nov. 15, 2019, 11:31 a.m.