Welcome to iraf.net Saturday, January 20 2018 @ 06:54 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 FITCOORDS issue
   
ovince
 01/07/2018 08:52PM (Read 282 times)  
+----
Newbie

Status: offline


Registered: 05/16/2006
Posts: 11
Hi All,

I am having problems to run FITCOORDS task after successful IDENTIFY and REIDENTIFY tasks (Linux Mageia 5, KDE). This is the
unfortunate output:

longslit> fitcoords
Images whose coordinates are to be fit (mArc):
Fit mArc interactively (yes):

NOAO/IRAF V2.16.1 ovince@oliver-pc.aob.rs Sun 21:40:00 07-Jan-2018
Longslit coordinate fit name is mArc.
Longslit database is database.
Features from images:
mArc
ERROR: segmentation violation



The setup is according to "User's Guide to Reducing slit Spectra with IRAF" by Phil Massey et al. which is:

unlearn fitcoords
fitcoords.images="mArc" #Images whose coordinates are to be fit
fitcoords.fitname="" #Name for coordinate fit in the database
fitcoords.interactive=yes #Fit coordinates interactively?
fitcoords.combine=no #Combine input coordinates for a single fit?
fitcoords.database="database" #Database
fitcoords.deletions="deletions.db" #Deletion list file (not used if null)
fitcoords.function="chebyshev" #Type of fitting function
fitcoords.xorder=2 #X order of fitting function
fitcoords.yorder=2 #Y order of fitting function
fitcoords.logfiles="STDOUT,logfile" #Log files
fitcoords.plotfile="plotfile" #Plot log file
fitcoords.graphics="stdgraph" #Graphics output device
fitcoords.cursor="" #Graphics cursor input
fitcoords.mode="ql" #
fitcoords


I read previous post on FITCOORDS issues and none of them seems to me represents this one.


Thank you for help in advance
Oliver


 
Profile Email
 Quote
olebole
 01/08/2018 09:14PM  
++++-
Regular Member

Status: offline


Registered: 05/01/2014
Posts: 92
What version if IRAF do you use? The package that comes (came?) with Mageia? Astroconda? Or the original tarball from NOAO? 32 or 64 bit?

It would also be helpful if you could pit the mArc file somewhere so that one could try to reproduce the problem.

Cheers

Ole

 
Profile Email Website
 Quote
ovince
 01/09/2018 07:22PM  
+----
Newbie

Status: offline


Registered: 05/16/2006
Posts: 11

thank for reply.

I use original NOAO IRAF 64bit version 2.16.1.

You may download mArc.fits along with 'steps.inf' file containing all the steps I perform which can copy-pasted directly to cl

https://www.dropbox.com/sh/ziefbx5v9mv8424/AAA1aTL2PrPXEJvBxHMDw-jxa?dl=0

 
Profile Email
 Quote
olebole
 01/09/2018 08:05PM  
++++-
Regular Member

Status: offline


Registered: 05/01/2014
Posts: 92
Could you also put the "database" file there?

 
Profile Email Website
 Quote
ovince
 01/09/2018 08:55PM  
+----
Newbie

Status: offline


Registered: 05/16/2006
Posts: 11
yes, it is there ...

 
Profile Email
 Quote
olebole
 01/09/2018 09:04PM  
++++-
Regular Member

Status: offline


Registered: 05/01/2014
Posts: 92
Hmm, this doesn't look like the "database" file?

 
Profile Email Website
 Quote
olebole
 01/09/2018 09:06PM  
++++-
Regular Member

Status: offline


Registered: 05/01/2014
Posts: 92
At least, it is not called "database", while your parameter refers to a file called "database". And using it as database for me just results in "Warning: No coordinates found in database".


 
Profile Email Website
 Quote
ovince
 01/09/2018 09:52PM  
+----
Newbie

Status: offline


Registered: 05/16/2006
Posts: 11
sorry, in which task and what parameter is referred to file called 'database'?

 
Profile Email
 Quote
olebole
 01/09/2018 10:06PM  
++++-
Regular Member

Status: offline


Registered: 05/01/2014
Posts: 92
PHP Formatted Code
fitcoords.database="database"         #Database


And I get an error message
PHP Formatted Code
longslit> fitcoords
Images whose coordinates are to be fit: mArc.fits
Fit mArc.fits interactively (yes):

NOAO/IRAF Debian 2.16.1+2017.12.28-2 Tue, 02 Jan 2018 08:00:45 +0000 ole@orrococo Tue 22:56:24 09-Jan-2018
  Longslit coordinate fit name is mArc.fits.
  Longslit database is database.
  Features from images:
    mArc.fits
Warning: Cannot open file (database)

Maybe this is your problem?

I am using a heavily fixed version, including a number of segmentation fault fixes; so your version may not properly handle the missing database.

 
Profile Email Website
 Quote
ovince
 01/10/2018 06:51AM  
+----
Newbie

Status: offline


Registered: 05/16/2006
Posts: 11
maybe I am wrong, but I think that

fitcoords.database="database" #Database


refer to the name of the folder (not a file) where some files are stored. I my case, database folder was created automatically after running the identify task and 'idmArc' file (that I have attached in dropbox for you) was written into it.

 
Profile Email
 Quote
olebole
 01/10/2018 07:48AM  
++++-
Regular Member

Status: offline


Registered: 05/01/2014
Posts: 92
After moving the file idmArc to a database subdir,, the file names do not match:
longslit> fitcoords
Images whose coordinates are to be fit (mArc.fits):
Fit mArc.fits interactively (yes):

NOAO/IRAF Debian 2.16.1+2017.12.28-2 Tue, 02 Jan 2018 08:00:45 +0000 ole@orrococo Wed 08:43:37 10-Jan-2018
Longslit coordinate fit name is mArc.fits.
Longslit database is database.
Features from images:
mArc.fits
Warning: Cannot open file (database/idmArc.fits)

and when I rename idmArc to idmArc.fits, I still get "Warning: No coordinates found in database".
IMO something is wrong with the database file.

 
Profile Email Website
 Quote
ovince
 01/10/2018 08:10AM  
+----
Newbie

Status: offline


Registered: 05/16/2006
Posts: 11
I am confused that your and my IRAF provide different error report.

Could you please check permissions for "database" folder and "idmArc" file (do not rename into idmArc.fits please)?


 
Profile Email
 Quote
olebole
 01/10/2018 09:51AM  
++++-
Regular Member

Status: offline


Registered: 05/01/2014
Posts: 92
Permissions of both are OK. My problem was that I used "mArc.fits" as image name. Using "mArc" without extension also shows the crash, which is for sure a bug. Maybe fitz can check this? I have no idea here.

 
Profile Email Website
 Quote
ovince
 01/10/2018 11:10AM  
+----
Newbie

Status: offline


Registered: 05/16/2006
Posts: 11
could you please copy-paste the std output.

Thank you for help.

 
Profile Email
 Quote
olebole
 01/10/2018 11:15AM  
++++-
Regular Member

Status: offline


Registered: 05/01/2014
Posts: 92
Same as your:
PHP Formatted Code

[longslit> fitcoords
Images whose coordinates are to be fit: mArc
Fit mArc interactively (yes):

NOAO/IRAF Debian 2.16.1+2017.12.28-2 Tue, 02 Jan 2018 08:00:45 +0000 oles@orrococo Wed 12:12:22 10-Jan-2018
  Longslit coordinate fit name is mArc.
  Longslit database is database.
  Features from images:
    mArc
ERROR: segmentation violation
 

 
Profile Email Website
 Quote
   
Content generated in: 0.49 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login