Pattern Filename Is Corrupted If You Forget To List Filter Name

Issue #754 closed
Jim Waters created an issue

[YES] Is the issue reproducible?
[YES – 1.11 NB #039] Are you running the latest version?
[YES] Are all prerequisites that are mentioned inside the manual met?

Description
If you use the Image File Pattern below and forget to select a filter, the file name is corrupted that gets written to the PC destination folder - see below. If processed by PixInsight, PixInsight gets confused when loading ‘Lights’ into WBPP and sorts entries by their ‘HFR Integer’ values. I don’t know what happens with BPP.

Image File Pattern $$TARGETNAME$$_$$IMAGETYPE$$_Sec$$EXPOSURETIME$$_Gain$$GAIN$$_Filter$$FILTER$$_HFR$$HFR$$_SensorTemp$$SENSORTEMP$$_Guiding$$RMS$$_Num$$FRAMENR$$

Example Written File Name - Sirius_LIGHT_Sec120.00_Gain100_Filter_HFR2.80_SensorTemp-10.10_Guiding0.47_Num0016.fits

If you forget to select a filter from the NINA drop-down list the resultant PixInsight WBPP loaded Lights will look something like this.

My NINA 1.11 filter entries are as follows:

  1. No_Filter
  2. L-eNhance
  3. Baader UHS
  4. IDAS LPS-P2

Steps to Reproduce

  • Configure NINA 1.11 with the above Image File Pattern.
  • Start NINA, select a target and forget to select a filter from your filter drop-down list.
  • Run sequence to completion.
  • Process in PixInsight using WBPP.

Expected Behavior

If you are not using a filter or forget to select the filter you are using, the file pattern name should not use the next character in the Image File Pattern string as the filter name. Question - can a ‘null’ character be used if a filter is not selected? Or can you assign a default filter from the entered NINA filter drop-down list?

Actual Behavior

See the above description.

Comments (6)

  1. Stefan B repo owner

    The file pattern is not using the next name, but rather the filter name is empty and the pattern gets replaced with nothing.

    A lookup when the <current> filter is selected however can be implemented to not have to explicitly set a filter.

  2. Jim Waters reporter

    Maybe I am missing something. If the user forgets to select a filter or even the drop-down (Current) entry, the stored filename gets altered and picks up the next entry in the file name string. This has happened several times. I do consider this a bug in the parsing of the ‘Image File Pattern’ string but not a show-stopper. Can’t the filter entry on the Sequencer Tab be auto populated with (Current)?

  3. Stefan B repo owner

    This seems like an issue in the wbpp. The filter should be part of the image meta data and not coming from the filename itself. If the issue persists I need further info on how this works with wbpp. The imagepattern is correct as the filter is just blank when no filter is available.

  4. Log in to comment