cts5_energy_decode | R Documentation |
call NKE routine to estimate energy from technical file
cts5_energy_decode(
floatname = "",
techfilename = "",
CycleNumber,
PatternNumber = 1,
metadata = NULL,
subdir = "./ENY",
Nke_ProgPath = "",
default_vol = 800,
default_TS = 5,
default_SDCard = 0,
default_bat_self_discharge = 1.5,
default_ExtTrig = 0
)
floatname |
hexa name of the float. If "", the floatname will automatically found. |
techfilename |
use to specified directly the name of the technical file |
CycleNumber |
numeric : number of the cycle to decode, if techfilename="" |
PatternNumber |
numeric : number of the Pattern to decode, if techfilename="" |
metadata |
from |
subdir |
subdir where to put .csv ASCII files |
Nke_ProgPath |
path to the nke decoder (APMTEnergy.exe or ...). This path is stored to Sys.getenv("USEAR_Nke_ProgPath"). For Linux, if the Decoder path is in the .bashrc, you can leave this parameters empty. |
default_vol |
default emergence volume in cc. To be used if the inifile file is not found |
default_TS |
default temperature at surface. To be used if sbe41 data are not found |
default_SDCard |
default SDCard status (0 = not present). To be used if information is not found in metadata. |
default_bat_self_discharge |
batterie self discharge in A / year |
default_ExtTrig |
intensity of the External Triggered sensor in A |
this function must be call in the directory where are technicals and ini files. RData files from cts5_readProfile
with embeded ini file must be saved
This function create ASCII files in the subdir directory and return a list : TechFilename, IniFilename, filename, CycleNumber,PatternNumber, VolEmergence, TSurf, SDCard)
Meta<-cts5_readMetaSensor()
cts5_energy_decode(CycleNumber=c,PatternNumber = p,subdir="./ENY",metadata = Meta)
cts5_energy_decode(floatname = floatname,CycleNumber=c,PatternNumber=p,subdir="./ENY",metadata = Meta,
Nke_ProgPath="D:/Data/Provor_USEA/USEA_R/")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.