WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
UpaRaw.h
1#ifndef _WINC_UPARAW
2#define _WINC_UPARAW
3
4#include <WXP/CityHash.h>
5#include <WXP/Date.h>
6#include <WXP/Datum.h>
7#include <WXP/Domain.h>
8#include <WXP/Filename.h>
9#include <WXP/Raw.h>
10#include <WXP/String.h>
11#include <WXP/UpaFile.h>
12#include <WXP/UpaData.h>
13
14namespace WXP {
15 class UpaRaw {
16 Filename filename;
17 String variable;
18 String var_file;
19 String level;
20 Domain domain;
21 CityHash hash;
22
23 public:
24 UpaRaw();
25 UpaRaw( const char *param );
26 int init();
27 int setParam( const char *str );
28 int setPath( const char *path );
29 int setFile();
30 int setInput( const char *str );
31 int setNameConv( const char *name );
32 int setHour( const char *str );
33 int setFilename();
34 int setFilename( Date &date );
35 int setFilename( const char *str );
36 int setFilename( Date &date, const char *param );
37 int setVariable( const char *str );
38 int setLevel( const char *str );
39 int getDate( Date &date );
40 int setDomain( Domain &rdomain );
41 int setVarFile( const char *file );
42 inline int getDomain( Domain &rdomain ){ rdomain = domain; return 1; };
43 int createHash();
44 int getInfo( UpaData &udata );
45 int compute( Raw &data );
46 int print();
47
48 static int updateSpec( VarSpec &vs, Level &l );
49 };
50}
51#endif
This class sets up a hash table for city database information.
Definition CityHash.h:9
This class stores date and time information.
Definition Date.h:8
This class stores and manipulates domain data.
Definition Domain.h:19
This class creates filenames.
Definition Filename.h:11
This class defines vertical level parameters.
Definition Level.h:8
This class replicates Data.
Definition Raw.h:7
This is a variable length string class.
Definition String.h:5
This class stores upper air data.
Definition UpaData.h:13
This class puts upper air data into a Raw class for further processing.
Definition UpaRaw.h:15
int setVariable(const char *str)
Definition UpaRaw.cc:295
int getDate(Date &date)
Definition UpaRaw.cc:119
int setNameConv(const char *name)
Definition UpaRaw.cc:85
int compute(Raw &data)
Definition UpaRaw.cc:176
int setLevel(const char *str)
Definition UpaRaw.cc:304
int setInput(const char *str)
Definition UpaRaw.cc:77
This class specifies variable information.
Definition VarSpec.h:13
All WXP classes fall under the WXP namespace.
Definition Angle.h:4