Changeset 70fee58 in flex_extract.git for source/python/mods
- Timestamp:
- Oct 12, 2018, 1:17:12 PM (6 years ago)
- Branches:
- master, ctbto, dev
- Children:
- 785b882
- Parents:
- 5827ff6
- Location:
- source/python/mods
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
source/python/mods/get_mars_data.py
r5bad6ec r70fee58 52 52 53 53 # software specific classes and modules from flex_extract 54 sys.path.append('../') 54 sys.path.append(os.path.dirname(os.path.abspath( 55 inspect.getfile(inspect.currentframe()))) + '/../') 55 56 import _config 56 57 from tools import (my_error, normal_exit, get_cmdline_arguments, -
source/python/mods/prepare_flexpart.py
rc5074d2 r70fee58 59 59 60 60 # software specific classes and modules from flex_extract 61 sys.path.append('../') 61 62 sys.path.append(os.path.dirname(os.path.abspath( 63 inspect.getfile(inspect.currentframe()))) + '/../') 62 64 import _config 63 65 from classes.UioFiles import UioFiles … … 156 158 157 159 # get all files with flux data to be deaccumulated 158 inputfiles = UioFiles(c.inputdir, '*OG_acc_SL*.' + c.ppid+ '.*')160 inputfiles = UioFiles(c.inputdir, '*OG_acc_SL*.' + str(c.ppid) + '.*') 159 161 160 162 # deaccumulate the flux data … … 164 166 165 167 # get a list of all files from the root inputdir 166 inputfiles = UioFiles(c.inputdir, '????__??.*' + c.ppid+ '.*')168 inputfiles = UioFiles(c.inputdir, '????__??.*' + str(c.ppid) + '.*') 167 169 168 170 # produce FLEXPART-ready GRIB files and process them -
Note: See TracChangeset
for help on using the changeset viewer.