Opened 17 years ago

Closed 15 years ago

#37 closed bug (fixed)

azspec filepaths too short

Reported by: mggr Owned by: benj
Priority: alpha 4 medium Milestone: The Glorious Future
Component: azspec Keywords:
Cc: Other processors:

Description

The array allocated for the calibration file paths is too short (60 chars). Workaround: symlink calibration to get a shorter path.

Report to Bill post-Iceland.

Long path (fail)

arsf@pmpc974:~/scratch_space/2007/boresight-2007_166<1152>azspec -1 lev1/e166011a.hdf -s eagle/VNIRse2007166.1-1 -scr ~/calibration/2007/specim/eagle/SN100022_130207_XB.cal -sch ~/calibration/2007/specim/eagle/SN100022_130207_XB.hdrXXXX -scc ~/calibration/2007/specim/eagle/SN100022_130207_XB.cfg -sc  ~/calibration/2007/specim/eagle/SN100022_130207_XB
---------------------------------------------------------------------------
azspec  -- ver: 1.1.2 May 16 2007   (C) Azimuth Systems UK 2005, 2007

Raw file header: eagle/VNIRse2007166.1-1.hdr
Raw file       : eagle/VNIRse2007166.1-1.raw
Darks frames at end of image file, 43 frames starting at: 3211
Image lines corrected from: 3253  to 3210
Optics from basic details and binning port fov: 16.163  full fov: 34.722 corr oa: 256.00 scpixels: 477
image file frame count  start: 16365  end: 19574  total lines: 3209 file lines: 3210

Dark frames at end of raw file: 43  darks to be used: 50
** dark frame: 1 not used - averages this: 55.25 previous: 485.13
Radcal file header: /users/rsg/arsf/calibration/2007/specim/eagle/SN100022_13020
Radcal file       : /users/rsg/arsf/calibration/2007/specim/eagle/SN100022_13020
Config file       : /users/rsg/arsf/calibration/2007/specim/eagle/SN100022_13020�

** unable to open ENVI header file: /users/rsg/arsf/calibration/2007/specim/eagle/SN100022_13020
Calibration file do not match to data. Processing interrupted

Using HDF file: lev1/e166011a.hdf
   scan sync start time(s) from NAV: 3 
HDFStart  fov: 34.7 fovp: 16.2 scpixels: 477

New BIL  bands: 63 pix: 477 lines: 3209
   HDF image data: CAimage  bands: 63 pixels: 477 lines: 3209
   FODIS (ILS) bands: 63 pixels: 1 lines: 3209

(aborted)

Short path (ok)

arsf@pmpc974:~/scratch_space/2007/boresight-2007_166<1154>azspec -1 lev1/e166011a.hdf -s eagle/VNIRse2007166.1-1 -sc calibration/eagle/SN100022_130207_XB
---------------------------------------------------------------------------
azspec  -- ver: 1.1.2 May 16 2007   (C) Azimuth Systems UK 2005, 2007

Raw file header: eagle/VNIRse2007166.1-1.hdr
Raw file       : eagle/VNIRse2007166.1-1.raw
Darks frames at end of image file, 43 frames starting at: 3211
Image lines corrected from: 3253  to 3210
Optics from basic details and binning port fov: 16.163  full fov: 34.722 corr oa: 256.00 scpixels: 477
image file frame count  start: 16365  end: 19574  total lines: 3209 file lines: 3210

Dark frames at end of raw file: 43  darks to be used: 50
** dark frame: 1 not used - averages this: 55.25 previous: 485.13
Radcal file header: calibration/eagle/SN100022_130207_XB.hdr
Radcal file       : calibration/eagle/SN100022_130207_XB.cal
Config file       : calibration/eagle/SN100022_130207_XB.cfg

Using HDF file: lev1/e166011a.hdf
   scan sync start time(s) from NAV: 3 
HDFStart  fov: 34.7 fovp: 16.2 scpixels: 477

New BIL  bands: 63 pix: 477 lines: 3209
   HDF image data: CAimage  bands: 63 pixels: 477 lines: 3209
   FODIS (ILS) bands: 63 pixels: 1 lines: 3209
SpecNavProc gotsync: 1  synclater: 1

...

Change History (3)

comment:1 Changed 17 years ago by mggr

  • Status changed from new to assigned

Mentioned to Bill - he'll increase the limits.

comment:2 Changed 15 years ago by mggr

  • Owner changed from mggr to benj
  • Status changed from assigned to new

Handing to Ben as he's been testing this - close if fixed :)

comment:3 Changed 15 years ago by benj

  • Resolution set to fixed
  • Status changed from new to closed

Bill has updated the various az programs as part of work order 10, path lengths have been extended to 256 characters from the following program versions:

azsite.225
azatm.336
azimport.232
azspec.123
aznav.228
azgcorr.4911
azexhdf.323
azjps.321
qcdisplay.443

All appear to be working correctly at the longer path length, closing ticket.

Note: See TracTickets for help on using tickets.