Skip to content

Commit 915e03e

Browse files
committed
tcoor=6 is not a valid option any more
1 parent c1d9982 commit 915e03e

File tree

3 files changed

+16
-115
lines changed

3 files changed

+16
-115
lines changed

astroquery/imcce/core.py

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def get_ephemerides_async(self, targetname, *, objtype='asteroid',
9292
Type of coordinates to be calculated: ``1``: spherical, ``2``:
9393
rectangular, ``3``: local coordinates (azimuth and elevation),
9494
``4``: hour angle coordinates, ``5``: dedicated to observation,
95-
``6``: dedicated to AO observation. Default: ``1``
95+
Default: ``1``
9696
9797
timescale : str, optional
9898
The time scale used in the computation of the ephemerides:
@@ -144,40 +144,38 @@ def get_ephemerides_async(self, targetname, *, objtype='asteroid',
144144
+==================+===============================================+
145145
| ``target`` | Target name (str, 1, 2, 3, 4, 5, 6 ) |
146146
+------------------+-----------------------------------------------+
147-
| ``epoch`` | Ephemerides epoch (JD, float, 1, 2, 3, 4, 5, |
148-
| | 6) |
147+
| ``epoch`` | Ephemerides epoch (JD, float, 1, 2, 3, 4, 5) |
149148
+------------------+-----------------------------------------------+
150149
| ``RA`` | Target RA at ``ephtype`` (deg, float, 1) |
151150
+------------------+-----------------------------------------------+
152151
| ``DEC`` | Target declination at ``ephtype`` (deg, |
153152
| | float, 1, 4, 5) |
154153
+------------------+-----------------------------------------------+
155-
| ``RAJ2000`` | Target RA at J2000 (deg, float, 5, 6) |
154+
| ``RAJ2000`` | Target RA at J2000 (deg, float, 5) |
156155
+------------------+-----------------------------------------------+
157-
| ``DECJ2000`` | Target declination at J2000 (deg, float, 5, 6)|
156+
| ``DECJ2000`` | Target declination at J2000 (deg, float, 5) |
158157
+------------------+-----------------------------------------------+
159158
| ``AZ`` | Target azimuth (deg, float, 3, 5) |
160159
+------------------+-----------------------------------------------+
161160
| ``EL`` | Target elevation (deg, float, 3, 5) |
162161
+------------------+-----------------------------------------------+
163162
| ``delta`` | Distance from observer (au, float, 1, 2, 3, |
164-
| | 4, 5, 6) |
163+
| | 4, 5) |
165164
+------------------+-----------------------------------------------+
166-
| ``delta_rate`` | Rate in observer distance (km/s, float, |
167-
| | 1, 5, 6) |
165+
| ``delta_rate`` | Rate in observer distance (km/s, float, 1, 5) |
168166
+------------------+-----------------------------------------------+
169167
| ``V`` | Apparent visual magnitude (mag, float, 1, 2, |
170-
| | 3, 4, 5, 6) |
168+
| | 3, 4, 5) |
171169
+------------------+-----------------------------------------------+
172-
| ``alpha`` | Solar phase angle (deg, 1, 2, 3, 4, 5, 6) |
170+
| ``alpha`` | Solar phase angle (deg, 1, 2, 3, 4, 5) |
173171
+------------------+-----------------------------------------------+
174-
| ``elong`` | Solar elongation angle (deg, 1, 2, 3, 4, 5, 6)|
172+
| ``elong`` | Solar elongation angle (deg, 1, 2, 3, 4, 5) |
175173
+------------------+-----------------------------------------------+
176174
| ``RAcosD_rate`` | Rate of motion in RA * cos(DEC) (arcsec/min, |
177-
| | float, 1, 5, 6) |
175+
| | float, 1, 5) |
178176
+------------------+-----------------------------------------------+
179177
| ``DEC_rate`` | Rate of motion in DEC (arcsec/min, float, 1, |
180-
| | 5, 6) |
178+
| | 5) |
181179
+------------------+-----------------------------------------------+
182180
| ``x`` | X position state vector (au, float, 2) |
183181
+------------------+-----------------------------------------------+
@@ -193,8 +191,7 @@ def get_ephemerides_async(self, targetname, *, objtype='asteroid',
193191
+------------------+-----------------------------------------------+
194192
| ``rv`` | Radial velocity (km/s, float, 2) |
195193
+------------------+-----------------------------------------------+
196-
| ``heldist`` | Target heliocentric distance (au, float, 2, |
197-
| | 5, 6) |
194+
| ``heldist`` | Target heliocentric distance (au, float, 2, 5)|
198195
+------------------+-----------------------------------------------+
199196
| ``x_h`` | X heliocentric position vector (au, float, 2) |
200197
+------------------+-----------------------------------------------+
@@ -210,13 +207,13 @@ def get_ephemerides_async(self, targetname, *, objtype='asteroid',
210207
+------------------+-----------------------------------------------+
211208
| ``hourangle`` | Target hour angle (deg, float, 4, 5) |
212209
+------------------+-----------------------------------------------+
213-
| ``siderealtime`` | Local sidereal time (hr, float, 5, 6) |
210+
| ``siderealtime`` | Local sidereal time (hr, float, 5) |
214211
+------------------+-----------------------------------------------+
215-
| ``refraction`` | Atmospheric refraction (arcsec, float, 5, 6) |
212+
| ``refraction`` | Atmospheric refraction (arcsec, float, 5) |
216213
+------------------+-----------------------------------------------+
217-
| ``airmass`` | Target airmass (float, 5, 6) |
214+
| ``airmass`` | Target airmass (float, 5) |
218215
+------------------+-----------------------------------------------+
219-
| ``posunc`` | Positional uncertainty (arcsec, float, 5, 6) |
216+
| ``posunc`` | Positional uncertainty (arcsec, float, 5) |
220217
+------------------+-----------------------------------------------+
221218
222219

astroquery/imcce/tests/data/3552_coordtype6.dat

Lines changed: 0 additions & 83 deletions
This file was deleted.

astroquery/imcce/tests/test_miriade.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -99,19 +99,6 @@ def test_observation_coordinates(patch_request):
9999
assert eph[cols[i]].unit == units[i]
100100

101101

102-
def test_aoobservation_coordinates(patch_request):
103-
eph = Miriade.get_ephemerides('3552', coordtype=6)
104-
cols = ('target', 'epoch', 'siderealtime', 'RAJ2000', 'DECJ2000',
105-
'refraction', 'V', 'delta', 'heldist', 'alpha',
106-
'elong', 'posunc', 'RAcosD_rate', 'DEC_rate', 'delta_rate')
107-
units = (None, u.d, u.h, u.deg, u.deg, u.arcsec, u.mag,
108-
u.au, u.au, u.deg, u.deg, u.arcsec, u.arcsec / u.minute,
109-
u.arcsec / u.minute, u.km / u.s)
110-
for i in range(len(cols)):
111-
assert cols[i] in eph.columns
112-
assert eph[cols[i]].unit == units[i]
113-
114-
115102
def test_get_raw_response(patch_request):
116103
raw_eph = Miriade.get_ephemerides(
117104
'3552', coordtype=1, get_raw_response=True)

0 commit comments

Comments
 (0)