Changeset 96e1533 in flex_extract.git for source/python/classes/EcFlexpart.py
- Timestamp:
- Nov 10, 2018, 9:37:36 PM (5 years ago)
- Branches:
- master, ctbto, dev
- Children:
- 1abf820
- Parents:
- 8500ba1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/python/classes/EcFlexpart.py
r274f9ef r96e1533 755 755 # index_vals[2]: ('0', '12', '3', '6', '9') ; stepRange 756 756 757 # initialize dictionaries 757 758 valsdict = {} 758 759 svalsdict = {} 759 # stepsdict = {}760 760 for p in pars: 761 761 valsdict[str(p)] = [] 762 762 svalsdict[str(p)] = [] 763 # stepsdict[str(p)] = []764 765 print('maxstep: ', c.maxstep)766 763 767 764 # "product" genereates each possible combination between the … … 828 825 vdp = valsdict[cparamId] 829 826 svdp = svalsdict[cparamId] 830 # sd = stepsdict[cparamId]831 827 832 828 if cparamId == '142' or cparamId == '143': … … 1194 1190 1195 1191 if c.format.lower() == 'grib2': 1196 p = subprocess.check_call(['grib_set', '-s', 'edition=2, \1197 productDefinitionTemplateNumber=8',1192 p = subprocess.check_call(['grib_set', '-s', 'edition=2,', 1193 'productDefinitionTemplateNumber=8', 1198 1194 ofile, ofile + '_2']) 1199 1195 p = subprocess.check_call(['mv', ofile + '_2', ofile])
Note: See TracChangeset
for help on using the changeset viewer.