Changeset 02c8c50 in flex_extract.git for python/getMARSdata.py
- Timestamp:
- Mar 18, 2018, 6:27:28 PM (6 years ago)
- Branches:
- master, ctbto, dev
- Children:
- efdb01a
- Parents:
- 64cf353
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/getMARSdata.py
r64cf353 r02c8c50 50 50 sys.path.append(localpythonpath) 51 51 52 from FlexpartTools import MARSretrieval, EIFlexpart, silentremove,\52 from FlexpartTools import ECFlexpart, \ 53 53 Control, myerror, normalexit, \ 54 54 interpret_args_and_control … … 101 101 while day<endp1: 102 102 # we need to retrieve MARS data for this period (maximum one month) 103 flexpart = E IFlexpart(c,fluxes=True)103 flexpart = ECFlexpart(c,fluxes=True) 104 104 if day+datechunk-datetime.timedelta(days=1)<endp1: 105 105 dates= day.strftime("%Y%m%d") + "/to/" + (day+datechunk-datetime.timedelta(days=1)).strftime("%Y%m%d") … … 118 118 while day<=end: 119 119 # we need to retrieve MARS data for this period (maximum one month) 120 flexpart = E IFlexpart(c,fluxes=True)120 flexpart = ECFlexpart(c,fluxes=True) 121 121 if day+datechunk-datetime.timedelta(days=1)<end: 122 122 dates= day.strftime("%Y%m%d") + "/to/" + (day+datechunk-datetime.timedelta(days=1)).strftime("%Y%m%d") … … 138 138 139 139 # we need to retrieve MARS data for this period (maximum one month) 140 flexpart = E IFlexpart(c)140 flexpart = ECFlexpart(c) 141 141 if day+datechunk-datetime.timedelta(days=1)<end: 142 142 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.