RAVE
Lib.rave_ctfilter Namespace Reference

Functions

 readCT (filename)
 MSG CT file reader.
 
 getMatchingCT (prod)
 MSG CT file finder.
 
 ctFilter (prod, quantity="DBZH")
 MSG CT file filter generator.
 

Variables

list NODENAMES
 

Detailed Description

Copyright (C) 2014- Swedish Meteorological and Hydrological Institute (SMHI)

This file is part of RAVE.

RAVE is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

RAVE is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with RAVE.  If not, see <http://www.gnu.org/licenses/>.

Function Documentation

◆ ctFilter()

Lib.rave_ctfilter.ctFilter ( prod,
quantity = "DBZH" )

MSG CT file filter generator.

Parameters
prodCartesian image or composite product
quantitystring representing the quantity to process
Returns
True upon success, False upon failure, None if abandoned due to lack of CT

◆ getMatchingCT()

Lib.rave_ctfilter.getMatchingCT ( prod)

MSG CT file finder.

Looks for the existence of CT files that match the given input image product

Parameters
prodCartesian image or composite product
Returns
string if a matching filename is found, otherwise None

◆ readCT()

Lib.rave_ctfilter.readCT ( filename)

MSG CT file reader.

Parameters
filenamestring of the input MSG CT file
Returns
Cartesian object representing the CT product

Variable Documentation

◆ NODENAMES

list Lib.rave_ctfilter.NODENAMES
Initial value:
1= ["/XGEO_UP_LEFT",
2 "/YGEO_UP_LEFT",
3 "/XGEO_LOW_RIGHT",
4 "/YGEO_LOW_RIGHT",
5 "/PROJECTION",
6 "/CT",
7 "/CT/N_LINES",
8 "/CT/N_COLS"]