ReadCsv

read .CSV tables

Purpose

This module is designed to read all CSV files in a directory and convert them to one point objects per file. Optional all files can be converted into a single points object or just a single file can be selected.


Ports

ReadCsv points_out unordered points (points_out) data_out0 data on points from column dataName0 (data_out0) data_out1 data on points from column dataName1 (data_out1) data_out2 data on points from column dataName2 (data_out2) data_out3 data on points from column dataName3 (data_out3)

Parameters

name

description

type

first_step

first timestep to read

Int

last_step

last timestep to read (-1: last)

Int

step_increment

number of steps to increment

Int

first_rank

rank for first partition of first timestep

Int

directory

directory with CSV files

String

filename

select all files or a specif one)

Int

layer_mode

offset the configured axis by layer offset (NONE, X, Y, Z)

Int

layer_offset

offset the axis configured in layer mode

Float

single_object

combine all files to a single points object with optional data

Int

x_name

Name of x column)

Int

y_name

Name of y column)

Int

z_name

Name of z column)

Int

data_name_0

Name of data column outputted at data_out_0)

Int

data_name_1

Name of data column outputted at data_out_1)

Int

data_name_2

Name of data column outputted at data_out_2)

Int

data_name_3

Name of data column outputted at data_out_3)

Int

x and y name are mandatory to create at least 2D points, z name and data names are optional.

Important to note

Supported delimiters are comma, semicolon and tab. Decimal separators can be points or comma if comma is not used as delimiter.

Example Usage