WXP C++ Library Version 6.74.9
Loading...
Searching...
No Matches
WXP::LritFile Class Reference

This class reads and decodes LRIT satellite data from file. More...

#include "../include/LritFile.h"

Public Member Functions

 LritFile ()
 LritFile (const char *filename)
 ~LritFile ()
int init ()
int open (const char *filename)
int close ()
bool isOpen ()
int getHeader ()
int read (Image &image)
int readHeader (Image &image)
int readData (Image &image)

Detailed Description

This class reads and decodes LRIT satellite data from file.

Author
Dan Vietor

Constructor & Destructor Documentation

◆ LritFile() [1/2]

LritFile::LritFile ( )

Constructor. Initializes class data

References init().

◆ LritFile() [2/2]

LritFile::LritFile ( const char * filename)

Constructor. Opens file.

Parameters
filenameFile to open

References init(), and open().

◆ ~LritFile()

LritFile::~LritFile ( )

Destructor.

Member Function Documentation

◆ close()

int LritFile::close ( )

Closes the file

◆ getHeader()

int LritFile::getHeader ( )

Reads in the LRIT header and stores data internally

References WXP::StrLib::copy(), and WXP::Wxp::outDebug().

Referenced by readHeader().

◆ init()

int LritFile::init ( )

Initializes class data

Referenced by LritFile(), LritFile(), and open().

◆ isOpen()

bool LritFile::isOpen ( )

Is file opened

Returns
True if open

◆ open()

int LritFile::open ( const char * filename)

Opens a LRIT file

Parameters
filenameFile to open

References init().

Referenced by LritFile().

◆ read()

int LritFile::read ( Image & image)

Read in full LRIT image

Return values
imageThe output image

References WXP::Image::allocData(), WXP::Image::init(), WXP::Wxp::isDebug(), WXP::Wxp::outDebug(), readHeader(), and WXP::Image::setPixel().

◆ readHeader()


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