IRAF - cygwin install
iwold wrote on Sep 28, 2006
I am attempting to install iraf onto my winxp laptop w/ cygwin. I am following www.iraf.net/ftp/iraf/00README and the advice given to pakuliak. However I seem to have run into problems prior to anyone else (lucky me, most likely due to my lack of experience). When I attempt to extract any of the *.gz files I receive an error. Example:
Any help would be greatly appreciated. Thank you!
$tar zxpf /gz/as.pcix.gen.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errorsAny help would be greatly appreciated. Thank you!
Mike Fitzpatrick wrote on Sep 28, 2006
The files may have been corrupted in the transfer (be sure to use binary mode!). You can use the 'sum' command to compute the checksum of a file, be sure what it returns is the same as in the 'CHECKSUMS' file in the download area. (I can't remember whether cygwin does sysv or bsd sums, but the number you get should be one or the other in that file). Otherwise, the 'file' command will tell you what the system thinks the file is, if it says just 'data' then it's corrupted.
-Mike
-Mike
iwold wrote on Sep 28, 2006
Dear Mike,
Thank you for the quick response. Using the sum command shows that the files have been altered (the 'file' command does not appear to be contained in the default cygwin package). I was attempting to simply download the gzip files using windows and then save them to the windows cygwin directory. I can see the files through the cygwin interface but windows evidently does not use binary mode to transfer files. Sum checks consistantly show that the file size has been altered.
I have been trying to use the ftp function on cygwin to log on to iraf.net but have been unable to provide a suitable password.
Please do not waste your time answering this posting if what I am asking is a basic skill. I am writing to provide a record of the perspective of a windows user attempting to install iraf. Once I figure out a solution I will post it prior to asking my next question. Of course if the solution is simple a little help or hint will be greatly appreciated. Thank you
isak
Thank you for the quick response. Using the sum command shows that the files have been altered (the 'file' command does not appear to be contained in the default cygwin package). I was attempting to simply download the gzip files using windows and then save them to the windows cygwin directory. I can see the files through the cygwin interface but windows evidently does not use binary mode to transfer files. Sum checks consistantly show that the file size has been altered.
I have been trying to use the ftp function on cygwin to log on to iraf.net but have been unable to provide a suitable password.
Please do not waste your time answering this posting if what I am asking is a basic skill. I am writing to provide a record of the perspective of a windows user attempting to install iraf. Once I figure out a solution I will post it prior to asking my next question. Of course if the solution is simple a little help or hint will be greatly appreciated. Thank you
isak
Mike Fitzpatrick wrote on Sep 28, 2006
Isak,
For commandline access to the files the 'wget' task can be used to download a URL, although you may need to specially install it in Cygwin first. Otherwise, a "Save As" from the browser on the link should do it as well (although I believe I remember another user reporting problems doing this with IE, use Firefox instead).
FTP access to the files is available by logging in as 'anonymous@iraf.net' with your email as the passwd. The files are then in the /iraf/V2.13-BETA subdirectory.
Cheers,
-Mike
For commandline access to the files the 'wget' task can be used to download a URL, although you may need to specially install it in Cygwin first. Otherwise, a "Save As" from the browser on the link should do it as well (although I believe I remember another user reporting problems doing this with IE, use Firefox instead).
FTP access to the files is available by logging in as 'anonymous@iraf.net' with your email as the passwd. The files are then in the /iraf/V2.13-BETA subdirectory.
Cheers,
-Mike
iwold wrote on Sep 28, 2006
IE was the problem, firefox is the solution. Mike thank you very much. IRAF is now installed!
THANK YOU!!
isak
THANK YOU!!
isak
cluster wrote on Sep 28, 2006
Im having problems with my IRAF instalation on cygwin platform. The whole instalation went fine, but whenever I try to set the path to a task, i got an error message. I have also tried to add full path or one by one to the images, but without success.
Can anyone describe how to set the location of the images to be recognised by iraf?
ccdred> ls ./obs/EQCas_*D.fit
./obs/EQCas_-001D.fit ./obs/EQCas_-003D.fit
./obs/EQCas_-002D.fit ./obs/EQCas_-004D.fit
ccdred> ls ./obs/EQCas_*D.fit > EQdark
ccdred> darkcombine
List of dark images to combine: @EQdark
ERROR: No images to combine
"pclip=pclip, grow=0>"
line 47: ccdred$darkcombine.cl
called as: 'darkcombine <>'
ccdred>
Can anyone describe how to set the location of the images to be recognised by iraf?
Mike Fitzpatrick wrote on Sep 28, 2006
The problem may not be in the iraf installation or the paths, but simply that the IMAGETYP keyword isn't being recognized and so no images are put in the list to be processed. The trick is to get the CCDLIST task to recognize the image lists as you intent, but otherwise a simple workaround is to set the parameter darkcombine.ccdtype = "". You can do this in any of the tasks that have this parameter, such as ccdproc, to have it not care about the image type.
Hope this helps.
Cheers,
-Mike
Hope this helps.
Cheers,
-Mike
Last post on Sep 28, 2006