Changeset 02c8c50 in flex_extract.git for python/getMARSdata.py


Ignore:
Timestamp:
Mar 18, 2018, 6:27:28 PM (6 years ago)
Author:
Anne Philipp <bscannephilipp@…>
Branches:
master, ctbto, dev
Children:
efdb01a
Parents:
64cf353
Message:

more changes in PEP8 style and slight modifications in coding style and naming. More documentation of functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/getMARSdata.py

    r64cf353 r02c8c50  
    5050    sys.path.append(localpythonpath)
    5151
    52 from FlexpartTools import MARSretrieval, EIFlexpart, silentremove, \
     52from FlexpartTools import ECFlexpart, \
    5353                          Control, myerror, normalexit, \
    5454                          interpret_args_and_control
     
    101101        while day<endp1:
    102102                # we need to retrieve MARS data for this period (maximum one month)
    103                 flexpart = EIFlexpart(c,fluxes=True)
     103                flexpart = ECFlexpart(c,fluxes=True)
    104104                if day+datechunk-datetime.timedelta(days=1)<endp1:
    105105                    dates= day.strftime("%Y%m%d") + "/to/" + (day+datechunk-datetime.timedelta(days=1)).strftime("%Y%m%d")
     
    118118        while day<=end:
    119119                # we need to retrieve MARS data for this period (maximum one month)
    120                 flexpart = EIFlexpart(c,fluxes=True)
     120                flexpart = ECFlexpart(c,fluxes=True)
    121121                if day+datechunk-datetime.timedelta(days=1)<end:
    122122                    dates= day.strftime("%Y%m%d") + "/to/" + (day+datechunk-datetime.timedelta(days=1)).strftime("%Y%m%d")
     
    138138
    139139               # we need to retrieve MARS data for this period (maximum one month)
    140             flexpart = EIFlexpart(c)
     140            flexpart = ECFlexpart(c)
    141141            if day+datechunk-datetime.timedelta(days=1)<end:
    142142                dates= day.strftime("%Y%m%d") + "/to/" + (day+datechunk-datetime.timedelta(days=1)).strftime("%Y%m%d")
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG