Changeset d4696e0 in flex_extract.git for source/python/mods/get_mars_data.py


Ignore:
Timestamp:
Jan 18, 2019, 10:50:19 PM (5 years ago)
Author:
Anne Philipp <anne.philipp@…>
Branches:
master, ctbto, dev
Children:
4c1d7de
Parents:
6f951ca
Message:

bugfix retrievement with basetime parameter

File:
1 edited

Legend:

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

    r6f951ca rd4696e0  
    252252    chunk = timedelta(days=int(c.date_chunk))
    253253
    254     if c.basetime:
    255         if c.basetime == '00':
    256             start = start - timedelta(days=1)
    257 
    258     if not c.purefc and fluxes:
     254    if c.basetime == 0:
     255        start = start - timedelta(days=1)
     256
     257    if not c.purefc and fluxes and not c.basetime == 0:
    259258        start = start - timedelta(days=1)
    260259        end = end + timedelta(days=1)
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG