- Timestamp:
- Jan 31, 2020, 12:32:29 PM (4 years ago)
- Branches:
- master, ctbto, dev
- Children:
- eca358d
- Parents:
- aad03f2
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Source/Python/Classes/EcFlexpart.py
r0f89116 r53d3b2a 321 321 322 322 ''' 323 if self.purefc: 324 # need to retrieve forecasts for step 000 in case of pure forecast 325 steps = '{}/to/{}/by/{}'.format(0, self.accmaxstep, self.dtime) 326 else: 327 steps = '{}/to/{}/by/{}'.format(self.dtime, 328 self.accmaxstep, 329 self.dtime) 330 323 331 self.types[str(self.acctype)] = {'times': str(self.acctime), 324 'steps': '{}/to/{}/by/{}'.format( 325 self.dtime, 326 self.accmaxstep, 327 self.dtime)} 332 'steps': steps} 328 333 return 329 334 … … 781 786 782 787 elif self.basetime == 0: 783 retr_param_dict['date'] = \784 datetime.strftime(elimit - t24h, '%Y%m%d')788 # retr_param_dict['date'] = \ 789 # datetime.strftime(elimit - t24h, '%Y%m%d') 785 790 786 791 timesave = ''.join(retr_param_dict['time']) … … 1602 1607 1603 1608 # skip all temporary times 1604 # which are outside the retrieval period 1609 # which are outside the retrieval period 1605 1610 if timestamp < start_period or \ 1606 1611 timestamp > end_period: 1607 1612 continue 1608 1613 1609 1614 1610 1615 # @WRF
Note: See TracChangeset
for help on using the changeset viewer.