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

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

#include "../include/SfcGrid.h"

Public Member Functions

 SfcGrid (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 setVarFile (const char *file)
 
int createHash ()
 
int setPrior (Domain &domain)
 
int getInfo (SfcData &sfcdata, Datum &datum)
 
int compute (Grids &grid)
 
int print ()
 

Detailed Description

This class converts surface data to a grid.

Author
Dan Vietor

Member Function Documentation

◆ compute()

int SfcGrid::compute ( Grids grids)

Plots the surface data

Parameters
gridsThe grids array

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

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

◆ getDate()

int SfcGrid::getDate ( Date date)

Gets the date information from the input file

Return values
dateDate values

References WXP::SfcRaw::getDate().

◆ setInput()

int SfcGrid::setInput ( const char *  str)

Sets the input file type

Parameters
strThe file type

◆ setNameConv()

int SfcGrid::setNameConv ( const char *  name)

Sets the file name convention

Parameters
nameThe name convention

References WXP::SfcRaw::setNameConv().

◆ setVariable()

int SfcGrid::setVariable ( const char *  str)

Sets the variable to be plotted

Parameters
strVariable string

References WXP::SfcRaw::setVariable().

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


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