WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
WXP::MosGrid Class Reference

This class converts MOS data to a grid. More...

#include "../include/MosGrid.h"

Public Member Functions

 MosGrid (const char *param)
int init ()
int setParam (const char *str)
int setPath (const char *path)
int setFile ()
int setInput (const char *str)
int setModel (const char *str)
int setNameConv (const char *name)
int setHour (const char *str)
int setForeTime (const char *fore)
int setFilename ()
int setFilename (Date &date)
int setFilename (const char *str)
int setFilename (Date &date, const char *param)
int setVariable (const char *str)
int getDate (Date &date)
int setDomain (Domain &rdomain)
int setVarFile (const char *file)
int createHash ()
int setPrior (Domain &domain)
int getInfo (MosData &mosdata, Datum &datum)
int compute (Grids &grid)
int print ()

Detailed Description

This class converts MOS data to a grid.

Author
Dan Vietor

Member Function Documentation

◆ compute()

int MosGrid::compute ( Grids & grids)

Plots the surface data

Parameters
gridsThe grids array

References WXP::Domain::getProj(), WXP::Const::MISS, and WXP::Domain::scaleGrid().

◆ getDate()

int MosGrid::getDate ( Date & date)

Gets the date information from the input file

Return values
dateDate values

◆ setInput()

int MosGrid::setInput ( const char * str)

Sets the input file type

Parameters
strThe file type

◆ setNameConv()

int MosGrid::setNameConv ( const char * name)

Sets the file name convention

Parameters
nameThe name convention

◆ setVariable()

int MosGrid::setVariable ( const char * str)

Sets the variable to be plotted

Parameters
strVariable string

The documentation for this class was generated from the following files: