WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
SfcGrid.h
1#ifndef _WINC_SFCGRID
2#define _WINC_SFCGRID
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/SfcRaw.h>
10#include <WXP/String.h>
11
12namespace WXP {
13 class SfcGrid {
14 ObjectAnal oa;
15 SfcRaw sfc;
16 int grid_scale;
17
18 public:
19 SfcGrid();
20 SfcGrid( 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 int setNameConv( const char *name );
27 int setHour( const char *str );
28 int setFilename();
29 int setFilename( Date &date );
30 int setFilename( const char *str );
31 int setFilename( Date &date, const char *param );
32 int setVariable( const char *str );
33 int getDate( Date &date );
34 int setDomain( Domain &rdomain );
35 inline int setGridScale( int scale ){ grid_scale = scale; return 1; };
36 inline int setVarFile( const char *file ){ return sfc.setVarFile( file ); };
37 inline int createHash(){ return sfc.createHash(); };
38 inline int setPrior( Domain &domain ){ return sfc.setPrior( domain ); };
39 inline int getInfo( SfcData &sfcdata, Datum &datum ){ return sfc.getInfo( sfcdata, datum ); };
40 int compute( Grids &grid );
41 int print();
42 };
43}
44#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 performs an objective analysis on point data converting it to a grid.
Definition ObjectAnal.h:8
This class stores surface data.
Definition SfcData.h:12
This class converts surface data to a grid.
Definition SfcGrid.h:13
int setInput(const char *str)
Definition SfcGrid.cc:63
int compute(Grids &grid)
Definition SfcGrid.cc:134
int getDate(Date &date)
Definition SfcGrid.cc:105
int setNameConv(const char *name)
Definition SfcGrid.cc:71
int setVariable(const char *str)
Definition SfcGrid.cc:152
This class puts surface data into a Data class for further processing.
Definition SfcRaw.h:16
All WXP classes fall under the WXP namespace.
Definition Angle.h:4