@@ -868,6 +868,8 @@ 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
@@ -877,29 +879,30 @@ def get_observations_async(self, targetid, *,
877
879
(#): Parameters ``Note1`` and ``Note2`` are defined `here
878
880
<https://minorplanetcenter.net/iau/info/OpticalObs.html>`_.
879
881
882
+ (!): Definitions of catalog codes can be found `here
883
+ <https://www.minorplanetcenter.net/iau/info/CatalogueCodes.html>`_.
884
+
880
885
881
886
Examples
882
887
--------
883
888
>>> from astroquery.mpc import MPC
884
889
>>> 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
890
+ <QTable length=2772>
891
+ number desig discovery note1 ... band catalog observatory
892
+ ...
893
+ int32 str9 str1 str1 ... str1 str1 str3
894
+ ------ --------- --------- ----- ... ---- ------- -----------
895
+ 12893 1998 QS55 -- -- ... -- -- 413
896
+ 12893 1998 QS55 -- -- ... -- -- 413
897
+ 12893 1998 QS55 * 4 ... -- -- 809
898
+ 12893 1998 QS55 -- 4 ... -- -- 809
899
+ 12893 1998 QS55 -- 4 ... -- -- 809
900
+ ... ... ... ... ... ... ... ...
901
+ 12893 1998 QS55 -- -- ... o V T05
902
+ 12893 1998 QS55 -- -- ... o V M22
903
+ 12893 1998 QS55 -- -- ... o V M22
904
+ 12893 1998 QS55 -- -- ... o V M22
905
+ 12893 1998 QS55 -- -- ... o V M22
903
906
"""
904
907
905
908
request_payload = {'table' : 'observations' }
@@ -1207,11 +1210,11 @@ def _parse_result(self, result, **kwargs):
1207
1210
names = ('number' , 'pdesig' , 'discovery' ,
1208
1211
'note1' , 'note2' , 'epoch' ,
1209
1212
'RA' , 'DEC' , 'mag' , 'band' ,
1210
- 'observatory' ),
1213
+ 'catalog' , ' observatory' ),
1211
1214
col_starts = (0 , 5 , 12 , 13 , 14 , 15 ,
1212
- 32 , 44 , 65 , 70 , 77 ),
1215
+ 32 , 44 , 65 , 70 , 71 , 77 ),
1213
1216
col_ends = (4 , 11 , 12 , 13 , 14 , 31 ,
1214
- 43 , 55 , 69 , 70 , 79 ),
1217
+ 43 , 55 , 69 , 70 , 71 , 79 ),
1215
1218
fast_reader = False )
1216
1219
1217
1220
# convert asteroid designations
@@ -1252,11 +1255,11 @@ def _parse_result(self, result, **kwargs):
1252
1255
names = ('number' , 'comettype' , 'desig' ,
1253
1256
'note1' , 'note2' , 'epoch' ,
1254
1257
'RA' , 'DEC' , 'mag' , 'phottype' ,
1255
- 'observatory' ),
1258
+ 'catalog' , ' observatory' ),
1256
1259
col_starts = (0 , 4 , 5 , 13 , 14 , 15 ,
1257
- 32 , 44 , 65 , 70 , 77 ),
1260
+ 32 , 44 , 65 , 70 , 71 , 77 ),
1258
1261
col_ends = (3 , 4 , 12 , 13 , 14 , 31 ,
1259
- 43 , 55 , 69 , 70 , 79 ),
1262
+ 43 , 55 , 69 , 70 , 71 , 79 ),
1260
1263
fast_reader = False )
1261
1264
1262
1265
# convert comet designations
0 commit comments