ASTHEDIT and keywords containing “-“
athlonea wrote on Jul 06, 2007
Hi there,
I've been trying to add a number of keywords that are not added automatically by my CCD software to FITS headers using ASTHEDIT and a configuration file, however there is a problem with DATE-OBS keyword. It seems it's because of "-" (when added with HEDIT, it works fine).
Is there any way to add keywords containing "-" (and probably other characters that are neither letters nor numbers) with ASTHEDIT?
Thanks for any help,
ath
I've been trying to add a number of keywords that are not added automatically by my CCD software to FITS headers using ASTHEDIT and a configuration file, however there is a problem with DATE-OBS keyword. It seems it's because of "-" (when added with HEDIT, it works fine).
Is there any way to add keywords containing "-" (and probably other characters that are neither letters nor numbers) with ASTHEDIT?
Thanks for any help,
ath
Mike Fitzpatrick wrote on Jul 06, 2007
See the help page for examples, but I think you need to use the '@' sign before the quoted keyword so it is interpreted correctly, e.g. @"date-obs" This is used to de-reference the value, otherwise the '-' is taken as an operator to compute the difference between the values of the 'date' and 'obs' keywords.
Cheers,
-Mike
Cheers,
-Mike
athlonea wrote on Jul 06, 2007
I could not find it among the examples in ASTHEDIT help, but I tried using @ and it worked perfectly...
Thanks a lot for help :)
ath
Thanks a lot for help :)
ath
Last post on Jul 06, 2007