giannicatanzaro |
03/23/2011 02:21PM (Read 6756 times)
|
|
|
Status: offline
Registered: 03/08/2011
Posts: 16
|
dear Allafter installing 2.15.1a patch on my IRAF 64bit (run on openSUSE 11.3) I got a very curious problem. It seems that there is a problem with the number format, for instance the aperture and order are 20 digits numbers and wavelengths are exponentials.anyone can help me????????
|
|
|
|
fitz |
03/23/2011 02:21PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
What task are you using? Is this a plot label, text output, or is the aperture header being being modified?
|
|
|
|
giannicatanzaro |
03/23/2011 02:21PM
|
|
|
Status: offline
Registered: 03/08/2011
Posts: 16
|
[quote:1ca4e61d08="fitz"]What task are you using? Is this a plot label, text output, or is the aperture header being being modified?[/quote:1ca4e61d08]hellousing splot the aperture header is modified, using ecidentify the x axis (in wavelenght) has an exponential format. I realize this problem
when I tried to continue lamp calibration, I suppose that the task
has some problem in reading the ecXXXXX file previous generated.If I try to start from scratch with ecidentify, the file ecXXXX is the follow: # Thu 08:58:08 24-Mar-2011
begin ecidentify thar_y.ec_f_red
id thar_y.ec_f_red
task ecidentify
image thar_y.ec_f_red
units angstroms
features 2
4922050882201190400 17 2364.58 2363.57959 6588.5396 4.0 1 1
4922050882201190400 17 2548.94 2547.93823 6583.906 4.0 1 1
offset 75
|
|
|
|
fitz |
03/23/2011 02:21PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
I think you may be seeing the effects ofhttps://iraf.net/article.php/20110309004941989If you installed the patch in the last few days it may be something else, if it was done around the time the v2.15.1a patch was first released then re-applying the patch may solve it.
|
|
|
|
StarryEyed |
03/23/2011 02:21PM
|
|
|
Status: offline
Registered: 03/24/2011
Posts: 6
|
[quote:5d8d14a1db="fitz"]I think you may be seeing the effects ofhttps://iraf.net/article.php/20110309004941989If you installed the patch in the last few days it may be something else, if it was done around the time the v2.15.1a patch was first released then re-applying the patch may solve it.[/quote:5d8d14a1db]I re-applied the patch and it was fine...most likely the same issue going on here...
**Telescopic Baby**
|
|
|
|
giannicatanzaro |
03/23/2011 02:21PM
|
|
|
Status: offline
Registered: 03/08/2011
Posts: 16
|
[quote:7927108047="StarryEyed"][quote:7927108047="fitz"]I think you may be seeing the effects ofhttps://iraf.net/article.php/20110309004941989If you installed the patch in the last few days it may be something else, if it was done around the time the v2.15.1a patch was first released then re-applying the patch may solve it.[/quote:7927108047]I re-applied the patch and it was fine...most likely the same issue going on here...[/quote:7927108047]I installed the patch yestarday, anyway I re-installed it but the problem is not fixed. Any idea?
|
|
|
|
fitz |
03/23/2011 02:21PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
To rule out problems in installing the patch, please do a[code:1:ef575e661f]cl> dir noaobin$x_onedspec.e long+[/code:1:ef575e661f]The binary should date from 3/10/2011 and be 7017362 bytes in size, if not then please let me know which patch file you installed.Otherwise, it's possible there is still a bug but you'll need to post the parameters you used and upload a sample image to the anonftp at ftp://iraf.noao.edu/pub so we can reproduce it.
|
|
|
|
giannicatanzaro |
03/23/2011 02:21PM
|
|
|
Status: offline
Registered: 03/08/2011
Posts: 16
|
[quote:fb2f3d7559="fitz"]To rule out problems in installing the patch, please do a[code:1:fb2f3d7559]cl> dir noaobin$x_onedspec.e long+[/code:1:fb2f3d7559]The binary should date from 3/10/2011 and be 7017362 bytes in size, if not then please let me know which patch file you installed.Otherwise, it's possible there is still a bug but you'll need to post the parameters you used and upload a sample image to the anonftp at ftp://iraf.noao.edu/pub so we can reproduce it.[/quote:fb2f3d7559]the binary is ok. I uploaded three files
ThAr.jpg - to show you what I get in the screen when run ecidentify
thar_y.ec_f_red - the Th Ar spectrum
ecthar_y.ec_f_red - is the file generated when I identify two linesthanks for helpGianni
|
|
|
|
fitz |
03/23/2011 02:21PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
It seems this is a continuation of the earlier problem, i.e. the first fix wasn't correct in this case. I think it is finally fixed now, you can either try to apply the patch file again (sorry for the inconvenience) or else get just the patched x_onedspec.e binary file from ftp://iraf.noao.edu/iraf/v215/support/linux64/x_onedspec.e and install in the noao$bin.linux64/ directory.Let me know if you continue to have problems.
|
|
|
|
giannicatanzaro |
03/23/2011 02:21PM
|
|
|
Status: offline
Registered: 03/08/2011
Posts: 16
|
[quote:66fd0fc7d9="fitz"]It seems this is a continuation of the earlier problem, i.e. the first fix wasn't correct in this case. I think it is finally fixed now, you can either try to apply the patch file again (sorry for the inconvenience) or else get just the patched x_onedspec.e binary file from ftp://iraf.noao.edu/iraf/v215/support/linux64/x_onedspec.e and install in the noao$bin.linux64/ directory.Let me know if you continue to have problems.[/quote:66fd0fc7d9]yes, it works fine now, many thanks gianni
|
|
|
|
dvbowen |
03/23/2011 02:21PM
|
|
|
Status: offline
Registered: 06/22/2006
Posts: 5
|
Just a quick note... I spent the morning working on this problem too, before I found this post. I copied the x_onedspec.e file you linked to, and it looks like the fix does indeed work (yay!). I thought it might be worth mentioning though that the version of IRAF I recently installed is labelled "IRAF V2.15.1a February 2011" so should be a version with all patches included? It looks like I picked up iraf.lnux.x86_64.gz on March-17 2011, so I wonder whether the fix really *is* the most up-to-date version? Thought the info might be useful!CheersDave
|
|
|
|
fitz |
03/23/2011 02:21PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
That is the most up to date version, I simply forgot to change the date on the version strings in all the rush to put the patch together.
|
|
|
|
nancy-mac |
03/23/2011 02:21PM
|
|
|
Status: offline
Registered: 05/28/2007
Posts: 10
|
Some time ago, you kindly fixed a problem I, along with some other people, was experiencing with splot in 2.15. Unfortunately, at the time I was so delighted when your fix worked that I didn't pay attention to the 15-digit aperture numbers. The aperture editor provides sensible aperture numbers and writes them in the database file, so I reduced a night of spectroscopic data up to the ecidentify stage, at which point I started getting arithmetic exceptions, segmentation violations, etc. Now, I've installed the March 11, 2011 version of 2.15.1a. I still get the 20-bit aperture numbers with splot or ecidentify, but the behavior of ecidentify has changed. You can mark features, but in response to an 'f' command or a :read it misbehaves. Before, it crashed with a segmentation violation or an arithmetic exception. Now, it just does nothing.I am running 2.15.1a under OS 10.6.6 on a 64-bit MacBook Pro. The version test you suggested gives the following.[code:1:e68e8f1a1c]ecl> dir noaobin$x_onedspec.e long+
xb-rwr-r- root 4807528 Mar 11 17:51 noaobin$x_onedspec.e
[/code:1:e68e8f1a1c]
I have uploaded two sample images: 21.fits raw, 21x.fits extracted (for testing ecidentify) to your ftp site.Thanks.
nancy-mac
|
|
|
|
fitz |
03/23/2011 02:21PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
I checked the binaries in the current distribution files and they seem to still be correct (or at least, they're the same as what was mentioned earlier in the thread). FITSVERIFY does show a number of errors on the FITS files themselves but the pixels look reasonable and I can otherwise use the files.What DOES seem off however are the image names: IRAF doesn't generally like images with only numbers as names (and '21x' is interpreted as a hex value for 33) and tasks that create database entries or temp files may only use the root name which leads to other problems. The first thing I'd try is to rename "21.fits" to "foo.fits" to see if it makes a difference.If not, please post the parameters and details of what you did so I can reproduce the problem. If you still have problems I'll have to pass this on to Frank as being the expert.
|
|
|
|
nancy-mac |
03/23/2011 02:21PM
|
|
|
Status: offline
Registered: 05/28/2007
Posts: 10
|
You are correct! Simply changing the file name from '21.fits' to 'f21.fits' solved both the aperture number problem and the ecidentify problem, at least at first glance. Thanks!
nancy-mac
|
|
|
|