DOI-USGS / mda.streams

backend tools for powstreams
Creative Commons Zero v1.0 Universal
3 stars 8 forks source link

Bug in parse_ts_path() for special new site #249

Closed jordansread closed 8 years ago

jordansread commented 8 years ago

Not sure why this fails, other than being a longer than normal site name:

parse_ts_path('.temp_ts/nwis_295827090052800-ts_doobs_nwis.rds')

 Error in parse_ts_name(parsed$ts_name, out = c("var_src", "var", "src"),  : 
  unexpected ts variable prefix in: [1] rds 
aappling-usgs commented 8 years ago

yep, it's because it's >=14 characters. that's the magic length. doing tests and a quick PR now.