Add --sync-mp option for ACA-related mission planning files #23
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This makes it easier to maintain a local copy of key mission planning load files. The full contents are pretty large, about 200 Mb per week, so this restricts to files that are relevant for ACA. In particular, starcheck can run with this subset of files.
This only syncs files for the current year. It takes of order a minute / load year for the remote server to find the right files so this seems like a decent compromise.
This continues with the sad and low-tech solution of printing an rsync command that does the job. There are surely better solutions, but passwordless login via SSH keys still doesn't seem to work.
Testing
Functional testing
Ran this and did the
rsync
command, which put the correct files into my $SKA/data directory.