Welcome to iraf.net Thursday, May 02 2024 @ 07:30 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 standard task: ERROR: Cannot convert between selected units
   
ncaon
 10/05/2007 02:22PM (Read 3996 times)  
++---
Junior

Status: offline


Registered: 10/30/2005
Posts: 29
Hi,
we are trying to create the sensitivity function using the Iraf task "standard" in noao.imred.specred.However, we get the error:
ERROR: Cannot convert between selected unitsThe spectrum seems to be correctly calibrated in wavelength (nanometers units) as seen with splot.There is probably something wrong in the fits spectrum header, or in the standard star data table, however we seem to be unable to find it.The command we are executing is:
[code:1:beef45e2d8]standard starrbnspec_azul.tot starrbnspec_azul.txt star_name="cd32d9927" caldir = "./" extinct="./paranalextinc_n.dat" airmass=1.012 exptime=120.0[/code:1:beef45e2d8]We are running Iraf 2.12.2a in a RHEL4 box.We have put a tar archive with the relevant files in ftp://ftp.iac.es/out/ncaon/standard.tar.gzThanks very much for your help
Nicola

 
Profile Email
 Quote
ncaon
 10/05/2007 02:22PM  
++---
Junior

Status: offline


Registered: 10/30/2005
Posts: 29
The problem was due to the DC-FLAG keyword missing from the spectrum fits header. We add it manually with value 0 and the task "standard" now works fine.These files were produced by the FLAMES ESO pipeline, which apparently does not add the DC-FLAG keyword when doing the wavelength calibration.Cheers
Nicola

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