demiangomez / Parallel.GAMIT

Python wrapper to parallelize GAMIT executions
BSD 3-Clause "New" or "Revised" License
36 stars 17 forks source link

error handling #8

Closed smalleyr closed 6 years ago

smalleyr commented 6 years ago

When it gets a new station that has a "problem" (too close to more than one station, etc.), and ends up in the data_rejected directory, it would be nice if the error message had the psql command to add the station to the database, or at least printed out the info one needed (xyz, lat/lon/ht) to add it. (the problem may also be a rename, so that command might also be useful in the error message).

It would be nice if the rejected folder had some subfolders based on why it was rejected - at least one subfolder for failed to find location after 6 tries, and one subfolder for confused with another station(s), and possibly one for "other" (for now, could break down farther as other specific problems arise).

Put a or at the end of the log files so the prompt shows up on a new line.

demiangomez commented 6 years ago

All enhancements in this list have been applied.