WXP::UpaWxpFile Class Reference

This class reads in and parses upper air data from a converted file. More...

#include "../include/UpaWxpFile.h"

List of all members.

Public Member Functions

 UpaWxpFile (const char *filename)
 UpaWxpFile (const char *filename, int access)
int init ()
int open (const char *filename, int access)
int getDate (Date &rdate)
int setDate (Date &rdate)
bool isOpen ()
int rewind ()
int close ()
int read (UpaRawinData &data)
int readId (String &rid)
Date getDate ()
const char * getDatestr ()
int write (UpaRawinData &data)

Static Public Member Functions

static int checkType (const char *filename)
static int decodePH (const char *str, float &pres, float &hght)
static int decodeTD (const char *str, float &temp, float &dewpt)
static int decodeWD (const char *str, float &dir, float &spd)
static int encodePH (float pres, float hght, char *str)
static int encodeTD (float temp, float dewpt, char *str)
static int encodeWD (float dir, float spd, char *str)

Detailed Description

This class reads in and parses upper air data from a converted file.

Author:
Dan Vietor

Member Function Documentation

int UpaWxpFile::getDate ( Date rdate  ) 

Gets the date of the file

Return values:
rdate Date class to put date information

Referenced by WXP::UpaFile::getDate().

int UpaWxpFile::setDate ( Date rdate  ) 

Sets the date of the file

Parameters:
rdate Date of file

Referenced by WXP::UpaFile::setDate().


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

Generated on 8 Jan 2010 for WXP C++ Library by  doxygen 1.6.1