@@ -306,7 +306,7 @@ with a `~astropy.table.Table` of data products, or a list (or single) obsid as t
306
306
307
307
>> > print (manifest)
308
308
309
- Local Path Status Message URL
309
+ Local Path Status Message URL
310
310
------------------------------------------------ -------- ------ - ----
311
311
./ mastDownload/ IUE / lwp13058/ lwp13058.mxlo.gz COMPLETE None None
312
312
./ mastDownload/ IUE / lwp13058/ lwp13058mxlo_vo.fits COMPLETE None None
@@ -317,12 +317,10 @@ with a `~astropy.table.Table` of data products, or a list (or single) obsid as t
317
317
318
318
>> > from astroquery.mast import Observations
319
319
320
- >> > single_obs = Observations.query_criteria(obs_collection = " IUE" ,obs_id = " lwp13058" )
320
+ >> > single_obs = Observations.query_criteria(obs_collection = " IUE" , obs_id = " lwp13058" )
321
321
>> > data_products = Observations.get_product_list(single_obs)
322
-
323
- >> > Observations.download_products(data_products,
324
- ... productType = " SCIENCE" ,
325
- ... curl_flag = True )
322
+
323
+ >> > table = Observations.download_products(data_products, productType = " SCIENCE" , curl_flag = True )
326
324
327
325
Downloading URL https:// mast.stsci.edu/ portal/ Download/ stage/ anonymous/ public/ 514cfaa9 - fdc1- 4799 - b043- 4488b811db4f / mastDownload_20170629162916.sh to ./ mastDownload_20170629162916.sh ... [Done]
328
326
@@ -340,11 +338,11 @@ the ``local_path`` keyword argument.
340
338
341
339
>> > single_obs = Observations.query_criteria(obs_collection = " IUE" ,obs_id = " lwp13058" )
342
340
>> > data_products = Observations.get_product_list(single_obs)
343
-
341
+
344
342
>> > product = data_products[0 ][" dataURI" ]
345
343
>> > print (product)
346
344
mast:IUE / url/ pub/ iue/ data/ lwp/ 13000 / lwp13058.elbll.gz
347
-
345
+
348
346
>> > result = Observations.download_file(product)
349
347
Downloading URL https:// mast.stsci.edu/ api/ v0.1/ Download/ file ? uri= mast:IUE / url/ pub/ iue/ data/ lwp/ 13000 / lwp13058.elbll.gz to ./ lwp13058.elbll.gz ... [Done]
350
348
@@ -829,13 +827,13 @@ The moving_target may be any object name or ID understood by the
829
827
>> > hdulist[0 ].info()
830
828
Filename: < class ' _io.BytesIO' >
831
829
No. Name Ver Type Cards Dimensions Format
832
- 0 PRIMARY 1 PrimaryHDU 54 ()
833
- 1 PIXELS 1 BinTableHDU 150 356R x 16C [D, E, J, 25J , 25E , 25E , 25E , 25E , J, E, E, 38A , D, D, D, D]
834
- 2 APERTURE 1 ImageHDU 97 (2136 , 2078 ) int32
830
+ 0 PRIMARY 1 PrimaryHDU 54 ()
831
+ 1 PIXELS 1 BinTableHDU 150 355R x 16C [D, E, J, 25J , 25E , 25E , 25E , 25E , J, E, E, 38A , D, D, D, D]
832
+ 2 APERTURE 1 ImageHDU 97 (2136 , 2078 ) int32
833
+
835
834
836
835
837
836
838
-
839
837
The `~astroquery.mast.TesscutClass.download_cutouts ` function takes a coordinate, object name
840
838
(i.e. "M104" or "TIC 32449963"), or moving target (i.e. "Eleonora") and cutout size
841
839
(in pixels or an angular quantity) and downloads the cutout target pixel file(s).
@@ -856,7 +854,7 @@ more than one camera or ccd a target pixel file will be produced for each one.
856
854
Inflating...
857
855
858
856
>> > print (manifest)
859
- Local Path
857
+ Local Path
860
858
----------------------------------------------------------
861
859
./ tess- s0009- 4 - 1_107. 186960_ - 70. 509190_21x15_astrocut .fits
862
860
@@ -899,7 +897,7 @@ To access sector information for a particular coordinate, object, or moving targ
899
897
sectorName sector camera ccd
900
898
-------------- ------ ------ -- -
901
899
tess- s0029- 1 - 4 29 1 4
902
-
900
+
903
901
Zcut
904
902
====
905
903
0 commit comments