Author Topic: Dialog Box “The image contains an astrometric solution…”  (Read 1609 times)

Offline pleguen

  • Newcomer
  • Posts: 3
    • View Profile
Hi,

I have PIXINSIGHT for a short time and I have many difficulties to master it, as there are multiple parameters to be set before to be able to obtain a final image without process interrupted by a bad adjustment.

I created an Image Container with 70 images. The Image Container is set to "On errors: continue execution". I used the Dynamic Crop function to crop images in series by dropping the triangle from ImageContainer on the process icon Dynamic Crop (explanations here http://pixinsight.astroccd.eu/pretraitementccd.html). Two problems:
- A dialog box pops up saying "The image contains an astrometric solution that will be deleted by the geometric transformation. The side effect could be irreversible. Proceed. [Yes] [No]". If [Yes] the process console indicate “** Warning: DynamicCrop: Existing astrometric solution will be deleted. » If [No] the process console indicate “* ImageContainer: Applying error policy: Continue on error. » . After hitting "Yes" for each image, processing continues (which is ok). This warning does not seem relevant since I do not perform astrometry with PIXINSIGHT.
- I cannot abort the process after hitting "Yes", even using the "Abort/Pause" button in the console window.
This problem is annoying when I have to execute the process again. What to do ?
-   Remove, in series, WCS coordinates in FITS headers from original image files ? How ?

Best regards
Patrice
France
PIXINSIGHT Version 01.08.05.1353 Ripley (x64)

Online pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4691
    • View Profile
Re: Dialog Box “The image contains an astrometric solution…”
« Reply #1 on: 2017 October 03 15:09:53 »
have you applied all the updates available? i feel like this was reported before and fixed by juan already...

rob

Offline pleguen

  • Newcomer
  • Posts: 3
    • View Profile
Re: Dialog Box “The image contains an astrometric solution…”
« Reply #2 on: 2017 October 04 06:53:38 »
I have applied all the updates. The last update is that of 02 October 2017. Would I forget to check a parameter in the PIXINSIGHT options?
I also wonder why the icon of the "Image Container" function in the PROCESS menu is separate from the other functions ?

Patrice

Online pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4691
    • View Profile
Re: Dialog Box “The image contains an astrometric solution…”
« Reply #3 on: 2017 October 04 12:40:52 »
no i don't think so, this sounds like a bug, hopefully juan will address it.

not sure why ImageContainer is separate from all the other processes but i guess it is because it is somewhat different than the others.

rob

Offline pleguen

  • Newcomer
  • Posts: 3
    • View Profile
Re: Dialog Box “The image contains an astrometric solution…”
« Reply #4 on: 2017 October 04 13:43:49 »
I just solved my problem by checking the "Ignore FITS Header keywords" box in the "Format Explorer / XISF"

Thanks Rob

Online pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4691
    • View Profile
Re: Dialog Box “The image contains an astrometric solution…”
« Reply #5 on: 2017 October 04 14:21:07 »
ah ok thanks, my memory is failing. this must have been the solution last time i came across this.

rob

Offline AstroScience

  • PixInsight Addict
  • ***
  • Posts: 169
    • View Profile
Re: Dialog Box “The image contains an astrometric solution…”
« Reply #6 on: 2017 October 05 07:56:18 »
I was just about to report exactly the same issue, only I used ImageContainer with ImageResample tool. Same "yes no" dialog pops up on every file and when trying to upscale more than 100 binned RGB files that can be really annoying while ImageContainer looses it's meaning.

I hope that Juan will make a proper solution to this. Ignoring header keywords sounds like temporary solution as you have to turn it back on afterwards.
Maybe adding additional error policy "Continue on warning" would be a better solution?

Thank you.

Offline PepeChambo

  • Newcomer
  • Posts: 9
    • View Profile
    • Cometografía
Re: Dialog Box “The image contains an astrometric solution…”
« Reply #7 on: 2018 September 06 00:21:11 »
I have to Crop on a ImageContainer with hundreds images (and several times...) and having to push hundred times at button Yes on "The image contains an astrometric solution that will be deleted by the geometric transformation.
This side effect could be irreversible. Proceed?" Is not possible ignore warnings?  :sad:

Thanks.
Pepe Chambó
Cometografia.es

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7096
    • View Profile
    • http://pixinsight.com/
Re: Dialog Box “The image contains an astrometric solution…”
« Reply #8 on: 2018 September 06 03:56:19 »
To prevent these warnings from opening dialog boxes, set the noGUIMessages parameter of the relevant process(es) to true:

- (a) If your process is stored in a process icon, right-click it and select Edit Instance Source Code.

- (b) Or, if you prefer to work directly on a processing interface (tool window), click the Edit Instance Source Code button (square shaped, bottom right corner).

- On the floating code editor window, locate the relevant source code lines; for example:

P001.noGUIMessages = false;

and change them to:

P001.noGUIMessages = true;

- Click the Commit button (green checkmark)

- If you are working on an interface (see option b above), don't forget to generate a new process icon, if necessary/convenient, to store the modified instance.

- Launch your ImageContainer on the modified icon or tool. No dialog boxes should be shown (although warning messages will be written to the console during execution; these warnings cannot be prevented).

See the attached screen shot for an example. All processes pertaining to the Geometry category have noGUIMessages parameters, with the only exception of ChannelMatch.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline PepeChambo

  • Newcomer
  • Posts: 9
    • View Profile
    • Cometografía
Re: Dialog Box “The image contains an astrometric solution…”
« Reply #9 on: 2018 September 06 04:54:11 »
Oh, it works fine  :surprised:

Thanks a lot Juan!
Pepe Chambó
Cometografia.es

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7096
    • View Profile
    • http://pixinsight.com/
Re: Dialog Box “The image contains an astrometric solution…”
« Reply #10 on: 2018 September 06 05:00:31 »
Hi Pepe,

You're welcome. Glad to know it works!
Juan Conejero
PixInsight Development Team
http://pixinsight.com/