Changeset 38e83ba in flex_extract.git


Ignore:
Timestamp:
Nov 29, 2018, 9:11:15 PM (6 months ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
dev
Children:
631ba13
Parents:
ff2a11c
Message:

minor changes in comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/python/mods/prepare_flexpart.py

    r274f9ef r38e83ba  
    126126
    127127    '''
    128 
     128    # necessary only if script is running by itself
    129129    if not ppid:
    130130        c.ppid = str(os.getppid())
     
    143143                        day=int(c.end_date[6:]))
    144144
     145    # if basetime is 00
    145146    # assign starting date minus 1 day
    146     # since for basetime 00 we need the 12 hours upfront
     147    # since we need the 12 hours upfront
    147148    # (the day before from 12 UTC to current day 00 UTC)
    148149    if c.basetime == '00':
     
    164165    flexpart.deacc_fluxes(inputfiles, c)
    165166
    166     # get a list of all files from the root inputdir
     167    # get a list of all other files
    167168    inputfiles = UioFiles(c.inputdir, '????__??.*' + str(c.ppid) + '.*')
    168169
     
    172173    flexpart.create(inputfiles, c)
    173174    flexpart.process_output(c)
     175
     176    # make use of a possible conversion to a
     177    # specific flexpart binary format
    174178    if c.grib2flexpart:
    175         # prepare environment for a FLEXPART run
    176         # to convert grib to flexpart binary format
    177179        flexpart.prepare_fp_files(c)
    178180
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG