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

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

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

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

◆ getDate()

int UpaWxpFile::getDate ( Date rdate)

Gets the date of the file

Return values
rdateDate class to put date information

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

◆ setDate()

int UpaWxpFile::setDate ( Date rdate)

Sets the date of the file

Parameters
rdateDate of file

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


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