Changeset 38e83ba in flex_extract.git
- Timestamp:
- Nov 29, 2018, 9:11:15 PM (5 years ago)
- Branches:
- master, ctbto, dev
- Children:
- 631ba13
- Parents:
- ff2a11c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/python/mods/prepare_flexpart.py
r274f9ef r38e83ba 126 126 127 127 ''' 128 128 # necessary only if script is running by itself 129 129 if not ppid: 130 130 c.ppid = str(os.getppid()) … … 143 143 day=int(c.end_date[6:])) 144 144 145 # if basetime is 00 145 146 # assign starting date minus 1 day 146 # since for basetime 00we need the 12 hours upfront147 # since we need the 12 hours upfront 147 148 # (the day before from 12 UTC to current day 00 UTC) 148 149 if c.basetime == '00': … … 164 165 flexpart.deacc_fluxes(inputfiles, c) 165 166 166 # get a list of all files from the root inputdir167 # get a list of all other files 167 168 inputfiles = UioFiles(c.inputdir, '????__??.*' + str(c.ppid) + '.*') 168 169 … … 172 173 flexpart.create(inputfiles, c) 173 174 flexpart.process_output(c) 175 176 # make use of a possible conversion to a 177 # specific flexpart binary format 174 178 if c.grib2flexpart: 175 # prepare environment for a FLEXPART run176 # to convert grib to flexpart binary format177 179 flexpart.prepare_fp_files(c) 178 180
Note: See TracChangeset
for help on using the changeset viewer.