Changeset 4d3b052 in flex_extract.git for source/python/mods/checks.py
- Timestamp:
- Dec 7, 2018, 3:33:46 PM (5 years ago)
- Branches:
- master, ctbto, dev
- Children:
- a4531f1
- Parents:
- c274d9a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/python/mods/checks.py
rd2febd4 r4d3b052 155 155 return 156 156 157 158 def check_purefc(type): 159 '''Check for a pure forecast mode. 160 161 Parameters 162 ---------- 163 type : :obj:`list` of :obj:`string` 164 List of field types. 165 166 Return 167 ------ 168 True or False: 169 True if pure forecasts are to be retrieved. False if there are 170 analysis fields in between. 171 ''' 172 173 if 'AN' not in type and '4V' not in type: 174 # pure forecast 175 return True 176 177 return False 178 179 157 180 def check_(): 158 181 '''
Note: See TracChangeset
for help on using the changeset viewer.