GithubHelp home page GithubHelp logo

croatianmeteornetwork / cmn_binviewer Goto Github PK

View Code? Open in Web Editor NEW
8.0 8.0 7.0 2.78 MB

CMN_binViewer -- view, organize, calibrate and confirm CAMS standard meteor data

License: BSD 3-Clause "New" or "Revised" License

Python 99.74% Inno Setup 0.25% Batchfile 0.01% PowerShell 0.01%

cmn_binviewer's People

Contributors

apevec avatar dvida avatar markmac99 avatar mrprompt avatar tammojan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cmn_binviewer's Issues

Display the radiant map

It'd be useful to be able to view the radiant map from either the archived or confirmed data.
It'd also be useful if the standard view displayed the shower ID (if available) either at the top, or next to the timestamp.

View last logfile

Would be useful to be able to view the logs from within the app.
Need to think how to handle this on various OSes as different text editors may be available.

Program window is to big

Hi!
I have strange problem with CMN binViewer. The program window does not fit on the desktop (
please take a look at screenshots). The part responsible for writing is cut off.

Screenshots
https://i.imgur.com/nkrLPKo.png
https://i.imgur.com/gr4cAvu.png

My spec:

  • desktop resolution is 1366x768,
  • Windows 7 Professional with Service Pack 1, 64bit
  • graphics card Intel HD Graphics 3000

I tried 32 and 64bit version, the effect is the same.

Crash creating GIFs.

2023/09/11 15:05:51-CRITICAL-CMN_binViewer-line:3858 - Traceback (most recent call last):
File "CMN_binViewer.py", line 3854, in call
File "CMN_binViewer.py", line 2539, in make_gif
File "E:\dev\meteorhunting\cmn_binviewer\FF_bin_suite.py", line 560, in makeGIF
imageio.mimsave(gif_name, images, duration=1/float(fps), loop=int(not repeat), subrectangles=True)
File "C:\users\mark\miniconda3\envs\binviewer\lib\site-packages\imageio\v2.py", line 494, in mimwrite
with imopen(uri, "wI", **imopen_args) as file:
File "C:\users\mark\miniconda3\envs\binviewer\lib\site-packages\imageio\core\imopen.py", line 281, in imopen
raise err_type(err_msg)
ValueError: Could not find a backend to open F:/videos/MeteorCam/UK001L/ArchivedFiles/UK001L_20230909_190815_078602/FF_UK001L_20230909_194219_645_0050944fr_0-255.gif`` with iomode wI`.
Based on the extension, the following plugins might add capable backends:
pillow: pip install imageio[pillow]
GIF-PIL: pip install imageio[pillow]
pyav: pip install imageio[pyav]

Rejecting all detections leads to empty dir

When rejecting all detections of a night, an empty directory is created. I think it would make more sense to write all metadata, with an FTPdetectInfo file with 0 detections.

Crash if file/open dialog is cancelled

App will crash if the cancel button is selected on the Open FFs dialog.
This is because in many places the code assumes that self.dir_path is not empty.
Need to track down these locations and ensure sensible behaviour.

GIF creation throws error

When click on GIF button (Create animation session) thows an error about imageio absent in FF_bin_suite.py on line 465.

Crash when saving a single frame

On a linux machine, I get the following when I try to save a single
frame from the "frames" view of a FITS file:

2023/09/19 09:59:26-INFO: Program start
2023/09/19 09:59:26-INFO: Version: 3.36.0
2023/09/19 09:59:26-INFO: config file is /home/rms/source/cmn_binviewer/config.ini
2023/09/19 10:02:06-CRITICAL: Traceback (most recent call last):
File "/home/rms/source/cmn_binviewer/CMN_binViewer.py", line 3876, in call
return self.func(*args)
File "/home/rms/source/cmn_binviewer/CMN_binViewer.py", line 3766, in
save_as_jpg = StyledButton(self.save_panel, text="JPG", width = 5, command = lambda: self.save_image(extension = 'jpg', save_as = True))
File "/home/rms/source/cmn_binviewer/CMN_binViewer.py", line 2328, in save_image
shwr, mag = self.get_assoc_and_mag(timestamp = self.current_img_timestamp)
File "/home/rms/source/cmn_binviewer/CMN_binViewer.py", line 2170, in get_assoc_and_mag
dtval = datetime.datetime.strptime(timestamp.strip(), '%Y-%m-%d %H:%M:%S.%f')
File "/usr/lib/python3.9/_strptime.py", line 568, in _strptime_datetime
tt, fraction, gmtoff_fraction = _strptime(data_string, format)
File "/usr/lib/python3.9/_strptime.py", line 352, in _strptime
raise ValueError("unconverted data remains: %s" %
ValueError: unconverted data remains: 0149

149 is the number of the frame I was trying to save. "Embed name" was
not selected. Using the "Save frames" option instead seems to work...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.