Welcome to iraf.net Thursday, April 25 2024 @ 08:35 AM GMT
Agis |
05/06/2014 04:38PM (Read 866 times)
|
|
|
Status: offline
Registered: 05/06/2014
Posts: 1
|
Hi,
I have a problem with the keyword 'HIERARCH ESO INS DPOR POS'. I need to check the value of this keyword in the headers of a long list of .fits images. Using the esoselect.cl script would be very helpful for me but when I execute it I get:
ecl\$this->_split2($m[0]) esoselect *.fits "HIERARCH ESO INS DPOR POS" "0."
INTERNAL ERROR: parser gagged
"# match the keyword names at the beginning of lines only"
line 31: esoselect.cl
called as: `esoselect (images=*.fits, keyword=HIERARCH ESO INS DPOR POS, value=0.)'
I could not find the cause of this error.
I will be very greatful if you could help me.
Thank you very much in advance.
Bea.
|
|
|
|
fitz |
05/06/2014 05:28PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
I was able to run ESOSELECT on a local test image wiith that keyword with no problems. Typically, a "parser gagged" message means the script file itself is corrupt in some way, e.g. you did a cut-n-paste of the test to a file and some of the script commands wrapped around to a newline in an illegal way. More usually, this indicates the esoselect.cl file doesn't have a proper EOF marker in the text which can happen when using certain modes of emacs or editors like BBEDIT. Make sure the last line of the script (i.e. the 'end') has a trailing newline and that no lines in the script wrap around at 80 chars.
|
|
|
|
| |
|
Content generated in: 0.10 seconds |
|