Skip to content

NovaStar Program Reference / Data Analysis / statreport


Overview

The statreport program creates a statistical analysis report.

Command Line Usage

The command line syntax is:

statreport -g# [options...]

statreport ID/statparm/... ... [options...]

Optional values are shown in square brackets. Command line parameters are as follows.

statreport Command Line Parameters

Parameter Description Default
-g #
required if ID list is not provided
Prints report for points in group number (0 for list).
ID/statparm/...
required if -g is not specified
Prints report for point ID(s) and the statistic parameters.
-D dirname Read files from directory. /usr/ns/cfg
-d[#] Increase or set diagnostic message display level. Print error messages.
-F filename Print report to filename.
-Fn groupname Group name to print.
-h Do not print header. -H
-H Do print header.
--help Print the program usage.
-L Do print last report line. -l
-l Do not print last report line.
-n # Number of periods. 24
-q Do NOT display status messages.
-s #[s|m|h|d] Report time step. 1hour
-statag Display station tagnames (not IDs). Display point numeric IDs.
-t Print totals. Do not compute totals.
-tag Display point tagnames (not IDs). Point numeric IDs.
-te D-T Ending time of report (see format for start time). Current time.
-ts D-T Start time of report, where D-T is:
  • MM/DD/YYYY-HH:MM:SS where / used in the date can be / + - . , and - or : used in the time are any non digit
  • YYYY/MM/DD-HH:MM:SS where / used in the date can be / + - . , and - or : used in the time can be any non digit
  • +#[smhd...] - time offset added to current time
  • -#[smhd...] - time offset subtracted from current time
Use end time.
-v, --version Print the program version (same as the NovaStar system).
-W width Field width. 8
-X Do not translate numeric data for status or flags.
d=
t=
h=
e=
u=
i=
n=
s=
a=
f=
Older format options. Do not use because may be removed in the future.

Examples

Scheduling

The program can be run from the schedule to generate reports.

NovaStar Administrator Interface

Reports are generated using the scheduler.

Troubleshooting

The program uses NovaStar program logging conventions with -d option.

See Also