[AstroPy] use of with_calib in EsoClass retrieve_data

Mark Neeser mneeser at eso.org
Wed Feb 6 05:42:37 EST 2019


Hi All,

I am interested in using the calSelector functionality in EsoClass retrieve_data.

According to the documentation,

retrieve_data(datasets, continuation=False, destination=None, with_calib='none', request_all_objects=False)

with “with_calib” being either none, raw, or processed for the calibration data associated
with the requested dataset.

However, when using retrieve_data I get a TypeError:

data_files = eso.retrieve_data(submit_files, destination=down_dir, continuation=False, with_calib=‘raw')

TypeError: retrieve_data() got an unexpected keyword argument ‘with_calib’

Has this parameter been removed or renamed?


Best of thanks,


Mark








=======================================================

Dr. Mark J. Neeser

ESO - European Southern Observatory
Karl-Schwarzschild-Strasse 2
D-85748 Garching, Germany

Office:  C.3.32    (HQE)

Tel:  +49-(0)89-3200-6874
Fax: +49-(0)89-3200-6358

email: mneeser at eso.org <mailto:mneeser at eso.org>






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20190206/92e8dbcc/attachment.html>


More information about the AstroPy mailing list