File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -200,8 +200,22 @@ To download a data product
200200
201201 To download products by observation identifier
202202
203- TODO
203+ .. code-block :: python
204+
205+ >> > observation_id = ' jw97012001001_02101_00001_guider1'
206+ >> > results = jwst.get_obs_products(observation_id = observation_id, product_type = ' science' )
207+
208+
209+ Retrieving data.
210+ Done.
211+ Product(s) saved at: / < local_path> / < temporary_directory> / jw97012001001_02101_00001_guider1_all_products
212+ Product = / < local_path> / < temporary_directory> / jw97012001001_02101_00001_guider1
213+
214+ You can use product_type and cal_level arguments to retrieve specific products.
215+
216+ A temporary directory is created with the files and a list of the them is provided.
204217
218+ When more than one product is found, a tar file is retrieved. This method extracts the products.
205219
2062201.4 Getting public tables
207221~~~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments