WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
NowradFile.h
1#ifndef _WINC_NOWRADFILE
2#define _WINC_NOWRADFILE
3
4#include <WXP/Date.h>
5#include <WXP/Domain.h>
6#include <WXP/File.h>
7#include <WXP/Image.h>
8#include <WXP/NowradPacket.h>
9
10namespace WXP {
11 class NowradFile {
12 File file;
13 bool opened;
14
15 unsigned char data[10];
16 unsigned char pre;
17 unsigned int num;
18
19
20 unsigned int run;
21 unsigned int col;
22 unsigned int col_mask;
23 int tot_run;
24
25 char label[40]; /* Date time label */
26 Date date; /* Date time information */
27
28 int height, width;
29 Domain domain; /* The domain of the image */
30 public:
31
32 NowradFile();
33 int open( const char *name );
34 bool isOpen();
35 int rewind();
36 int close();
37 int readHeader();
38 int readLine();
39 int readPacket( NowradPacket &packet );
40 int read( Image &image );
41 };
42
43}
44#endif
This class stores date and time information.
Definition Date.h:8
This class stores and manipulates domain data.
Definition Domain.h:19
This class accesses files.
Definition File.h:15
This class defines an image.
Definition Image.h:19
This class reads in WSI NOWRad radar mosaic files.
Definition NowradFile.h:11
int readLine()
Definition NowradFile.cc:209
int rewind()
Definition NowradFile.cc:56
int read(Image &image)
Definition NowradFile.cc:305
bool isOpen()
Definition NowradFile.cc:49
int readHeader()
Definition NowradFile.cc:75
int readPacket(NowradPacket &packet)
Definition NowradFile.cc:227
NowradFile()
Definition NowradFile.cc:28
int close()
Definition NowradFile.cc:65
int open(const char *name)
Definition NowradFile.cc:37
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This class stores WSI NOWRad radar mosaic data.
Definition NowradPacket.h:5