RAVE
Lib.odc_fixIO Namespace Reference

Functions

 Validate (rio)
 Validate input file.
 
 repair_odim_source (obj)
 Fix bad WMO numbers, among other things.
 
 ConvertDatasets (rio)
 Manages the conversion of datasets from float64 to uint8.
 
 ConvertParam (param)
 Converts 64-bit float to 8-bit uint, with standard scaling.
 
 CheckScan (scan)
 Convenience function for doing the real work in CheckOddsnEnds.
 
 CheckOddsnEnds (rio)
 Manages the standardization of selected data and metadata attributes.
 
 ConvertNodataUndetect (param)
 Checks and converts nodata and undetect to standard values.
 

Detailed Description

Copyright (C) 2012- 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

◆ CheckOddsnEnds()

Lib.odc_fixIO.CheckOddsnEnds ( rio)

Manages the standardization of selected data and metadata attributes.

Parameters
objinput RAVE I/O object.

◆ CheckScan()

Lib.odc_fixIO.CheckScan ( scan)

Convenience function for doing the real work in CheckOddsnEnds.

Parameters
scanpolar scan object

◆ ConvertDatasets()

Lib.odc_fixIO.ConvertDatasets ( rio)

Manages the conversion of datasets from float64 to uint8.

Parameters
rioRAVE I/O object

◆ ConvertNodataUndetect()

Lib.odc_fixIO.ConvertNodataUndetect ( param)

Checks and converts nodata and undetect to standard values.

Required by Ropo, not the toolbox.

Parameters
paramphysical parameter object.

◆ ConvertParam()

Lib.odc_fixIO.ConvertParam ( param)

Converts 64-bit float to 8-bit uint, with standard scaling.

Parameters
paramdataset containing physical parameter.

◆ repair_odim_source()

Lib.odc_fixIO.repair_odim_source ( obj)

Fix bad WMO numbers, among other things.

This is a collection of workarounds.

Parameters
objinput object
Returns
string containing correctly-formatted /what/source

◆ Validate()

Lib.odc_fixIO.Validate ( rio)

Validate input file.

Parameters
rioRAVE IO object read from file.