Closed lrdijkhuis closed 3 months ago
Thanks @lrdijkhuis to point this!
As mentioned in inbo/camtraptor#188, camtraptor uses frictionless's read_resource() function to read deployments, media and observations. So, read_camtrap_dp()
should allow the user to fully use the args of frictionless read_resource() function.
Can you provide me a datapacakge example to reproduce your error? Doing so, I will also be able to test that your deployments.csv is readable by frictionless' read_resource. If not, then I will ping @peterdesmet to check it in frictionless.
My first impression is that you cannot mix timestamp formats within a resource (deployments, observations, media), but I would like to have something for testing. And I hope to be wrong 😄
Hi @damianooldoni, Thanks! I'm not in the position to share a datapackage. I've send you and email regarding this issue.
for now: this is an example in that gives the parsing error in the function: <html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">
DeploymentID | start | end -- | -- | -- -- | 2020-10-16T10:45:49 | 2020-10-22T20:31:38 -- | 2020-02-26T12:59:48 | 2020-03-12T22:04:48 -- | 2020-12-13T17:12:33+01:00 | 2021-01-16T17:02:25+01:00
Camtraptor version 0.19.2 When a UTC offset has been specified for only a part of the deployments, reading the Agouti export file with
read_camtrap_dp()
returns a parsing issue on dttm variables. Dttm objects with missing UTC offset will return <_NA_>, whereas the ones with UTC offset are handled correctly. This is especially relevant in older projects without project UTC-offset and without deployment specific UTC-offset. Is it a suggestion to build in a work around, extra argument, that adds a user specified offset to deployments without one?