Changes in / [e3c679d:3ca4c3e] in flex_extract.git


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Source/Python/Classes/MarsRetrieval.py

    re3c679d rf0dedeb  
    521521        newattrs['area'] = attrs['area'].split('/')
    522522        newattrs['grid'] = list(map(float,attrs['grid'].split('/')))
    523         newattrs['param'] = attrs['param'].split('/')   
     523        newattrs['param'] = attrs['param'].split('/')       
     524        if '/' in attrs['step']:
     525            sstep = int(attrs['step'].split('/')[4])
     526            newattrs['time'] = list(map(str,range(0,24,sstep)))             
     527        elif '160.128' in attrs['param']:
     528            newattrs['time'] = attrs['time']
    524529        newattrs['format'] = 'grib'
    525530               
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG