demiangomez / Parallel.GAMIT

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

Add a bash command line to rename a RINEX file sent to the retry folder #2

Closed demiangomez closed 6 years ago

demiangomez commented 6 years ago

Whenever a station match is found during pyArchiveService but the name of the RINEX files does not agree with the StationCode, add an optional command line to rename the RINEX in the log file created in the retry folder.

demiangomez commented 6 years ago

The log files now include two lines, one that starts with BASH# that contains a rename command line and another one PSQL# that contains a SQL sentence to insert a station with the name of the file and XYZ and lat lon height coordinates into the ??? network. No checks are done to make sure that there is no overwriting done by the BASH# command. No verification is done by PSQL# in regards to the existence of the station code in the ??? network.