WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
Public Member Functions | List of all members
WXP::RawGrid Class Reference

This class fits raw data to a grid. More...

#include "../include/RawGrid.h"

Public Member Functions

 RawGrid (const char *param)
 
int init ()
 
int setParam (const char *str)
 
int setPath (const char *path)
 
int setFile ()
 
int setInput (const char *str)
 
int setNameConv (const char *name)
 
int setHour (const char *str)
 
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 setGridScale (int scale)
 
int compute (Data &data, Grids &grid)
 
int compute (Grids &grid)
 
int print ()
 

Detailed Description

This class fits raw data to a grid.

Author
Dan Vietor

Member Function Documentation

◆ compute()

int RawGrid::compute ( Data data,
Grids grids 
)

Plots the surface data

Parameters
gridsThe grids array

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

Referenced by WXP::RawPlot::draw().

◆ getDate()

int RawGrid::getDate ( Date date)

Gets the date information from the input file

Return values
dateDate values

References WXP::Filename::getDate().

◆ setInput()

int RawGrid::setInput ( const char *  str)

Sets the input file type

Parameters
strThe file type

◆ setNameConv()

int RawGrid::setNameConv ( const char *  name)

Sets the file name convention

Parameters
nameThe name convention

References WXP::Filename::setNameConv().

◆ setParam()

int RawGrid::setParam ( const char *  str)

Sets the gridding parameters

Parameters
strParameter string
grid:# - Grid scaling
See also
ObjectAnal::setParam

References WXP::Strings::equal(), WXP::Strings::getInt(), WXP::Strings::getLength(), WXP::Strings::getNum(), and WXP::ObjectAnal::setParam().

Referenced by WXP::RawPlot::setParam().


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