Skip to content

Commit

Permalink
no-sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Apr 9, 2017
1 parent 92c0950 commit 1a8af87
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions setup_data.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
#!/bin/bash
# this copies the necessary star data (one-time) to your PC
# unfortunately Astrometry.net does not currently recognize ~ or $HOME for this directory,
# so I thought it more reliable to put it in a commonly accessible directory
# https://www.scivision.co/setting-up-astrometry-net-program

(
cd ~/astrometry.net/data

mkdir -p /opt/astrometry/data
for i in {08..19}; do
wget -nc -nd -P /opt/astrometry/data http://broiler.astrometry.net/~dstn/4200/index-42"$i".fits
wget -nc -nd http://broiler.astrometry.net/~dstn/4200/index-42"$i".fits
done
)

0 comments on commit 1a8af87

Please sign in to comment.