Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oda_api.plot_tools.OdaLightCurve.get_lc() issue with time conversion (asking advice for solution) #216

Open
ferrigno opened this issue Sep 19, 2023 · 0 comments
Assignees

Comments

@ferrigno
Copy link
Contributor

At line 487

The conversion from IJD to UTC cannot be done with astropy.time, it should call

        import requests
        rr = requests.get('https://www.astro.unige.ch/mmoda/dispatch-data/gw/timesystem/api/v1.0/converttime/IJD/%.6f/UTC'% self.timezero)
        self.timezero_utc = rr.text

How should I encode the URL to be consistent with oda_api instance?

@ferrigno ferrigno added the bug Something isn't working label Sep 19, 2023
@ferrigno ferrigno changed the title oda_api.plot_tools.OdaLightCurve.get_lc() issue with time conversion (with advice for solution) oda_api.plot_tools.OdaLightCurve.get_lc() issue with time conversion (asking advice for solution) Sep 19, 2023
@volodymyrss volodymyrss removed the bug Something isn't working label Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants