From 299c39c511490e0f234c30f1ca3555bade1d5595 Mon Sep 17 00:00:00 2001 From: HanEmile Date: Tue, 14 Feb 2017 18:06:55 +0100 Subject: added python file for downloading data, added TLE Folder for storing data --- download_data.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 download_data.py (limited to 'download_data.py') diff --git a/download_data.py b/download_data.py new file mode 100644 index 0000000..878cae8 --- /dev/null +++ b/download_data.py @@ -0,0 +1,10 @@ +import urllib.request + +# downlaod specific categeory +def download(category): + webx_loc = 'http://celestrak.com/NORAD/elements/' + category + '.txt' + disk_loc = 'TLE/' + category + '.txt' + urllib.request.urlretrieve(webx_loc, disk_loc) + +# download category +download("argos") -- cgit 1.4.1