get_flux: Extract fluxes from NetCDF file

View source: R/get_flux.R

get_fluxR Documentation

Extract fluxes from NetCDF file

Description

Extracts fluxes from the netCDF output file; Sensible heat flux (Qe), latent heat flux (Qh), long-wave back radation (Qb), incoming solar radiation (Qsw) and calculates the net sum of all these fluxes (Net). Net = Qe + Qh + Qb + Qsw Negative flux represents upward flux while positive indicated downward flux.

Usage

get_flux(ncdf, agg.dly = FALSE)

Arguments

ncdf

filepath; Name of the netCDF file to extract variable

agg.dly

logical; Aggregate the fluxes to a daily timestep.

Value

dataframe with the DateTime and heat fluxes in each columns.


aemon-j/gotmtools documentation built on April 12, 2024, 4:35 p.m.