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

This class plots surface data. More...

#include "../include/UpaGrid.h"

Public Member Functions

 UpaGrid (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 setLevel (const char *str)
 
int getDate (Date &date)
 
int setDomain (Domain &rdomain)
 
int setVarFile (const char *file)
 
int createHash ()
 
int getInfo (UpaData &udata)
 
int compute (Grids &grid)
 
int print ()
 

Detailed Description

This class plots surface data.

Author
Dan Vietor

Member Function Documentation

◆ compute()

int UpaGrid::compute ( Grids grids)

Plots the surface data

Parameters
gridsThe grids array

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

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

◆ getDate()

int UpaGrid::getDate ( Date date)

Gets the date information from the input file

  • Return values
    dateDate values

References WXP::UpaRaw::getDate().

◆ setInput()

int UpaGrid::setInput ( const char *  str)

Sets the input file type

  • Parameters
    strThe file type

◆ setLevel()

int UpaGrid::setLevel ( const char *  str)

Sets the level to be plotted

Parameters
strLevel string

References WXP::UpaRaw::setLevel().

◆ setNameConv()

int UpaGrid::setNameConv ( const char *  name)

Sets the file name convention

  • Parameters
    nameThe name convention

References WXP::UpaRaw::setNameConv().

◆ setVariable()

int UpaGrid::setVariable ( const char *  str)

Sets the variable to be plotted

Parameters
strVariable string

References WXP::UpaRaw::setVariable().

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


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