Welcome to iraf.net Saturday, April 20 2024 @ 01:16 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 IDENTIFY problem
   
fitz
 01/25/2016 02:12AM (Read 1092 times)  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
[Moderator's Note: Forwarded from story submission on behalf of user]

I have same problem as in help log 35, my cl script is not running for identify task , I wrote a simple cl script but it is not adding wavelength value on pressing 'm'........ I even tried the solution given in log35 but unfortunately it is not working it is giving error like: ERROR: can not open script file /home/cs/iden.cl
OS errmsg:
can any one please help me out here, and can anyone elaborate the solution given in help log 35 if i am doing it wrong???
I am running like:
task $iden=/home/cs/iden.cl
iden

 
Profile Email
 Quote
fitz
 01/25/2016 03:51PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Is your iden.cl a procedure script or simply a list of commands you would have run with the "cl

 
Profile Email
 Quote
sapna
 01/26/2016 07:03AM  
+----
Newbie

Status: offline


Registered: 01/03/2016
Posts: 13
my iden.cl file:

noao.onedspec
unlearn identify
iden ("FeAr_4_Grism_7_2015_11_15_yk150024bfap1.0001.fits",
"INDEF", "INDEF", section="middle line", database="database",
coordlist="linelists$idhenear.dat", units="", nsum="10", match=10.,
maxfeatures=50, zwidth=100., ftype="emission", fwidth=4., cradius=5.,
threshold=0., minsep=2., function="spline3", order=1, sample="*", niterate=0,
low_reject=3., high_reject=3., grow=0., autowrite=no, graphics="stdgraph",
cursor="", aidpars="")

 
Profile Email
 Quote
sapna
 01/26/2016 07:05AM  
+----
Newbie

Status: offline


Registered: 01/03/2016
Posts: 13
My iden.cl file:
noao.onedspec
unlearn identify

iden ("FeAr_4_Grism_7_2015_11_15_yk150024bfap1.0001.fits",
"INDEF", "INDEF", section="middle line", database="database",
coordlist="linelists$idhenear.dat", units="", nsum="10", match=10.,
maxfeatures=50, zwidth=100., ftype="emission", fwidth=4., cradius=5.,
threshold=0., minsep=2., function="spline3", order=1, sample="*", niterate=0,
low_reject=3., high_reject=3., grow=0., autowrite=no, graphics="stdgraph",
cursor="", aidpars="")
~

 
Profile Email
 Quote
fitz
 01/26/2016 04:00PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
My first post was somehow truncated ...... In it I mentioned that the error refers to a problem in reading the script and asked about permissions and path issues, but it appears that you're simply using the abbreviated 'iden' for the IDENTIFY task in a task you just declared also called 'iden'. Try using "identify (....)" within your script.

 
Profile Email
 Quote
sapna
 01/26/2016 04:47PM  
+----
Newbie

Status: offline


Registered: 01/03/2016
Posts: 13
It worked with identify....
Thanks alot!!!!

 
Profile Email
 Quote
   
Content generated in: 0.26 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