WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
MosGrid.h
1#ifndef _WINC_MOSGRID
2#define _WINC_MOSGRID
3
4#include <WXP/Date.h>
5#include <WXP/Domain.h>
6#include <WXP/Filename.h>
7#include <WXP/Grids.h>
8#include <WXP/ObjectAnal.h>
9#include <WXP/MosRaw.h>
10#include <WXP/String.h>
11
12namespace WXP {
13 class MosGrid {
14 ObjectAnal oa;
15 MosRaw mos;
16 int grid_scale;
17
18 public:
19 MosGrid();
20 MosGrid( const char *param );
21 int init();
22 int setParam( const char *str );
23 int setPath( const char *path );
24 int setFile();
25 int setInput( const char *str );
26 inline int setModel( const char *str ){ return mos.setModel( str );};
27 int setNameConv( const char *name );
28 int setHour( const char *str );
29 inline int setForeTime( const char *fore ){ return mos.setForeTime( fore );};
30 int setFilename();
31 int setFilename( Date &date );
32 int setFilename( const char *str );
33 int setFilename( Date &date, const char *param );
34 int setVariable( const char *str );
35 int getDate( Date &date );
36 int setDomain( Domain &rdomain );
37 inline int setVarFile( const char *file ){ return mos.setVarFile( file ); };
38 inline int createHash(){ return mos.createHash(); };
39 inline int setPrior( Domain &domain ){ return mos.setPrior( domain ); };
40 inline int getInfo( MosData &mosdata, Datum &datum ){ return mos.getInfo( mosdata, datum ); };
41 int compute( Grids &grid );
42 int print();
43 };
44}
45#endif
This class stores date and time information.
Definition Date.h:8
This class stores raw point data.
Definition Datum.h:7
This class stores and manipulates domain data.
Definition Domain.h:19
This class sets up a repository for grids.
Definition Grids.h:14
This class stores MOS data.
Definition MosData.h:9
This class converts MOS data to a grid.
Definition MosGrid.h:13
int compute(Grids &grid)
Definition MosGrid.cc:138
int setInput(const char *str)
Definition MosGrid.cc:66
int setNameConv(const char *name)
Definition MosGrid.cc:74
int getDate(Date &date)
Definition MosGrid.cc:109
int setVariable(const char *str)
Definition MosGrid.cc:156
This class puts MOS data into a Data class for further processing.
Definition MosRaw.h:16
int setModel(const char *str)
Definition MosRaw.cc:97
int setForeTime(const char *fore)
Definition MosRaw.cc:176
This class performs an objective analysis on point data converting it to a grid.
Definition ObjectAnal.h:8
All WXP classes fall under the WXP namespace.
Definition Angle.h:4