sapfluxnet / sapfluxnetQC1

R package with functions related to sapfluxnet project
6 stars 0 forks source link

qc_soil_texture returning FALSE when no info about soil is provided #29

Closed MalditoBarbudo closed 7 years ago

MalditoBarbudo commented 7 years ago

qc_soil_texture function returns FALSE when no info about soil texture is provided (nor st_soil_texture, st_silt_perc, st_clay_perc and st_sand_perc variables). This generates an empty stand_md object in the QC process which causes the S4 sfnData object generation to fail.

Problem is in line 1394 of qc_unit_transformations.R file. Working on a fix.

MalditoBarbudo commented 7 years ago

Fixed in devel branch (commit 14d2f13)