Procedures

ProcedureLocationProcedure TypeDescription
add_cell csv_module Subroutine

Add a cell to a CSV file.

Read more…
add_matrix csv_module Subroutine

Add a matrix to a CSV file. Each row is added as a new line. Line breaks are added at the end of each line (in this way it differs from the other add routines).

add_vector csv_module Subroutine

Add a vector to a CSV file. Each element is added as a cell to the current line.

close_csv_file csv_module Subroutine

Close a CSV file after writing

csv_get_value csv_module Subroutine

Get an individual value from the csv_data structure in the CSV class.

Read more…
destroy_csv_file csv_module Subroutine

Destroy the data in a CSV file.

expand_vector csv_utilities Subroutine

Add elements to the integer vector in chunks.

get_character_column csv_module Subroutine

Convert a column from a csv_string matrix to a character(len=*) vector.

get_column csv_module Subroutine

Return a column from a CSV file vector.

Read more…
get_csv_data_as_str csv_module Subroutine

Returns a character(len=*) array containing the csv data (read must have already been called to read the file).

get_csv_string_column csv_module Subroutine

Convert a column from a csv_string matrix to a type(csv_string) vector.

get_header_csv_str csv_module Subroutine

Returns the header as a type(csv_string) array. (read must have already been called to read the file).

get_header_str csv_module Subroutine

Returns the header as a character(len=*) array. (read must have already been called to read the file).

get_integer_column csv_module Subroutine

Return a column from a CSV file as a integer(ip) vector.

get_logical_column csv_module Subroutine

Convert a column from a csv_string matrix to a logical vector.

get_real_sp_column csv_module Subroutine

Return a column from a CSV file as a real(sp) vector.

get_real_wp_column csv_module Subroutine

Return a column from a CSV file as a real(wp) vector.

infer_variable_type csv_module Subroutine

Infers the variable type, assuming the following precedence:

Read more…
initialize_csv_file csv_module Subroutine

Initialize a csv_file.

lowercase_string csv_utilities Function

Returns lowercase version of the string.

next_row csv_module Subroutine

Advance to the next row in the CSV file (write any blank cells that are necessary to finish the row)

number_of_lines_in_file csv_module Function

Returns the number of lines in a text file.

Read more…
open_csv_file csv_module Subroutine

Open a CSV file for writing.

Read more…
read_csv_file csv_module Subroutine

Read a CSV file.

Read more…
read_line_from_file csv_module Subroutine

Reads the next line from a file.

sort_ascending csv_utilities Subroutine

Sorts an integer array ivec in increasing order. Uses a basic recursive quicksort (with insertion sort for partitions with 20 elements).

split csv_module Subroutine

Split a character string using a token. This routine is inspired by the Python split function.

Read more…
swap csv_utilities Subroutine

Swap two integer values.

to_integer csv_module Subroutine

Convert a string to a integer(ip)

to_logical csv_module Subroutine

Convert a string to a logical

Read more…
to_real_sp csv_module Subroutine

Convert a string to a real(sp)

to_real_wp csv_module Subroutine

Convert a string to a real(wp)

tokenize_csv_line csv_module Subroutine

Tokenize a line from a CSV file. The result is an array of csv_string types.

Read more…
unique csv_utilities Function

Returns only the unique elements of the vector.

variable_types csv_module Subroutine

Returns an array indicating the variable type of each columns.

Read more…
call~~graph~~CallGraph none~add csv_file%add proc~add_cell csv_file%add_cell none~add->proc~add_cell proc~add_matrix csv_file%add_matrix none~add->proc~add_matrix proc~add_vector csv_file%add_vector none~add->proc~add_vector none~get csv_file%get proc~csv_get_value csv_file%csv_get_value none~get->proc~csv_get_value proc~get_character_column csv_file%get_character_column none~get->proc~get_character_column proc~get_csv_data_as_str csv_file%get_csv_data_as_str none~get->proc~get_csv_data_as_str proc~get_csv_string_column csv_file%get_csv_string_column none~get->proc~get_csv_string_column proc~get_integer_column csv_file%get_integer_column none~get->proc~get_integer_column proc~get_logical_column csv_file%get_logical_column none~get->proc~get_logical_column proc~get_real_sp_column csv_file%get_real_sp_column none~get->proc~get_real_sp_column proc~get_real_wp_column csv_file%get_real_wp_column none~get->proc~get_real_wp_column none~get_header csv_file%get_header proc~get_header_csv_str csv_file%get_header_csv_str none~get_header->proc~get_header_csv_str proc~get_header_str csv_file%get_header_str none~get_header->proc~get_header_str proc~add_matrix->none~add proc~next_row csv_file%next_row proc~add_matrix->proc~next_row proc~add_vector->none~add proc~close_csv_file csv_file%close_csv_file proc~to_integer to_integer proc~csv_get_value->proc~to_integer proc~to_logical to_logical proc~csv_get_value->proc~to_logical proc~to_real_sp to_real_sp proc~csv_get_value->proc~to_real_sp proc~to_real_wp to_real_wp proc~csv_get_value->proc~to_real_wp proc~destroy_csv_file csv_file%destroy_csv_file proc~expand_vector expand_vector proc~get_column csv_file%get_column proc~get_character_column->proc~get_column proc~get_column->proc~csv_get_value proc~get_csv_string_column->proc~get_column proc~get_integer_column->proc~get_column proc~get_logical_column->proc~get_column proc~get_real_sp_column->proc~get_column proc~get_real_wp_column->proc~get_column proc~infer_variable_type infer_variable_type proc~infer_variable_type->proc~to_integer proc~infer_variable_type->proc~to_logical proc~infer_variable_type->proc~to_real_wp proc~initialize_csv_file csv_file%initialize_csv_file proc~lowercase_string lowercase_string proc~number_of_lines_in_file number_of_lines_in_file proc~open_csv_file csv_file%open_csv_file proc~read_csv_file csv_file%read_csv_file proc~read_csv_file->proc~number_of_lines_in_file proc~read_line_from_file csv_file%read_line_from_file proc~read_csv_file->proc~read_line_from_file proc~tokenize_csv_line csv_file%tokenize_csv_line proc~read_csv_file->proc~tokenize_csv_line proc~unique unique proc~read_csv_file->proc~unique proc~sort_ascending sort_ascending proc~swap swap proc~sort_ascending->proc~swap proc~split split proc~split->proc~expand_vector proc~to_logical->proc~lowercase_string proc~tokenize_csv_line->proc~split proc~unique->proc~expand_vector proc~unique->proc~sort_ascending proc~variable_types csv_file%variable_types proc~variable_types->proc~infer_variable_type
Help