MickaelRigault / ztfquery

Access ZTF data from Python
Apache License 2.0
37 stars 18 forks source link

Night summary #17

Closed rjoebruch closed 5 years ago

rjoebruch commented 5 years ago

Night summary does not return data (see screenshot)

Screen Shot 2019-10-08 at 20 21 54
MichaelMedford commented 5 years ago

This looks like it is most likely an authentication issue.

Screen Shot 2019-10-08 at 10 27 00 AM

You can check that your login details are correct with

from ztfquery import io
io._load_id_("irsa")

If they are incorrect they can be reset with

io.set_account("irsa")

I have fixed problems like this in the past by resetting my login credentials.

MickaelRigault commented 5 years ago

Actually the night summary do not ask for the irsa account but the ztfops one.

Check your ztfops logins using what Michael just said:

from ztfquery import io
io._load_id_("ztfops")

and do if wrong:

io.set_account("ztfops")

Check here for the correct password (do not put it on github!) http://www.oir.caltech.edu/twiki_ptf/bin/view/ZTF/ZTFOps

rjoebruch commented 5 years ago

Hi,

The ztfops was set on my personal user login. I now changed it to the ztfops login and it worked. I managed to query a random night summary. Thanks!

Will I have to set it up every time I am using the night summary?

Best Rachel

On 10 Oct 2019, at 17:52, Mickael Rigault notifications@github.com wrote:

Actually the night summary do not ask for the irsa account but the ztfops one.

Check your ztfops account using when Michael just said:

from ztfquery import io io._loadid("ztfops") and do if wrong:

io.set_account("ztfops") Check here for the correct password (do not put it on github!) http://www.oir.caltech.edu/twiki_ptf/bin/view/ZTF/ZTFOps http://www.oir.caltech.edu/twiki_ptf/bin/view/ZTF/ZTFOps — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MickaelRigault/ztfquery/issues/17?email_source=notifications&email_token=AK2UZAWVB5XKXGJMU6FSWX3QN46RNA5CNFSM4I6U2TZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA4UPMQ#issuecomment-540624818, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK2UZAVCEBCMFWSPXH3EOITQN46RNANCNFSM4I6U2TZA.

MickaelRigault commented 5 years ago

No it is now stored. So you can forget about it.