fitz |
01/25/2016 02:12AM (Read 1096 times)
|
|
|
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
|
|
|
|
fitz |
01/25/2016 03:51PM
|
|
|
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
|
|
|
|
sapna |
01/26/2016 07:03AM
|
|
|
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="")
|
|
|
|
sapna |
01/26/2016 07:05AM
|
|
|
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="")
~
|
|
|
|
fitz |
01/26/2016 04:00PM
|
|
|
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.
|
|
|
|
sapna |
01/26/2016 04:47PM
|
|
|
Status: offline
Registered: 01/03/2016
Posts: 13
|
It worked with identify....
Thanks alot!!!!
|
|
|
|
| |
|