WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
NidsData.h
1#ifndef _WINC_NIDSDATA
2#define _WINC_NIDSDATA
3
4#include <WXP/Date.h>
5#include <WXP/Domain.h>
6
7namespace WXP {
14 struct NidsData {
15 char info[50];
16 char misc[50];
17 int src;
18 float lat;
19 float lon;
20 int mode;
21 int code;
22 int type;
23 int vcp;
24 int seq;
25 Date date;
26 Domain domain;
27 int nrad;
28 int nbin;
29 float *data;
30 int data_size;
31
32 NidsData();
33 ~NidsData();
34 int initClass();
35
36 inline int tran( EarthPoint &ept, GridPoint &gpt ){ return domain.tran( ept, gpt); };
37 inline int tran( EarthPoint &ept, Point &pt ){ return domain.tran( ept, pt); };
38 inline float getLat(){ return domain.getPLat(); };
39 inline float getLon(){ return domain.getPLon(); };
40 inline float getNx(){ return domain.getNx(); };
41 inline float getNy(){ return domain.getNy(); };
42 inline float getDx(){ return domain.getDx(); };
43 inline float getDy(){ return domain.getDy(); };
44 int offset( float val );
45 float getValue( int x, int y );
46 float getValue( EarthPoint &ept );
47 int print();
48
49 enum Type {
50 RADIAL,
51 RASTOR
52 };
53
54 friend class NidsFile;
55 friend class NidsImage;
56 };
57}
58#endif
59
This class stores date and time information.
Definition Date.h:8
This class stores and manipulates domain data.
Definition Domain.h:19
int getNy()
Definition Domain.h:72
int tran(EarthPoint &ept, Point &pt)
Definition Domain.cc:440
float getPLon()
Definition Domain.h:64
int getNx()
Definition Domain.h:70
float getPLat()
Definition Domain.h:62
float getDx()
Definition Domain.h:74
float getDy()
Definition Domain.h:76
All WXP classes fall under the WXP namespace.
Definition Angle.h:4
This struct defines earth point values (lat, lon, elev)
Definition EarthPoint.h:5
This struct defines basic gridpoint values.
Definition GridPoint.h:5
This struct stores NIDS data.
Definition NidsData.h:14
char misc[50]
Definition NidsData.h:16
int mode
Definition NidsData.h:20
int vcp
Definition NidsData.h:23
float lon
Definition NidsData.h:19
int code
Definition NidsData.h:21
int type
Definition NidsData.h:22
int src
Definition NidsData.h:17
float lat
Definition NidsData.h:18
int print()
Definition NidsData.cc:59
This struct sets a 3D point (x, y, z)
Definition Point.h:5