×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Filter name in FITS header... intermittently

  • Posts: 126
  • Thank you received: 16
I had a chance to do some imaging tonight with the fresh install of Astroberry (Kstars 3.5.5). All of the images that I've checked had the FILTER keyword in the Fits Header. This is the same hardware as before (Raspberry Pi 4 with 64 GB SD card, same gear attached). For me at least, the problem only appeared after reinstalling the OS and upgrading to Kstars 3.6.0. When I find the time, I will install Astroberry on a spare SD card and update the version of Kstars on it from 3.5.5 to 3.6.0. Perhaps I will find time this weekend.
Cheers,

Wim
1 year 6 months ago #85986

Please Log in or Create an account to join the conversation.

  • Posts: 992
  • Thank you received: 155
Last night I took 60 images. When I loaded them into Pixinsight only the first three had the filter name in the FITS header. I have no idea why it stopped recording it after the 3rd image.
1 year 6 months ago #86083

Please Log in or Create an account to join the conversation.

  • Posts: 126
  • Thank you received: 16
I finally got around testing 3.6.0 in Astroberry.
Here's my configuration:
Raspberry Pi 4 with Astroberry 2.0.4, upgraded to Kstars 3.6.0 (sudo apt update, sudo apt upgrade)
Camera: ASI CCD (ASI294MM Pro)
Guide camera: ASI CCD (ASI290MM mini)
Mount EQMOD Mount (SW AZ-EQ6)
Focuser: Pegasus Focuscube
Filter Wheel: ASI EFW (ASI mini filter wheel with 5 positions)
Auxiliary: Astrometry

I took a quick daytime sequence of 10 10s Luminance images, 10 10s Red images and 10 10s Green images, all Lights at bin 2x2, 30 exposures in total.

From the FITS header in Kstars Fits Viewer it seems that all files have the FILTER keyword.

Edit: after ftp from the Raspberry Pi to my stationary computer I can see that all files are exactly the same size, and the few files I have opened in PixInsight all have the FILTER keyword.
Last edit: 1 year 6 months ago by Wim van Berlo.
1 year 6 months ago #86237

Please Log in or Create an account to join the conversation.

  • Posts: 200
  • Thank you received: 28
Over the last two weeks I've run into this issue of the filter not being written to the FITS header. Since I've had no changes to my environment I had assumed I may have inadvertently flipped a software switch somewhere along the way but I've no idea what that might have been. I've just finished importing a few hundred images I've taken with EKOS (3.6.0 Stable running on MacOS 12.6 (Monterey)) and there is no filter record in the FITS header. 60+ other records but no filter information. This somewhat complicates PixInsight WBPP but thankfully there are easy workarounds short of editing the FITS header. This is happening for all my Light and Flat frames of all kinds of exposure lengths. I've been using EKOS/KStars for over a year and haven't run into this before.

I see this thread goes back a few months and predates the current release. Also the bug posting on GitHub hasn't seemed to advance but I'll post there as well.
1 year 6 months ago #86627

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 0
I have exactly the same issue. It only started for me with the 3.6.0 update but I also updated some INDI drivers around the same time. I'm also using a ZWO EFW 7 filter wheel.

Have you found a work around for this issue yet? It's a bit of a pain updating the FITS header one image at a time.
1 year 5 months ago #86985

Please Log in or Create an account to join the conversation.

  • Posts: 126
  • Thank you received: 16
The problem went away when I installed astroberry on a clean micro-sd. The original install had kstars 3.5.7 or 3.5.8, but I could update to 3.6.0. No problems whatsoever.
1 year 5 months ago #86989

Please Log in or Create an account to join the conversation.

  • Posts: 200
  • Thank you received: 28
The solution I’ve been using successfully until EKOS gets fixed is that I modify the file name rather than the FITS header. My file names from EKOS always include the filter name. I use PixInsight for my processing and if I insert the word “Filter_” before the filter name in the file name, PI is able sort by filter. I’m a MacOS user and there’s a simple rename utility in the OS that I use.

I have tried using PI to change the FITS header but it’s been a bit of a nightmare. Using file and process containers often causes the entire FITS header to be re-written. Some people have used PI scripts as well. Using the file name change has been much easier for me and I can change 30 files in 5 seconds.
1 year 5 months ago #86990

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 0

I also include the filter name in the filename but is PI's WBPP script able to use the filename for the filter rather than the header?

Something else I should mention... this started when I upgraded to KStars 3.6.0 but at the same time I updated the "indi-asi" driver from version 2.0 to 2.2. I've noticed looking through my logs that all my problems are with v2.2 of the ASI driver. I wonder if that's the problem rather than Ekos? I have been unable to find a repos to downgrade to v2.0 to test this.

Thanks
Ken
1 year 5 months ago #86992

Please Log in or Create an account to join the conversation.

  • Posts: 126
  • Thank you received: 16
FYI, I just checked the driver version I am using: indi_asi_ccd v 2.2
1 year 5 months ago #86993

Please Log in or Create an account to join the conversation.

  • Posts: 200
  • Thank you received: 28
In my experience PixInsight’s WBPP script picks up the filter when I add the word “Filter_” (with the underline as the separator between the word Filter and the name of the filter) before the filter name. The fallback is that if fails, you can use WBPP Keyword functionality to accomplish the same thing. I’ve not had to fallback to that yet as the addition of the word Filter seems to provide WBPP with enough to properly sort the filters.

I can’t say exactly when EKOS stopped writing the FITS header properly but it is a problem that I hope someone is addressing.
1 year 5 months ago #86996

Please Log in or Create an account to join the conversation.

The issue should be fixed in 3.6.1 with optical trains.
The following user(s) said Thank You: Wim van Berlo, Alan Archer, Frederick Ruegsegger
1 year 5 months ago #86998

Please Log in or Create an account to join the conversation.

  • Posts: 207
  • Thank you received: 18
Also in my situation filter names were intermittently (not) part of the FITS header. Just installed 3.6.1 and did a few test runs with both light and flat frames, and all filter names were perfectly added to the fits header. Just like Jasem is saying, it seems that this bug is fixed, thank you!
For those who want to manually add the filter name in the fits header, you may want to check out this PixInsight script . It's called BatchFITSKeywordEdit. You can load a whole list of files and add, edit or remove keywords like you wish.
Here is a screenshot:
1 year 5 months ago #87497
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.562 seconds