[AstroPy] use of with_calib in EsoClass retrieve_data
Mark Neeser
mneeser at eso.org
Wed Feb 6 06:17:33 EST 2019
Hi Brigitta,
you may be right.
I did a conda update astroquery and just assumed I had the newest version,
but this only got me version 0.3.7
Beginners mistake, sorry.
Cheers and thanks,
Mark
> On Feb 6, 2019, at 12:12, Brigitta Sipocz <sic at elte.hu> wrote:
>
> Hi Mark,
>
> could you please confirm you are using astroquery version v0.3.9 or newer?
>
> Cheers,
> Brigitta
>
> On Wed, 6 Feb 2019 at 02:44, Mark Neeser <mneeser at eso.org <mailto:mneeser at eso.org>> wrote:
> 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>
>
>
>
>
>
>
> _______________________________________________
> AstroPy mailing list
> AstroPy at python.org <mailto:AstroPy at python.org>
> https://mail.python.org/mailman/listinfo/astropy <https://mail.python.org/mailman/listinfo/astropy>
> _______________________________________________
> AstroPy mailing list
> AstroPy at python.org
> https://mail.python.org/mailman/listinfo/astropy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20190206/f8509367/attachment.html>
More information about the AstroPy
mailing list