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

Failure when processing NOT data #48

Closed
Siltala opened this issue May 6, 2020 · 10 comments
Closed

Failure when processing NOT data #48

Siltala opened this issue May 6, 2020 · 10 comments

Comments

@Siltala
Copy link
Contributor

Siltala commented May 6, 2020

Hi,

I'm trying to use photometrypipeline for analyzing an asteroid lightcurve (total of 195 observations taken with the NOT) and something seems to be going horribly wrong; as far as I can tell, the program does not manage to match any images with the Gaia catalogue and ends up crashing. Flat-field and bias corrections have been applied to the images and the edges of the filter have been trimmed out.

I'm not sure on what debug information you exactly need, but
here's the terminal output of pp_run *.fits &> pp_log.txt (I notice a lot of NaN and zero values here?)
and here is the 'LOG' file outputted in the data folder.

I'm using the commits of #47 (to actually identify the correct filter) on top of latest master.
Do you have any pointers on how to get around this? Let me know if you need more information (or example data files)

@mommermi
Copy link
Owner

mommermi commented May 6, 2020

Are you running this on a Mac? There seems to be an issue with SCAMP on newer versions of MacOS. If so, try using a different catalog in the registration step, e.g., pp_register -cat 2MASS *fits

@Siltala
Copy link
Contributor Author

Siltala commented May 6, 2020

Yes, I'm using a mac. I tried with the 2MASS catalogue and the same error occurs (again none of them match the catalogue).
I'll try it on my Linux system just in case and see if it works better there.

@Siltala
Copy link
Contributor Author

Siltala commented May 6, 2020

Interestingly, running photometrypipeline on Arch Linux also crashes but in a completely different manner (and much earlier). Terminal output for that one is here.

@Siltala
Copy link
Contributor Author

Siltala commented May 7, 2020

I noticed that my Arch Linux crash is probably the same as in #45 so that's an already reported bug.
Meanwhile, on Mac, I tested the example data included with photometrypipeline and it also fails in the registration process in the same way as the NOT data does.

@mommermi
Copy link
Owner

mommermi commented May 7, 2020

can you provide me a sample image somewhere online?

@Siltala
Copy link
Contributor Author

Siltala commented May 7, 2020

Sure! Attaching an arbitrary example image from my lightcurve here.
tfzALDd300134.zip

@Siltala Siltala mentioned this issue May 12, 2020
@Siltala
Copy link
Contributor Author

Siltala commented May 12, 2020

I worked around bug #45 by fixing the disp format in catalog.py on my end (I have no idea what an actually reasonable format would be, so i havent submitted a PR for now) and can confirm that, with that bug/crash fixed, my data fails on Linux in the same way as it does on Mac (match succeeded for 0/195 images) so this doesn't look like a Mac specific bug.

@mommermi
Copy link
Owner

This sounds great, please submit a PR!

@mommermi
Copy link
Owner

closed as per PR #50

@Siltala
Copy link
Contributor Author

Siltala commented Sep 25, 2020

Hi, to clarify, this is still a problem. There is a separate bug here on top of #45 (which is indeed fixed). In other words the issue described here remains.

@Siltala Siltala mentioned this issue Oct 7, 2020
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

2 participants