Author Topic: Aperture Photometry issue - Image has no co-ordinates  (Read 2799 times)

Offline benfillmore

  • Newcomer
  • Posts: 3
Hello
Sorry for the first post and perhaps I've misunderstood something but I just can't get the Aperture Photometry script to run successfully.
See the dropbox link for files.
https://www.dropbox.com/sh/yf1d2f7z86x7b1v/AAD49PrnKseZEgM9XNeAE_aIa?dl=0

This link contains 3 FITS files, the process console log and the error file created.
The log shows I have run the script ImageSolver successfully first, which has then written the changes back to the files. I can see they've been modified because their last modified date under Windows explorer has changed.
This runs successfully without errors, and the solve is accurate in both focal length and location.
However when I then run the AperturePhotometry script, without any plate solving, it then fails immediately with the error log on the link above saying each image doesn't have coordinates. Yet right above it's plate solved and written the files successfully.
This is really frustrating - I just can't work out why it's failing. I've looked at the FITS header but that looks OK and I can't see anything obvious there.
I should mention the AP script also fails if I try to platesolve directly - that element runs fine but when it then tries to do the AP calcs it fails.
I should mention I had added a user defined object TrES2b into the 'User Defined Objects' field under the Stars tab of the script using it's coordinates. But it doesn't appear to be failing on this, rather that the image itself doesn't have coordinates.
Any help would be most appreciated..
Ben
 

Offline vicent_peris

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 988
    • http://www.astrofoto.es/
Re: Aperture Photometry issue - Image has no co-ordinates
« Reply #1 on: 2015 June 05 07:58:15 »
Hi Ben,

I just tried to do the plate solving and the photometry and everything went fine (see the attached photometry table). Please could you save an icon of ImageSolver and AperturePhotometry with the settings you are using and upload the icon set to the forum? I want to exactly reproduce what you're doing.


Best regards,
Vicent.

Offline benfillmore

  • Newcomer
  • Posts: 3
Re: Aperture Photometry issue - Image has no co-ordinates
« Reply #2 on: 2015 June 05 12:35:29 »
Thanks Vicent for your effort and good to see its worked somehow.
If you check the link I've taken some png snips of the settings I am using - it would be interesting to see if they are any different to how you have approached it.
Thanks again for your response and I hope you can see what isn't working.
All the best
Ben

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: Aperture Photometry issue - Image has no co-ordinates
« Reply #3 on: 2015 June 06 03:49:02 »
Hi Ben,

I fixed this problem a year ago but I didn't publish it because I was going to publish in a "short" time an overhaul of all my scripts. A year after this I still haven't finished  :-[ :-[

Since I don't know when I am going to have the scripts ready, attached to this message there is a new version of AperturePhotometry.js with the solution.

Andrés.

Offline benfillmore

  • Newcomer
  • Posts: 3
Re: Aperture Photometry issue - Image has no co-ordinates
« Reply #4 on: 2015 June 07 12:14:52 »
Thanks so much Andres for your email and fixed script, that has worked on the first attempt. I thought I was going crazy!
Excited now to use this much more widely,
All the best
Ben