General Data Reading

Description

This operator is used to read data from the local disk. It supports reading various types of data (including Point Cloud, Image, List, dictionary, numerical values, etc.) and is typically used to load data files saved by the "General Data Save" operator. The operator supports reading a single file, as well as reading all files in a folder in a loop or by merging them.

Overview

Reads saved data according to the mapped output type.

Scenarios

  • Offline Debugging and Replay: Read previously saved field data (such as Point Cloud or Image at the time of error) to reproduce issues in an offline environment.

  • Dataset Loading: Batch read a series of Image or Point Cloud data from a folder for algorithm testing or verification.

  • Data Aggregation: Merge multiple independently saved JSON data files into a large List for statistical analysis.

Inputs and Outputs

Inputs

Empty Input: Enable at least one input mapping on this node if you want it and downstream nodes to run with the graph.

Outputs

Post-read data: Outputs the read data; the specific type depends on the operator’s output port type configuration.

Parameters

Enable Directory Mode

Description

Selects a file path or folder as the read source.

Tuning Instructions

Turn it off and set a file path for single-file reading; turn it on and set a folder path to iterate through directory files.

Parameter Range

Default: False

File path/Folder Path

Description

Specifies the file used in single-file mode; supported suffixes depend on the mapped output type.

Tuning Instructions

Turn off folder reading, then select a file matching the mapped output type.

File path/Folder Path

Description

Specifies the directory used in folder-reading mode.

Tuning Instructions

When folder reading is enabled, select a directory containing files supported by the mapped output type.

Folder Read Strategy

Description

When folder reading is enabled, chooses between iterating through files across executions and reading all files at once to merge their results.

Tuning Instructions

Choose Sequential Loop Reading for one file per execution, or Merge After Reading All Files to process the whole folder in one execution.

Parameter Range

Options: Sequential Loop Reading, Merge After Reading All Files, Default: Sequential Loop Reading

Parameter Range

Values/Range:

  • Sequential Loop Reading

  • Merge After Reading All Files

Default: Sequential Loop Reading