Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • gms_preprocessing gms_preprocessing
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 29
    • Issues 29
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • geomultisensgeomultisens
  • gms_preprocessinggms_preprocessing
  • Issues
  • #57
Closed
Open
Issue created Jan 31, 2018 by Daniel Scheffler@danschefOwner

Atmospheric correction fails if no DEM is available.

2018/01/31 13:59:48 [27212816]:
An error occurred during atmospheric correction. BE AWARE THAT THE SCENE 27212816 (ENTITY ID S2A_OPER_MSI_L1C_TL_SGS__20160723T144844_A005668_T31UFA_N02.04) HAS NOT BEEN ATMOSPHERICALLY CORRECTED! Error message was:
TypeError("ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''",)

2018/01/31 13:59:48 [27212816]:   Traceback (most recent call last):
  File "/home/gfz-fe/scheffler/python_deployed/gms_preprocessing/gms_preprocessing/algorithms/L1C_P.py", line 819, in run_atmospheric_correction
    self.results = ac_gms(rs_image, self.options, logger=self.logger, script=script)
  File "/home/gfz-fe/scheffler/python_deployed/sicor/sicor/sicor_ac.py", line 731, in ac_gms
    s2img.dem_missing_fraction = (np.sum(np.isnan(s2img.dem)) + np.sum(s2img.dem == 0.0)) / np.prod(s2img.dem.shape)
TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Assignee
Assign to
Time tracking