Author Topic: ImageSolver- 'this.projection is undefined' error  (Read 3257 times)

Offline TomWoodrow

  • Newcomer
  • Posts: 4
ImageSolver- 'this.projection is undefined' error
« on: 2015 June 18 03:18:38 »
Hi,

I have used the excellent ImageSolver script numerous times with no problem.  However I am experiencing the following error with recent images:



Reading 1 image(s):
/home/tom/Downloads/Calibrated-T05-tommw-107-20150528-002645-V-BIN1-W-030-001.fit
78 FITS keywords extracted
Reading FITS: 16-bit integers, 1 channel(s), 2184x1472 pixels: done

run --execute-mode=auto "/opt/PixInsight/src/scripts/AdP/ImageSolver.js"

Processing script file: /opt/PixInsight/src/scripts/AdP/ImageSolver.js
Seed parameters for the plate solving:
   Image coordinates: RA=15 38 44.000, Dec=-00 20 00.00
   Resolution: 1.6501184499767707

Downloading Vizier data:
http://vizier.cfa.harvard.edu/viz-bin/asu-tsv?-source=I/317&-c=234.683333 -0.333333&-c.r=1.201286&-c.u=deg&-out.form=|&-out.max=200000&-out=PPMXL&-out=RAJ2000&-out=DEJ2000&-out=pmRA&-out=pmDE&-out=Jmag&-out=Hmag&-out=Kmag&-out=b1mag&-out=b2mag&-out=r1mag&-out=r2mag&-out=imag&r1mag=<15
261256 bytes transferred in 2.50 s @ 102.03 KB/s
Catalog PPMXL size: 2334 objects

** Warning [162]: /opt/PixInsight/src/scripts/AdP/WCSmetadata.jsh, line 891: reference to undefined property this.projection
*** Error [222]: /opt/PixInsight/src/scripts/AdP/WCSmetadata.jsh, line 891: TypeError: this.projection is undefined
[/color]




The image is available here (Landolt SA107 field):

https://dl.dropboxusercontent.com/u/22555890/Calibrated-T05-tommw-107-20150528-002645-V-BIN1-W-030-001.fit

The RA/Dec and focal length all seem to have been extracted correctly from the FITS Header.  Screenshot of script settings attached.
Any advice appreciated.

Tom

Offline msmythers

  • PTeam Member
  • PixInsight Jedi
  • *****
  • Posts: 1178
    • astrobin
Re: ImageSolver- 'this.projection is undefined' error
« Reply #1 on: 2015 June 18 07:16:00 »
Tom

Not sure why your getting those errors. I ran your image without any errors. The advanced settings for ImageSolver just happen to be the last settings I used and it solved. ImageSolver pulled the RA/Dec and Focal length like you said.



Mike

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: ImageSolver- 'this.projection is undefined' error
« Reply #2 on: 2015 June 18 09:09:59 »
Hi Tom,

I have solved your image with the version of ImageSolver distributed by PI (version 3.5.1) and with the latest beta version (see http://pixinsight.com/forum/index.php?topic=8616.msg55885#msg55885). Both solve the image without problems.

Which operative system are you using? Do you have the latest PI version (1.8.3)?

Offline TomWoodrow

  • Newcomer
  • Posts: 4
Re: ImageSolver- 'this.projection is undefined' error
« Reply #3 on: 2015 June 18 14:24:04 »
Hi Mike and Andres,

Thanks for looking at this.  Glad to know it is not the image causing the problem.

I am using  PI  1.8.3 and ImageSolver 3.5.1.   Operating system is Ubuntu 12.04.    I have downloaded and re-installed Pixinsight but still have same problem.  It looks like something is corrupted on my system, it was all working fine previously. 

Interestingly when I run the script now, the entry  boxes for RA/dec etc. are greyed out so you can't modify the entries, see attached.

I'll try the beta script later and see how it goes.

Many thanks,
Tom

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: ImageSolver- 'this.projection is undefined' error
« Reply #4 on: 2015 June 18 15:05:36 »
The fields in the section "Image parameters" are only disabled when the option "Only apply optimization" is active.




Offline TomWoodrow

  • Newcomer
  • Posts: 4
Re: ImageSolver- 'this.projection is undefined' error
« Reply #5 on: 2015 June 18 16:31:47 »
Hi Andres,

Thanks, all seems to be working ok with the v4 script.

I can see the "Only apply optimization" checkbox in v4 but not v3.5.1 (as shown in previous screenshot), is that correct?

After running v4 it now looks like v3.5.1 is working correctly as well, so not too sure what the bug was.

ImageSolver, AperturePhotometry etc. are great functions to have, thanks to you and all involved for creating them!