-
Notifications
You must be signed in to change notification settings - Fork 28
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
Date conversion to JD not working before 1970 #161
Comments
Hi Fabien, do you have a minimal script that yields this issue? For me the following:
runs perfectly fine. Does this script run for you? |
For me, this exact script does not work. It only prints the calendar date and only when choosing a date after 1970 it prints the Julian date as well. I am using VSC and I am running Tudatpy=0.7.3.dev4. Even when running from the shell, the program stops without any output. |
That's very odd... which OS are you using? If I understand you correctly, it prints nothing for a date before 1970, and only the calendar date for a date after 1970? |
I'm using windows, and no it always prints a calendar date (correct, i.e. the datetime function works well), but only prints a JD after 1970. |
Hi Fabien, if you build a manual kernel with the latest develop branch, and use this for your code, does the issue persist? |
gives
gives no output This only happens on Windows for me, in my Linux environment it goes smoothly |
Hi all, I've noticed some strange behavior with the 'time_conversion.calendar_date_to_julian_day()' function. Specifically, when trying a date before 1970, it simply stops the script without providing any output or error.
Thanks,
Fabien
The text was updated successfully, but these errors were encountered: