Satellite and Radar
Class overview
Sat
SatPlot
SatManager
MItiff
Libraries used
Sat
Info about one satellite product
(one time, all channels)
data
calibration
projection
dimensions
channels
SatPlot
Has one Sat object, and know how to plot it
SatManager
Parse setup
Answer requests
MItiff
Static functions
Interface between diana and the library diMItiff
The library functions reads just the header or header and data into some internal structure.
The functions in the class MItiff puts the header info and the data into a Sat object
Setup
Current syntax
''image=Radar-obs
channels= PSC_Z \\
sub.type = Norden_2km_dBZ\\
file = $(OPDATA3)/nordrad/mitiff/RRPSC_Z_DNORDIC_2000_[yyyymmddHHMM].mitiff\\
''
Some additional info about file type are needed
New syntax
''image=Radar-obs
channels= PSC_Z \\
sub.type = Norden_2km_dBZ\\
type = mitiff \\
file = $(OPDATA3)/nordrad/mitiff/RRPSC_Z_DNORDIC_2000_[yyyymmddHHMM].mitiff\\
''
How to implement a new interface
Change SatManager
parse and keep type information (MItiff default)
call the right static function depending on type, now only MItiff functions are called
Make a new class which contains static functions which return