Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • EnPT EnPT
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 37
    • Issues 37
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • EnMAPEnMAP
  • GFZ_Tools_EnMAP_BOX
  • EnPTEnPT
  • Issues
  • #92

[SICOR AC] IndexError: index 0 is out of bounds for axis 0 with size 0

@nbohn It seems like we currently have an issue with the first guess WV retrieval implemented in SICOR. This was reported by Dagmar Müller, I guess with a recently acquired EnMAP scene. Might be related to the latest changes in the L1 processing of the ground segment which masked a few more bands. Probably, it is also related to #90 (closed).

2022/12/08 15:25:15: Performing first guess water vapor retrieval based on a common band ratio using VNIR data...

multiprocessing.pool.RemoteTraceback:

"""

Traceback (most recent call last):

File "/home/dagmar/micromamba/envs/enpt_full2/lib/python3.9/multiprocessing/pool.py", line 125, in worker

result = (True, func(*args, **kwds))

File "/home/dagmar/micromamba/envs/enpt_full2/lib/python3.9/multiprocessing/pool.py", line 48, in mapstar

return list(map(*args))

File "/home/dagmar/micromamba/envs/enpt_full2/lib/python3.9/site-packages/sicor/Tools/EnMAP/first_guess.py", line 205, in _compute_wv

_globs["rhos"][idx_high[0][0]] - _globs["rhos"][idx_low[0][-1]])

IndexError: index 0 is out of bounds for axis 0 with size 0

"""

 

The above exception was the direct cause of the following exception:

 

Traceback (most recent call last):

File "/home/dagmar/micromamba/envs/enpt_full2/bin/enpt", line 10, in <module>

sys.exit(main())

File "/home/dagmar/micromamba/envs/enpt_full2/lib/python3.9/site-packages/enpt/cli.py", line 225, in main

parsed_args.func(get_config(parsed_args))

File "/home/dagmar/micromamba/envs/enpt_full2/lib/python3.9/site-packages/enpt/cli.py", line 193, in run_job

CTR.run_all_processors()

File "/home/dagmar/micromamba/envs/enpt_full2/lib/python3.9/site-packages/enpt/execution/controller.py", line 184, in run_all_processors

self.run_atmospheric_correction()

File "/home/dagmar/micromamba/envs/enpt_full2/lib/python3.9/site-packages/enpt/execution/controller.py", line 152, in run_atmospheric_correction

self.L1_obj.run_AC()

File "/home/dagmar/micromamba/envs/enpt_full2/lib/python3.9/site-packages/enpt/model/images/images_sensorgeo.py", line 858, in run_AC

AC.run_ac(self)

File "/home/dagmar/micromamba/envs/enpt_full2/lib/python3.9/site-packages/enpt/processors/atmospheric_correction/atmospheric_correction.py", line 250, in run_ac

self._run_AC__land_mode(enmap_ImageL1)

File "/home/dagmar/micromamba/envs/enpt_full2/lib/python3.9/site-packages/enpt/processors/atmospheric_correction/atmospheric_correction.py", line 129, in _run_AC__land_mode

sicor_ac_enmap(enmap_l1b=enmap_ImageL1,

File "/home/dagmar/micromamba/envs/enpt_full2/lib/python3.9/site-packages/sicor/sicor_enmap.py", line 87, in sicor_ac_enmap

fo_enmap = Fo(enmap_l1b=enmap_l1b, options=options, logger=logger)

File "/home/dagmar/micromamba/envs/enpt_full2/lib/python3.9/site-packages/sicor/AC/RtFo_3_phases.py", line 753, in __init__

self.cwv_fg = wv_band_ratio(data=self.data_vnir, water_msk=self.water_mask_vnir, fn_table=self.fn_table,

File "/home/dagmar/micromamba/envs/enpt_full2/lib/python3.9/site-packages/sicor/Tools/EnMAP/first_guess.py", line 177, in wv_band_ratio

results.get()

File "/home/dagmar/micromamba/envs/enpt_full2/lib/python3.9/multiprocessing/pool.py", line 771, in get

raise self._value

IndexError: index 0 is out of bounds for axis 0 with size 0
Assignee
Assign to
Time tracking