API Reference

quantaq-cli

quantaq-cli [OPTIONS] COMMAND [ARGS]...

Options

--version

Show the version and exit.

concat

Concatenate FILES together and save to OUTPUT.

FILES is the collection or list of files that you are concatenating together. They can be provided as a list or by using a wildcard and providing the path with wildcard.

quantaq-cli concat [OPTIONS] [FILES]...

Options

-o, --output <output>

The filepath where you would like to save the file

-v, --verbose

Enable verbose mode (debugging)

-l, --logs

Parse and save locally-saved log files.

Arguments

FILES

Optional argument(s)

expunge

Expunge (NaN flagged values) FILE and save to OUTPUT.

quantaq-cli expunge [OPTIONS] FILE

Options

-d, --dry-run

Print table to screen and bypass file save

-t, --table

Print as a dict instead of as a table

-o, --output <output>

The filepath where you would like to save the file

-f, --flag <flag>

The name of the flag column

-v, --verbose

Enable verbose mode (debugging)

-m, --model <model>

The device model type. One of dict_keys([‘v100’, ‘v200’, ‘modulair_pm’, ‘modulair’])

Arguments

FILE

Required argument

flag

Set a FLAG based on user input or statistical method.

Four arguments are required:
  1. FILE -> the path to the file of interest

  2. COLUMN -> the exact name of the column

  3. COMPARATOR -> one of [‘lt’, ‘gt’, ‘eq’, ‘le’, ‘ge’]

  4. VALUE -> the value by which to filter

quantaq-cli flag [OPTIONS] FILE COLUMN COMPARATOR VALUE

Options

-f, --flag <flag>

One of [FLAG_OPC, FLAG_CO, FLAG_NO, FLAG_NO2, FLAG_O3, FLAG_CO2, FLAG_ROW]

-o, --output <output>

The filepath where you would like to save the file

-v, --verbose

Enable verbose mode (debugging)

-m, --model <model>

The device model type. One of dict_keys([‘v100’, ‘v200’, ‘modulair_pm’, ‘modulair’])

Arguments

FILE

Required argument

COLUMN

Required argument

COMPARATOR

Required argument

VALUE

Required argument

merge

Merge FILES together and save to OUTPUT.

quantaq-cli merge [OPTIONS] [FILES]...

Options

-ts, --tscol <tscol>

The column by which to join the files

-o, --output <output>

The filepath where you would like to save the file

-v, --verbose

Enable verbose mode (debugging)

Arguments

FILES

Optional argument(s)

resample

Resample FILE at INTERVAL and save to OUTPUT.

quantaq-cli resample [OPTIONS] FILE INTERVAL

Options

-ts, --tscol <tscol>

The column by which to join the files

-m, --method <method>

One of [mean, median, sum, min, max]

-o, --output <output>

The filepath where you would like to save the file

-v, --verbose

Enable verbose mode (debugging)

Arguments

FILE

Required argument

INTERVAL

Required argument