ocean-tracking-network / glatos

9 stars 4 forks source link

New column "record_status" in GLATOS detection CSV breaks read_glatos_detections() #179

Closed chrisholbrook closed 1 year ago

chrisholbrook commented 1 year ago

With glatos 0.6.3 or earlier, a column named "record_status", added to GLATOS detection exports (from GLATOS Data Portal) in August 2023, breaks read_glatos_detections() with error:

Error in data.table::fread(det_file, sep = ",", colClasses = col_classes,  :
  colClasses= is an unnamed vector of types, length 30, but there are 31 columns in the input. To specify types for a subset of columns, you can use a named vector, list format, or specify types using select= instead of colClasses=. Please see examples in ?fread.
chrisholbrook commented 1 year ago

fixed in glatos 0.6.4