Skip to content

read_data bugs #165

@sokole

Description

@sokole

note to self to revisit bugs with the read_data() function.

There is an issue with argument validation (I encountered on both linux and windows platforms).

There is an issue with date formats coming from the NEON data. I think an update to the arrow package affects how neonUtilities formats dates. The datetimes are truncating off the seconds, and it seems that this is causing problems for ecocomDP datetime validations, where it's changing the values to NA. This may be fixed with an update to the dependencies.

The below is an example that appears to be an issue with the validation of the id argument.

 dataset <- read_data(
     id = "neon.ecocomdp.20120.001.001", 
     site = c("COMO", "LECO", "SUGG"),
     startdate = "2017-06", 
     enddate = "2019-09",
     check.size = FALSE)

> Error in load(url(objurl)) : 
>  the input does not start with a magic number compatible with loading from a connection
> packageVersion("ecocomDP")
[1] ‘1.3.2’

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions