data.table from the .nc file generated by EE.R/get_efdc_nc_dt.R
get_efdc_nc_dt.RdExport grid information to a data.table from the .nc file generated by EE.
Melt nc array files
List the variable names in the NetCDF file.
Read data from EE generated NetCDF files.
Read coordinates from EE generated NetCDF files.
get_efdc_nc_dt( ..., var_name, wet_depth = 0.15, with_coord = T, remove_dry = T, verbose = T ) melt_nc(ncarray, var = "value", na.rm = F) 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)
| ... | Characters. The names of the |
|---|---|
| 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? |
| ncarray | Array. The 3D array read by |
| var | Character. The name of the variable to read. |
| na.rm | Logical. A logical value indicating whether NA values should be stripped before the computation proceeds. |
| filename | Character. The name of the |
| nc | NetCDF file connection generated by |
| simplify | Logical. If |
A data.table contains grid coordinates and elevation.