Opened 18 months ago

Last modified 18 months ago

#2734 closed enhancement

NEW - wcst_import "skip": "files_that_fail_to_open" to skip files which cannot analyze by wcst_import — at Version 3

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 10.2
Component: wcst_import Version: 10.2
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description (last modified by Bang Pham Huu)

wcst_import skip when set to true, then it will:

  • Skip an input file if the file cannot be opened by wcst_import
  • Skip the input file when it is not possible to import to rasdaman (this is dangerous).

Hence, it needs a new setting, called files_that_fail_to_open which when set to true and skip: false, then the input files which cannot be opened will be skipped, but if the files cannot import to rasdaman, then the process must stop.

In summary:

  • skip: true - skips file on any error
  • skip: false - stop import on any error
  • skip: "files_that_fail_to_open" - skip file only if file analysis fails

NOTE: file that cannot be accessed (e.g. user doesn't have permission to read the file) to read should stop import regardless of skip value.

Change History (3)

comment:1 by Bang Pham Huu, 18 months ago

Description: modified (diff)

comment:2 by Bang Pham Huu, 18 months ago

Summary: NEW - wcst_import skip_by_analyze new settingNEW - wcst_import "skip": "on_file_analysis_error" to skip files which cannot analyze by wcst_import

comment:3 by Bang Pham Huu, 18 months ago

Description: modified (diff)
Summary: NEW - wcst_import "skip": "on_file_analysis_error" to skip files which cannot analyze by wcst_importNEW - wcst_import "skip": "files_that_fail_to_open" to skip files which cannot analyze by wcst_import
Note: See TracTickets for help on using tickets.