1
- '''
1
+ """
2
2
RingNode
3
3
--------
4
4
5
5
:author: Ned Molter ([email protected] )
6
- '''
6
+ """
7
7
8
8
from astropy import config as _config
9
9
@@ -15,65 +15,68 @@ class Conf(_config.ConfigNamespace):
15
15
16
16
# server settings
17
17
pds_server = _config .ConfigItem (
18
- [' https://pds-rings.seti.org/cgi-bin/tools/viewer3_xxx.pl?' , ],
19
- 'Ring Node' )
18
+ [" https://pds-rings.seti.org/cgi-bin/tools/viewer3_xxx.pl?" ,], "Ring Node"
19
+ )
20
20
21
21
# implement later: other pds tools
22
22
23
- timeout = _config .ConfigItem (
24
- 30 ,
25
- 'Time limit for connecting to PDS servers.' )
23
+ timeout = _config .ConfigItem (30 , "Time limit for connecting to PDS servers." )
26
24
27
25
# PDS settings - put hardcoded dictionaries of any kind here
28
-
29
- planet_defaults = {'mars' :{
30
- 'ephem' :'000 MAR097 + DE440' ,
31
- 'moons' :'402 Phobos, Deimos' ,
32
- 'center_ansa' :'Phobos Ring' ,
33
- 'rings' :'Phobos, Deimos' ,
34
- },
35
- 'jupiter' :{
36
- 'ephem' :'000 JUP365 + DE440' ,
37
- 'moons' :'516 All inner moons (J1-J5,J14-J16)' ,
38
- 'center_ansa' :'Main Ring' ,
39
- 'rings' :'Main & Gossamer' ,
40
- },
41
- 'saturn' :{
42
- 'ephem' :'000 SAT389 + SAT393 + SAT427 + DE440' ,
43
- 'moons' :'653 All inner moons (S1-S18,S32-S35,S49,S53)' ,
44
- 'center_ansa' :'A' ,
45
- 'rings' :'A,B,C,F,G,E' ,
46
- },
47
- 'uranus' :{
48
- 'ephem' :'000 URA111 + URA115 + DE440' ,
49
- 'moons' :'727 All inner moons (U1-U15,U25-U27)' ,
50
- 'center_ansa' :'Epsilon' ,
51
- 'rings' :'All rings' ,
52
- },
53
- 'neptune' :{
54
- 'ephem' :'000 NEP081 + NEP095 + DE440' ,
55
- 'moons' :'814 All inner moons (N1-N8,N14)' ,
56
- 'center_ansa' :'Adams Ring' ,
57
- 'rings' :'Galle, LeVerrier, Arago, Adams' ,
58
- },
59
- 'pluto' :{
60
- 'ephem' :'000 PLU058 + DE440' ,
61
- 'moons' :'905 All moons (P1-P5)' ,
62
- 'center_ansa' :'Hydra' ,
63
- 'rings' :'Styx, Nix, Kerberos, Hydra' ,
64
- }
65
- }
66
-
67
- neptune_arcmodels = {1 :'#1 (820.1194 deg/day)' ,
68
- 2 :'#2 (820.1118 deg/day)' ,
69
- 3 :'#3 (820.1121 deg/day)' }
70
-
26
+
27
+ planet_defaults = {
28
+ "mars" : {
29
+ "ephem" : "000 MAR097 + DE440" ,
30
+ "moons" : "402 Phobos, Deimos" ,
31
+ "center_ansa" : "Phobos Ring" ,
32
+ "rings" : "Phobos, Deimos" ,
33
+ },
34
+ "jupiter" : {
35
+ "ephem" : "000 JUP365 + DE440" ,
36
+ "moons" : "516 All inner moons (J1-J5,J14-J16)" ,
37
+ "center_ansa" : "Main Ring" ,
38
+ "rings" : "Main & Gossamer" ,
39
+ },
40
+ "saturn" : {
41
+ "ephem" : "000 SAT389 + SAT393 + SAT427 + DE440" ,
42
+ "moons" : "653 All inner moons (S1-S18,S32-S35,S49,S53)" ,
43
+ "center_ansa" : "A" ,
44
+ "rings" : "A,B,C,F,G,E" ,
45
+ },
46
+ "uranus" : {
47
+ "ephem" : "000 URA111 + URA115 + DE440" ,
48
+ "moons" : "727 All inner moons (U1-U15,U25-U27)" ,
49
+ "center_ansa" : "Epsilon" ,
50
+ "rings" : "All rings" ,
51
+ },
52
+ "neptune" : {
53
+ "ephem" : "000 NEP081 + NEP095 + DE440" ,
54
+ "moons" : "814 All inner moons (N1-N8,N14)" ,
55
+ "center_ansa" : "Adams Ring" ,
56
+ "rings" : "Galle, LeVerrier, Arago, Adams" ,
57
+ },
58
+ "pluto" : {
59
+ "ephem" : "000 PLU058 + DE440" ,
60
+ "moons" : "905 All moons (P1-P5)" ,
61
+ "center_ansa" : "Hydra" ,
62
+ "rings" : "Styx, Nix, Kerberos, Hydra" ,
63
+ },
64
+ }
65
+
66
+ neptune_arcmodels = {
67
+ 1 : "#1 (820.1194 deg/day)" ,
68
+ 2 : "#2 (820.1118 deg/day)" ,
69
+ 3 : "#3 (820.1121 deg/day)" ,
70
+ }
71
71
72
72
73
73
conf = Conf ()
74
74
75
- # from .core import RingNode, RingNodeClass
75
+ from .core import RingNode , RingNodeClass
76
76
77
- #__all__ = ['RingNode', 'RingNodeClass',
78
- # 'Conf', 'conf',
79
- # ]
77
+ __all__ = [
78
+ "RingNode" ,
79
+ "RingNodeClass" ,
80
+ "Conf" ,
81
+ "conf" ,
82
+ ]
0 commit comments