RAVE
Lib.gadjust.tcritical Namespace Reference

Functions

 readT (fstr=TFILE)
 Look-up table reader.
 
 convert2dict (fstr=TFILE_TEMPLATE)
 One-off to create the pickle file.
 
 getTTABLE ()
 Call this function to get the translation table instead of going directly at TTABLE.
 

Variables

 TTABLE = None
 

Detailed Description

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

◆ convert2dict()

Lib.gadjust.tcritical.convert2dict ( fstr = TFILE_TEMPLATE)

One-off to create the pickle file.

Parameters
fstrfile string

◆ getTTABLE()

Lib.gadjust.tcritical.getTTABLE ( )

Call this function to get the translation table instead of going directly at TTABLE.

Will read TTABLE once and then return the cached copy

◆ readT()

Lib.gadjust.tcritical.readT ( fstr = TFILE)

Look-up table reader.

Parameters
fstrfile string
Returns
dictionary containing T values