USACE / instrumentation

Instrumentation project issue tracking and project planning
MIT License
4 stars 1 forks source link

[BUG REPORT]: Timeseries Measurement Upload Minimum Rows #118

Closed jeffsuperglide closed 3 years ago

jeffsuperglide commented 3 years ago

Describe the bug

Uploading a CSV with Time and Value requires row one to be a header and at least two rows of data. Screen shot of error message in DevTools when only one row of data provided in the file. Once this error occurs, clicking project name in header continues to throw an error. Selecting any tab and then back to Uploader clears the error.

Steps To Reproduce

  1. Go to a project
  2. Click on Uploader tab
  3. Choose a File with only two rows of data, row one is the header
  4. No Data to show yet displays

Expected behavior

CSV data showning in Original tab

Actual behavior

See screenshot

Screenshots

Developer Tools Console

image

Suggested Parsed Tab for TIME

image

Desktop (please complete the following information):

Smartphone (please complete the following information):

NA

Additional context

Parsed times are converted to system local time. I would have expected all times parsed to UTC and stated in the Parsed header (see screen shot)