Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • I IR_data_access
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Holger Niemann
  • IR_data_access
  • Issues
  • #14
Closed
Open
Issue created Mar 11, 2020 by Georg Schlisio@geos

Lack of exposure time breaks program

When running get_temp_from_raw_by_program on a program where the script does not find an exposure time, it breaks by raising Warning. Expected behaviour would be to issue a warning, but returning success=False (as in the commented line 2526).

Traceback:

Traceback (most recent call last): File "…", line 379, in <module> status, times, temperatureimages, valid = IR.get_temp_from_raw_by_program("AEF11", lib.format_pid_with_zero(pid), time_window=1, verbose=3, threads=2) File "…lib\site-packages\IR_data_access\downloadversionIRdata.py", line 2025, in get_temp_from_raw_by_program cexist, background, LUT,refT, gain, offset, badpixels, t_exp, cfilter, gain_error, offset_error = get_calib_data(portnr, t0=t0, t1=t1, t6=t6, emissivity=emi, T_version=T_version, version=version, back_emissivity=back_emissivity, testmode=testmode, verbose=verbose-1) File "…lib\site-packages\IR_data_access\downloadversionIRdata.py", line 2525, in get_calib_data raise Warning("get_calib_data: no exposure time found") Warning: get_calib_data: no exposure time found

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking