-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathglobal.cc
More file actions
84 lines (62 loc) · 2.51 KB
/
global.cc
File metadata and controls
84 lines (62 loc) · 2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/*
-------------------------------------------------------------------------
OBJECT NAME: global.c
FULL NAME: Global Variable Definitions
DESCRIPTION: extern.h should look just like this.
-------------------------------------------------------------------------
*/
#include "define.h"
#include "ps.h"
#include "spec.h"
bool Interactive; /* Interactive or batch mode */
bool RealTime; /* Onboard realtime reading of netCDF */
bool Freeze; /* Freeze updates while in RealTime */
bool Color;
bool DataChanged; /* New data was read from file. */
bool AsciiWinOpen;
bool StatsWinOpen;
bool Statistics; /* Display statistics on main window. */
bool UTCseconds; /* Seconds since midnight vs. HH:MM:SS */
bool allLabels; /* Labels on all panels for multi-panel */
bool ScatterPlot; /* Scatter instead of line on XY */
bool ShowMissingValueCount; /* Display number missing points on times-series */
bool ProjectToXY; /* Project XYZ to ground */
bool ProjectToBack; /* Project XYZ to back & side planes. */
bool WindBarbs; /* Show wind barbs on XY */
bool LandMarks; /* Show hl proj/###/landmarks on XY or XYZ */
int ShowRegression; /* Show regression on XY */
std::string DataPath, tasVarName;
char buffer[BUFFSIZE], *parmsFile, *outFile, *timeSeg;
DATAFILE_INFO dataFile[MAX_DATAFILES];
DATASET_INFO dataSet[MAX_DATASETS], /* Time Series data sets */
xyXset[MAX_DATASETS], /* XY X data sets */
xyYset[MAX_DATASETS], /* XY Y data sets */
xyzSet[3], /* XYZ data sets. */
diffSet, /* Difference data set */
ui, vi; /* Wind barbs data sets */
PLOT_INFO mainPlot[MAX_PANELS], xyyPlot[MAX_PANELS], xyzPlot,
specPlot, diffPlot;
PRINTER printerSetup;
int PlotType;
size_t CurrentDataFile, CurrentDataSet, CurrentPanel,
NumberDataFiles, NumberDataSets, NumberXYYsets, NumberXYXsets,
NumberOfPanels, NumberOfXYpanels, nASCIIpoints;
size_t NumberSeconds, /* Number seconds being displayed */
nDirectionArrows, nTimeStamps, LineThickness;
/* Regression coeffs */
double regretCo[5];
/* Spectral globals (see spec.h for externs). */
PSD_INFO psd[MAX_PSD];
DATASET_INFO tas;
const char *statsTitle =
" mean sigma min max";
const char *prelimWarning = "This plot contains preliminary data";
/* Time stuff */
int UserStartTime[4], UserEndTime[4]; /* HH:MM:SS, 4th is seconds*/
int MinStartTime[4], MaxEndTime[4]; /* since midnight. */
/* Parameter File Variables */
char asciiFormat[10];
/* X vars */
Widget varList, varFilterText;
instanceRec iv;
/* END GLOBAL.C */