×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Modify filename

  • Posts: 43
  • Thank you received: 4

Modify filename was created by freiform

Hi,

is there a way to modify filenames beyond adding a simple timestamp? I would like to have additional information like temperature, etc. in there.

Thanks
Sven
Last edit: 4 years 6 months ago by freiform.
4 years 6 months ago #44471

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

  • Posts: 1187
  • Thank you received: 370
Hi Swen,
timestamp, duration, filter and name prefix - that's all.

Wolfgang
4 years 6 months ago #44478

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

  • Posts: 437
  • Thank you received: 31

Replied by Paul on topic Modify filename

Sven,

If you have a set temperature you can just include it in the file name, for instance NGC5128_b1g1T-15 etc

Paul
4 years 6 months ago #44482

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

  • Posts: 1957
  • Thank you received: 420

Replied by Wouter van Reeven on topic Modify filename

Good advise from phomer60. You can "abuse" the Object Name field for this. I suppose that this is for quick inspection of the files because the temperature info is added to the headers of the images (either FITS or CR2 in case of a Canon DSLR) so the info is available.


Wouter
4 years 6 months ago #44486

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

  • Posts: 43
  • Thank you received: 4

Replied by freiform on topic Modify filename

Hi,

thank you for the answers. I am aware that I can set a prefix or look at the FITS header, but that's not really what I am after.

The capture module seems to support scripts, I guess I could use astropy's fits package to get the required information from the header and write my own filename.

Anyway, it would be nice to expose the different variables inside EKOS to build a custom String, like %OBJECT_%FILTER_%EXPOSURE_%GAIN_%TEMP_%FRAME.fits

Sven
4 years 6 months ago #44493

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

Replied by Jasem Mutlaq on topic Modify filename


Yes that's an excellent idea, but it appears no one had time to implement this since there are some many dependencies on the naming scheme when executing jobs. PR are most welcome!! :-)
4 years 6 months ago #44494

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

  • Posts: 43
  • Thank you received: 4

Replied by freiform on topic Modify filename


Oh well, supposedly the skies are not clearing up for at least another week or so.. I might have a peek at the code ;)
The following user(s) said Thank You: Eric
4 years 6 months ago #44495

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

  • Posts: 1222
  • Thank you received: 565

Replied by Hy Murveit on topic Modify filename

One other thing to add. I find that I have sequences I've stored that I could reuse for many imaging session, if it were not for the Prefix and Directory fields.
So, putting wildcards in both would be great for me, and, what's I'd like is a special wildcard that could be set outside the script, for the current session.
E.g. I might have a standard script that runs through R,G,B filters for 240s exposures. Perhaps I could use the same script for M31 and M33 on different nights
by somehow setting a $NAME variable somewhere, and in the Prefix box use simply "$NAME" and in the Directory box, something like "/home/pi/Pictures/$NAME".
Not sure where to put the ui box to enter $NAME. The capture tab is a candidate, but that would preclude using the scheduler with the same script for two different objects on the same night.

Also, Sven, please take a crack at it, but if you decide not to do it, let me know and I'll try.
Hy
4 years 6 months ago #44617

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

  • Posts: 43
  • Thank you received: 4

Replied by freiform on topic Modify filename

I have been setting up a development environment for EKOS. I can build it manually, but cannot get the project to play nicely with QT Creator.
4 years 6 months ago #44957

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

Replied by Jasem Mutlaq on topic Modify filename

Can you share more details on what's wrong?
4 years 6 months ago #44960

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

  • Posts: 43
  • Thank you received: 4

Replied by freiform on topic Modify filename

I will write up the details, I just wanted to give some quick lifesign ;)
4 years 6 months ago #44961

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

Time to create page: 0.813 seconds