tetratech / baytrendsmap

Shiny app to create maps on-the-fly from output of the baytrends package.
https://tetratech.github.io/baytrendsmap/
MIT License
4 stars 2 forks source link

Load user file #40

Closed jharcum closed 4 years ago

jharcum commented 4 years ago

Describe the bug Cannot load user file not sorted by station

To Reproduce Steps to reproduce the behavior:

  1. Open baytrends map from https://leppott.shinyapps.io/baytrendsmap/
  2. Click on Browse
  3. Select attached file (ComboChngFile_2018_chla_sortBYperiodName.csv)
  4. See error in below screen capture
  5. Loaded same content but sorted by station works (ComboChngFile_2018_chla_sortBYstation.csv)

Error with: ComboChngFile_2018_chla_sortBYperiodName.csv image

No error with: (ComboChngFile_2018_chla_sortBYstation.csv image

ComboChngFile_2018_chla_sortBYperiodName.zip ComboChngFile_2018_chla_sortBYstation.zip

leppott commented 4 years ago

Works fine when run locally. Only have issue when run remote on Shiny.io servers.

Unable to track down the exact cause. Resorting the file or removing the bad entries fixes the issue.

Added text to the help file.

image

jharcum commented 4 years ago

done.