aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Hoffmann <volker@cheleb.net>2016-05-14 18:20:02 +0200
committerVolker Hoffmann <volker@cheleb.net>2016-05-14 18:20:02 +0200
commit9ab56a5bb7b9e3a1c9dc30e896389e7988e2ea6f (patch)
treeeb540ea15698226c847faeef74872e47795cdf30
parentd90d5961852568945ff39aeb1ed25f1c4a18dacc (diff)
chore: align rows in colspec with colnames
-rw-r--r--Helpers/obs_helpers_minor.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/Helpers/obs_helpers_minor.py b/Helpers/obs_helpers_minor.py
index be02e39..de04db3 100644
--- a/Helpers/obs_helpers_minor.py
+++ b/Helpers/obs_helpers_minor.py
@@ -34,9 +34,9 @@ def load_astorb(fname='astorb.dat', short=False):
# end is the column number of the last letter
# Ka-Ching
- colspecs = [ (0, 6), (7, 25), (26, 41), (42, 48), (49, 53),
- (54, 58), (59, 64), (65, 72), (73, 94), (95, 100), \
- (101, 105), (106, 114), (115, 125), (126, 136), \
+ colspecs = [ (0, 6), (7, 25), (26, 41), (42, 48), \
+ (49, 53), (54, 58), (59, 64), (65, 72), (73, 94), \
+ (95, 100), (101, 105), (106, 114), (115, 125), (126, 136), \
(137, 147), (148, 157), (158, 168), (169, 181), \
(182, 190), (191, 198), (199, 207), (208, 216), \
(217, 224), (225, 233), (234, 241), (242, 250), \
@@ -166,3 +166,10 @@ def load_astorb(fname='astorb.dat', short=False):
# Return
return df
+
+
+def load_mpcorb(fname='PHA.txt'):
+ """
+ http://www.minorplanetcenter.net/iau/MPCORB.html
+ http://www.minorplanetcenter.net/iau/info/MPOrbitFormat.html
+ """