inbo / fish-tracking

🐟 Collection of scripts for processing and analysing fish tracking data
3 stars 0 forks source link

Aggregation script should write to existing file #36

Closed peterdesmet closed 9 years ago

peterdesmet commented 9 years ago

The aggregation script currently drops file with aggregated data and creates a new one. This is problematic:

  1. The created file is for some reason not recognized by Google Drive (and thus CartoDB) as a CSV. It has a different icon.
  2. The CartoDB sync is using the file ID to synchronize. If the script deletes the file to replace it with a new one, the sync will still use the old file (in the trash)

Proposal:

The script should use a file ID of an existing file, empty it and write the new data to it. As a fail safe, it could back up the old file.

bartaelterman commented 9 years ago

I don't think this is still relevant:

peterdesmet commented 9 years ago

Agreed. All issues have to be reviewed, and new issues and milestones set.