@@ -868,38 +868,42 @@ def get_observations_async(self, targetid, *,
868
868
+-------------------+--------------------------------------------+
869
869
| ``phottype`` (*) | comet photometry type (nuclear/total, str) |
870
870
+-------------------+--------------------------------------------+
871
+ | ``catalog`` (!) | star catalog used in the observation (str) |
872
+ +-------------------+--------------------------------------------+
871
873
| ``observatory`` | IAU observatory code (str) |
872
874
+-------------------+--------------------------------------------+
873
875
874
876
(*): Column names are optional and
875
877
depend on whether an asteroid or a comet has been queried.
876
878
877
- (#): Parameters ``Note1`` and ``Note2`` are defined `here
878
- <https://minorplanetcenter.net/iau/info/OpticalObs.html>`_.
879
+ (#): Parameters ``Note1`` and ``Note2`` are defined in the
880
+ `MPC 80-column format description
881
+ <https://minorplanetcenter.net/iau/info/OpticalObs.html>`_
882
+
883
+ (!): `Description of star catalog codes
884
+ <https://minorplanetcenter.net/iau/info/OpticalObs.html>`_
879
885
880
886
881
887
Examples
882
888
--------
883
889
>>> from astroquery.mpc import MPC
884
890
>>> MPC.get_observations(12893) # doctest: +SKIP
885
- <QTable masked=True length=1401>
886
- number desig discovery note1 ... mag band observatory
887
- ... mag
888
- int64 str9 str1 str1 ... float64 str1 str3
889
- ------ --------- --------- ----- ... ------- ---- -----------
890
- 12893 1998 QS55 -- -- ... 0.0 -- 413
891
- 12893 1998 QS55 -- -- ... 0.0 -- 413
892
- 12893 1998 QS55 * 4 ... 0.0 -- 809
893
- 12893 1998 QS55 -- 4 ... 0.0 -- 809
894
- 12893 1998 QS55 -- 4 ... 0.0 -- 809
895
- 12893 1998 QS55 -- 4 ... 18.4 -- 809
896
- ... ... ... ... ... ... ... ...
897
- 12893 1998 QS55 -- -- ... 18.63 c T05
898
- 12893 1998 QS55 -- -- ... 18.55 c T05
899
- 12893 1998 QS55 -- -- ... 18.3 r I41
900
- 12893 1998 QS55 -- -- ... 18.3 r I41
901
- 12893 1998 QS55 -- -- ... 18.2 r I41
902
- 12893 1998 QS55 -- -- ... 18.3 r I41
891
+ <QTable length=2772>
892
+ number desig discovery note1 ... band catalog observatory
893
+ ...
894
+ int32 str9 str1 str1 ... str1 str1 str3
895
+ ------ --------- --------- ----- ... ---- ------- -----------
896
+ 12893 1998 QS55 -- -- ... -- -- 413
897
+ 12893 1998 QS55 -- -- ... -- -- 413
898
+ 12893 1998 QS55 * 4 ... -- -- 809
899
+ 12893 1998 QS55 -- 4 ... -- -- 809
900
+ 12893 1998 QS55 -- 4 ... -- -- 809
901
+ ... ... ... ... ... ... ... ...
902
+ 12893 1998 QS55 -- -- ... o V T05
903
+ 12893 1998 QS55 -- -- ... o V M22
904
+ 12893 1998 QS55 -- -- ... o V M22
905
+ 12893 1998 QS55 -- -- ... o V M22
906
+ 12893 1998 QS55 -- -- ... o V M22
903
907
"""
904
908
905
909
request_payload = {'table' : 'observations' }
@@ -1207,11 +1211,11 @@ def _parse_result(self, result, **kwargs):
1207
1211
names = ('number' , 'pdesig' , 'discovery' ,
1208
1212
'note1' , 'note2' , 'epoch' ,
1209
1213
'RA' , 'DEC' , 'mag' , 'band' ,
1210
- 'observatory' ),
1214
+ 'catalog' , ' observatory' ),
1211
1215
col_starts = (0 , 5 , 12 , 13 , 14 , 15 ,
1212
- 32 , 44 , 65 , 70 , 77 ),
1216
+ 32 , 44 , 65 , 70 , 71 , 77 ),
1213
1217
col_ends = (4 , 11 , 12 , 13 , 14 , 31 ,
1214
- 43 , 55 , 69 , 70 , 79 ),
1218
+ 43 , 55 , 69 , 70 , 71 , 79 ),
1215
1219
fast_reader = False )
1216
1220
1217
1221
# convert asteroid designations
@@ -1252,11 +1256,11 @@ def _parse_result(self, result, **kwargs):
1252
1256
names = ('number' , 'comettype' , 'desig' ,
1253
1257
'note1' , 'note2' , 'epoch' ,
1254
1258
'RA' , 'DEC' , 'mag' , 'phottype' ,
1255
- 'observatory' ),
1259
+ 'catalog' , ' observatory' ),
1256
1260
col_starts = (0 , 4 , 5 , 13 , 14 , 15 ,
1257
- 32 , 44 , 65 , 70 , 77 ),
1261
+ 32 , 44 , 65 , 70 , 71 , 77 ),
1258
1262
col_ends = (3 , 4 , 12 , 13 , 14 , 31 ,
1259
- 43 , 55 , 69 , 70 , 79 ),
1263
+ 43 , 55 , 69 , 70 , 71 , 79 ),
1260
1264
fast_reader = False )
1261
1265
1262
1266
# convert comet designations
0 commit comments