DOI-USGS / lake-temperature-model-prep

Pipeline #1
Other
6 stars 13 forks source link

driver write is creating a parsing warning #134

Open jordansread opened 4 years ago

jordansread commented 4 years ago
meteo_data <- readr::read_csv(base_meteo)
Parsed with column specification:
cols(
  time = col_date(format = ""),
  ShortWave = col_double(),
  LongWave = col_double(),
  AirTemp = col_double(),
  RelHum = col_double(),
  WindSpeed = col_double(),
  Rain = col_double(),
  Snow = col_double()
)
Warning: 104 parsing failures.
  row       col   expected    actual                                                 file
14976 time      date like  time      '2_prep/sync/NLDAS_time[0.359420]_x[265]_y[184].csv'
14976 ShortWave a double   ShortWave '2_prep/sync/NLDAS_time[0.359420]_x[265]_y[184].csv'
14976 LongWave  a double   LongWave  '2_prep/sync/NLDAS_time[0.359420]_x[265]_y[184].csv'
14976 AirTemp   a double   AirTemp   '2_prep/sync/NLDAS_time[0.359420]_x[265]_y[184].csv'
14976 RelHum    a double   RelHum    '2_prep/sync/NLDAS_time[0.359420]_x[265]_y[184].csv'
..... ......... .......... ......... ....................................................
See problems(...) for more details.

This appears to be the case for all files

jordansread commented 4 years ago

Seems this is sometimes writing the timeseries two or more times, duplicating the headers at the 14976th row...