|
HWRF
trunk@4391
|
This module has a simple "get_vitals" function to extract vitals from NHC vital file (syndat_tcvitals.year). More...
This module has a simple "get_vitals" function to extract vitals from NHC vital file (syndat_tcvitals.year).
Functions | |
| def | get_vitals (vitalfile, centerid, stormid, yyyy, trackfile) |
| Reads tcvitals. More... | |
| def | qck (astr, bstr) |
| Quality check function: if a>b or b is 999, returns -999, otherwise returns b. More... | |
| def | track_shorten |
| Removes unwanted parts of the track file from get_vitals() More... | |
Variables | |
| list | __all__ = [ 'get_vitals' ] |
| List of symbols to export by "from pom.track import *". | |
| def pom.track.get_vitals | ( | vitalfile, | |
| centerid, | |||
| stormid, | |||
| yyyy, | |||
| trackfile | |||
| ) |
| def pom.track.qck | ( | astr, | |
| bstr | |||
| ) |
Quality check function: if a>b or b is 999, returns -999, otherwise returns b.
| astr,bstr | string values containing integers a and b |
Definition at line 72 of file track.py.
Referenced by pom.track.get_vitals().
| def pom.track.track_shorten | ( | fin, | |
| fout, | |||
| ymdh, | |||
logger = None |
|||
| ) |
Removes unwanted parts of the track file from get_vitals()
| fin,fout | input and output files |
| ymdh | date and hour of interest as a ten digit number in a string |
| logger | a logging.Logger for log messages |
1.8.10