Welcome to iraf.net Thursday, April 25 2024 @ 02:30 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 ERROR: No write permission on file (String_File) with SOAR data
   
kneugent
 02/27/2015 07:17PM (Read 2414 times)  
+----
Newbie

Status: offline


Registered: 04/25/2014
Posts: 2
I've been getting the following error message when reducing SOAR data with imextensions
\$this->_split2($m[0]) imextensions *.fits
ERROR: No write permission on file (String_File)

Here are the following things I've tried / determined:
- I also experienced the error when running CCDPROC but only when it was dependent on another image ... so to subtract a bias (Zero.fits) or a flat (Flat.fits). Trimming and overscan subtraction worked fine, for example. My guess is that this issue is tied into the one above.
- I got the same error message when running on the command line or within a procedure.
- I only encounter the error message when attempting to reduce SOAR data (data from 3 other telescopes / instrument combinations works fine).
- This doesn't appear to be a "one night only" issue -- I've tried the reductions with 3 nights of data ... same error message.
- I checked my /tmp folder and it isn't full
- Now for a strange one ... if I run imext on a small number of files (~30), it will work fine. But, if I run it on a night's set of data (~500 images), it will die.

Based on the above information, I'm thinking it might be an issue with the SOAR image headers (though, I can't explain why it only works on a small number of images but not a lot ...). I'll put an image header at the bottom.

I was able to reproduce this issue on two machines ... but both are MacOSX 10.10.2 running NOAO/IRAF PC-IRAF Revision 2.16.1 EXPORT Mon Oct 14 21:40:13 MST 2013.

Any ideas?

Example image header:

PHP Formatted Code
0114.2015BM510img.fits[1548,1548,1][ushort]: 2015BM510
No bad pixels, min=0., max=0. (old)
Line storage mode, physdim [1548,1548,1], length of user area 5630 s.u.
Created Thu 17:00:00 05-Feb-2015, Last modified Fri 10:19:54 27-Feb-2015
Pixel file "0114.2015BM510img.fits" [ok]
BSCALE  =                    1 / Scaling Factor (Default=1)
BZERO   =                32768 / Offset Factor (Default=0)
DATE-OBS= '2015-02-06T01:17:54.59' / DATE-OBS Format is YYYY-MM-DDThh:mm:ss.ss
DATE    = '2015-02-06'         / Date Format is YYYY-MM-DD
TIME    = '01:17:54.59 to 01:18:09.93' / ~ Start & Stop of Exposure
N_PARAM =                   80 / Number of Parameters
PARAM0  =               -106.5 / CCD Temperature,∞C
PARAM1  =                    0 / Not Used
PARAM2  =                0.000 / CCD Chamber Pressure,Torr
PARAM3  =                    0 / Not Used
PARAM4  =                    0 / Not Used
PARAM5  =                    0 / Not Used
PARAM6  =                    0 / Not Used
PARAM7  =                    0 / Not Used
PARAM8  =                    0 / Shutter Status,(Closed)
PARAM9  =                    1 / XIRQA Status,(Occured)
PARAM10 =                    1 / Cooler Status,(On)
PARAM11 =                    0 / Not Used
PARAM12 =                    0 / Not Used
PARAM13 =                    0 / Not Used
PARAM14 =                    0 / Not Used
PARAM15 =                    0 / Not Used
PARAM16 =                  516 / Serial Origin,Pixels
PARAM17 =                 1548 / Serial Length,Binned Pixels
PARAM18 =                    2 / Serial Binning,Pixels
PARAM19 =                    0 / Serial Post Scan,Pixels
PARAM20 =                  500 / Parallel Origin,Pixels
PARAM21 =                 1548 / Parallel Length,Binned Pixels
PARAM22 =                    2 / Parallel Binning,Pixels
PARAM23 =                    0 / Parallel Post Scan,Pixels
PARAM24 =                15000 / Exposure Time,ms
PARAM25 =                    0 / Continuous Clear,(Enabled)
PARAM26 =                  330 / DSI Sample Time,(100 KHz)
PARAM27 =                    0 / Analog Attenuation,(Low)
PARAM28 =                 1911 / Port 1 Offset
PARAM29 =                 1788 / Port 2 Offset
PARAM30 =                 1907 / Port 3 Offset
PARAM31 =                 1830 / Port 4 Offset
PARAM32 =                  100 / TDI Delay,us
PARAM33 =                    0 / Not Used
PARAM34 =                    0 / Not Used
PARAM35 =                    0 / Not Used
PARAM36 =                    0 / Not Used
PARAM37 =                    0 / Not Used
PARAM38 =                    0 / Not Used
PARAM39 =                    4 / Command on Trigger,(Light Exposure)
PARAM40 =                    0 / Not Used
PARAM41 =                    0 / Not Used
PARAM42 =                    0 / Not Used
PARAM43 =                    0 / Not Used
PARAM44 =                    0 / Not Used
PARAM45 =                    0 / Not Used
PARAM46 =                    0 / Not Used
PARAM47 =                    0 / Not Used
PARAM48 =                  620 / Instrument Model
PARAM49 =                  658 / Instrument SN
PARAM50 =                    2 / Hardware Revision
PARAM51 =                    0 / Serial Phasing,(Normal)
PARAM52 =                    0 / Serial Split,(Normal)
PARAM53 =                 2050 / Serial Size,Pixels
PARAM54 =                    0 / Parallel Phasing,(Normal)
PARAM55 =                    0 / Parallel Split,(Normal)
PARAM56 =                 2030 / Parallel Size,Pixels
PARAM57 =                  250 / Parallel Shift Delay,100 ns
PARAM58 =                    0 / Number of Ports,(1 Port)
PARAM59 =                  500 / Shutter Close Delay,ms
PARAM60 =                    0 / Not Used
PARAM61 =               1630.0 / Low Temp Limit,(-110.0 ∞C)
PARAM62 =               1660.0 / CCD Temperature Setpoint,(-107.0 ∞C)
PARAM63 =               1730.0 / Operational Temp,(-100.0 ∞C)
PARAM64 =                    0 / Not Used
PARAM65 =                    1 / Port Select,(B)
PARAM66 =                    0 / Not Used
PARAM67 =                    0 / Abort Mode,(Without Readout)
PARAM68 =             5000.000 / High Pressure Limit,(5.000 Torr)
PARAM69 =              100.000 / Operational Pressure,(0.100 Torr)
PARAM70 =                    0 / Not Used
PARAM71 =                    0 / Not Used
PARAM72 =                    0 / Not Used
PARAM73 =              8388607 / Controller SN
PARAM74 =              8388607 / Analog Part #
PARAM75 =              8388607 / Analog Rev. #
PARAM76 =              8388607 / Controller Rev. #
PARAM77 =                    0 / Not Used
PARAM78 =                    0 / Not Used
PARAM79 =                10000 / Pixel Clear,ns
TELESCOP= 'SOAR 4.1m'
INSTRUME= 'Goodman Spectrograph'
OBJECT  = '2015BM510'
NOTES   = ''
RA      = '06:42:15.304'       / right ascension [hh:mm:ss.sss]
DEC     = '-11:15:59.000'      / declination [dd:mm:ss.sss]
AIRMASS =             1.100000 / airmass at approx. start of exposure
UT      = '01:17:53.6'         / time at approx. start of exposure [UTC]
FOCUS   =         -1005.230000 / SOAR telescope focus
MOUNT_AZ=            42.107000 / SOAR mount azimuth
MOUNT_EL=            65.555800 / SOAR mount elevation
ROTATOR =           210.030000 / Nasymth cage rotator angle [deg]
POSANGLE=           360.000000 / position angle [deg. E of N]
SEEING  =            -1.000000 / DIMM seeing [arcsec]
LST     = '05:38:26.6'         / Local Sidereal Time  [hh:mm:ss.sss]
OBSRA   = '06:42:15.260'       / target right ascension [hh:mm:ss.sss]
OBSDEC  = '-11:15:57.899'      / target declination  [hh:mm:ss.sss]
DOME_AZ =            42.223300 / SOAR Dome Shutter azimuth
HA      = '-01:03:49.1'        / Hour Angle  [hh:mm:ss.sss]
ADCSTAT = 'PARK'               / ADC Status
ADCPOS  = '-999'               / ADC Position
CAM_ANG =             0.009001 / camera angle [deg]
GRT_ANG =             0.000000 / grating angle [deg]
CAM_TARG=             0.000000 / camera target [deg]
GRT_TARG=             0.000000 / grating target [deg]
CAM_FOC =                 1501 / camera focus
COLL_FOC=                 1000 / collimator focus
FILTER  = 'r-SDSS'             / primary filter wheel
FILTER2 = '<NO FILTER>'        / secondary filter wheel
GRATING = '<NO GRATING>'       / VPH grating [1/mm]
SLIT    = '<NO MASK>'          / slit [arcsec]
COL_TEMP=            15.781250 / coll ext temp (deg C)
CAM_TEMP=            19.468750 / cam ext temp (deg C)
EXPTIME =            15.000000 / integration time
RDNOISE =             3.690000 / CCD readnoise [e-]
GAIN    =             0.560000 / CCD gain [e-/ADU]
OBSTYPE = 'OBJECT'             / observation type
OBSERVER= ''
PROPOSAL= ''
EQUINOX =          2000.000000 / equinox of coordinates
ENVWIN  =             4.300000 / Wind Speed [km/hr] at start of exposure
ENVPRE  =           742.900000 / Atmospheric Pressure [hPS] at start of exposur
ENVDIR  =           138.600000 / Wind Direction at start of exposure
ENVTEM  =            15.670000 / Outside Temperature [C] at start of exposure
ENVHUM  =            60.000000 / Relative Humidity at start of exposure
DISPAXIS=                    1
DETSIZE = '[1:4096,1:4096]'
TRIMSEC = '[1:3096,1:3096]'
CCDSIZE = '[1:4096,1:4096]'
CCDSUM  = '2 2'
OPENTIME= '01:17:55.973'       / GPS-Synched Time for Shutter Open (UT)
CLOSETIM= '"Fri Feb 06 01:18:09 2015' / This is the GPS-Synched Time for Shutter
COMMENT  Triggered Acquisition, Exp Time= 15

 
Profile Email
 Quote
fitz
 02/27/2015 07:30PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Try doing:

cl\$this->_split2($m[0]) reset use_new_imt = no

before running the task. This will disable the new image template code and use the old version, I think you may be seeing a known string buffer overflow with large lists. If it works, you can make the change permanent by editing the hlib$zzsetenv.def file.

 
Profile Email
 Quote
kneugent
 02/27/2015 07:37PM  
+----
Newbie

Status: offline


Registered: 04/25/2014
Posts: 2
Perfect -- that worked!

Thanks!

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