Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
otb
otb
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 213
    • Issues 213
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 11
    • Merge Requests 11
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Packages
    • Packages
    • Container Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Main Repositories
  • otbotb
  • Issues
  • #1995

Closed
Open
Opened Nov 18, 2019 by aloboa@aloboa
  • Report abuse
  • New issue
Report abuse New issue

Wrong Error Message at opening ENVI files in DimensionalityReduction

Description

Given the command:
otbcli_DimensionalityReduction -in CupriteAVIRISSubset.dat -out outpca.tif

for which I have both
CupriteAVIRISSubset.dat
CupriteAVIRISSubset.hdr
(note that the "non-hdr" file in ENVI format can have any extension (even not extension at all), as it is ignored)
I get

ERROR 1: The selected file is an ENVI header file, but to open ENVI datasets, the data file should be selected instead of the .hdr file. Please try again selecting the data file corresponding to the header file: CupriteAVIRISSubset.hdr

Nevertheless, the process goes on and completes successfully

Steps to reproduce

You can get the CupriteAVIRISSubset.dat and CupriteAVIRISSubset.hdr files from http://exelis.http.internapcdn.net/exelis/data/envi_tutorial_data/hyperspectral.zip

Configuration information

Linux Debian testing OTB-7.0.0

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
4
Labels
CNES backlog To Do bug ~05pt
Assign labels
  • View project labels
Reference: orfeotoolbox/otb#1995