Hi all,
First of all, thanks for this fantastic piece of software.
I'm starting to play with stellarium's api.
I don't know if I'm missing something or there is something wrong. I've read the user manual, but cannot find an explanation of what I'm experiencing.
I have a loop of code with sets two different dates in stellarium. After each 'setTime' request, I perform a 'status' request to find out some data.
Let me explain with the following (bash) code:
JD1=2459419.375162037
JD2=3454563.375162037
while [[ true ]]
do
Hope it's clear. It switches between two dates, and performs a query to find out a particular data (HA/Dec).
Well, the output should be like (I omitted in the code the 'grep' part):
HA/Dec: 6h45m45.31s
HA/Dec: 18h49m46.07s
HA/Dec: 6h45m45.29s
HA/Dec: 18h49m46.11s
HA/Dec: 6h45m45.30s
[...]
I've pasted the parsed output.
Well, the above, actually does not happen. Instead, I get some weird result, in the form:
HA/Dec: 6h45m44.33s
HA/Dec: 21h31m08.54s
HA/Dec: 4h04m20.89s
HA/Dec: 18h49m45.10s
HA/Dec: 4h04m20.89s
HA/Dec: 18h49m45.10s
Output does not switches from one to another.
*BUT*, if I insert a 1 sec sleep before calling the status api entrypoint, it works as expected.
Seems like stellarium does not have enough data to process so many queries, but did not find anything in the doc. Surely, I'm missing something.
Any help?
Regards