vbonvin / POUET

Programming Observations Usefully at Euler Telescope
GNU General Public License v3.0
1 stars 1 forks source link

Things to fix #26

Closed kuntzer closed 6 years ago

kuntzer commented 6 years ago

what is in bold is to be fixed NOW for v0.3 The rest will be fixed later


From olga's post below:

Traceback (most recent call last): File "main.py", line 896, in hide_observables run.hide_observables(self.observables, criteria) File "POUET-0.3.0/pouet/run.py", line 62, in hide_observables if o.airmass > c["max"]: AttributeError: 'Observable' object has no attribute 'airmass' Abort trap: 6

kuntzer commented 6 years ago

In compute_observability I changed the

self.observability -= ....

to

self.observability *= 0.75

to reduce the observability when not perfect conditions but still okay.

olgatihhonova commented 6 years ago

Traceback (most recent call last): File "main.py", line 896, in hide_observables run.hide_observables(self.observables, criteria) File "POUET-0.3.0/pouet/run.py", line 62, in hide_observables if o.airmass > c["max"]: AttributeError: 'Observable' object has no attribute 'airmass' Abort trap: 6

kuntzer commented 6 years ago

Thanks @olgatihhonova for the feedback. Note that this won't be "fixed" :D

Please put confused Travolta https://www.youtube.com/watch?v=dxyRy_xw-cU when pouet can't load the clouds instead of this ugly black cross! :) Also, once Travolta has appeared/disappeared, if there is still no connection to the all-sky cam, you could load some default picture, for example the one for the day time. So that there would be still a possibility to plot the targets on the sky and draw the wind boundaries.

HOWEVER you can used the "debug mode" to have a value of the wind and the all sky

kuntzer commented 6 years ago

In cat703 when selecting targets with respect to the airmass <= 1.0, it displays 0 targets, although there are plenty with that value for airmass.

Airmass min is 1.0. Displayed values are rounded so there could be some selection issues. Marked as fixed because set min of Spinbox to 1.1

kuntzer commented 6 years ago

This doesn't close the GUI when executing on linux:

Pouet quit unexpectedly quite a few times with the following error:

File "main.py", line 1925, in run 
allskycopy.update(float(SETTINGS['validity']['allskyfrequency']))
File "POUET-0.3.0/pouet/clouds.py", line 97, in update
x, y = self.detect_stars()
File "POUET-0.3.0/pouet/clouds.py", line 124, in detect_stars
delta_arr = data_max - data_min
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'
Abort trap: 6

Added a try/except rule to deal with the faulty line. It is due to a partial download of the image (like when the server updates the file you're downloading...

kuntzer commented 6 years ago

When you display Moon angle and Wind you have a 0 followed by two digit numbers, like 045.

won't fix. Needed for correct ordering the numbers (yes it is a stupid order selector, but it's not us, it pyqt...)

kuntzer commented 6 years ago

TODO (note to self):

moon stuff in all sky: cannot fix that well, have to work with the all sky image we have. However: look if high background. If too high, return None instead of a number...

olgatihhonova commented 6 years ago

Thanks @olgatihhonova for the feedback. Note that this won't be "fixed" :D

Please put confused Travolta https://www.youtube.com/watch?v=dxyRy_xw-cU when pouet can't load the clouds instead of this ugly black cross! :) Also, once Travolta has appeared/disappeared, if there is still no connection to the all-sky cam, you could load some default picture, for example the one for the day time. So that there would be still a possibility to plot the targets on the sky and draw the wind boundaries. HOWEVER you can used the "debug mode" to have a value of the wind and the all sky

I still think it would be good to load a different photo in the case the sky-cam is not accessible, not the one of the debug mode. With a warning saying that all-sky cam is not accessible. Cause in the debug mode, there are clouds, so it might be confusing.

vbonvin commented 6 years ago

Items marked for v0.3 have been copied in the open post. Items marked for v0.4 have been split in single issues.

kuntzer commented 6 years ago

I'm only testing the issue chat to see whether I lost my picture

kuntzer commented 6 years ago

Okay, no, plus I still have the collaborator tag!

vbonvin commented 6 years ago

Dynamic display is live!

Well, except for the plots because it's a mess to dynamically resize them, and I think we can live with them having a fixed size.

kuntzer commented 6 years ago

Very nice job Dr @vbonvin !

vbonvin commented 6 years ago

Tentative plan for the documentation

https://gist.github.com/vbonvin/cb59a391c1ce272ed79a911776cefaad

vbonvin commented 6 years ago

Doc-related points moved to dedicated issues (#40 to #48)