You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
VPTS CSV defines gap as a boolean, with true and false values. In ODIM bird profile, gap is an integer, with 1 and 0 values.
bioRad converts gap from incoming data (via read_vpfiles() or read_vpts()) to 0 and 1, but I would argue to follow the VPTS CSV specs and use false and true. Note that we already have day as another boolean field.
Seems we have lost the boolean type along the way, since the example object example_vpts still has gap as a boolean. So let's restore it to what it was.
function vol2birdR::vol2bird() does write a boolean in VPTS CSV format, but it stores gap as a float in .h5 format. In both cases bioRad function read_vpts() returns 1/0:
VPTS CSV defines gap as a boolean, with
true
andfalse
values. In ODIM bird profile, gap is an integer, with1
and0
values.bioRad converts gap from incoming data (via
read_vpfiles()
orread_vpts()
) to0
and1
, but I would argue to follow the VPTS CSV specs and usefalse
andtrue
. Note that we already haveday
as another boolean field.Created on 2023-09-12 with reprex v2.0.2
Note that e.g. the column
day
uses boolean values already.The text was updated successfully, but these errors were encountered: