Changeset f0dedeb in flex_extract.git
- Timestamp:
- Feb 20, 2022, 2:38:43 PM (2 years ago)
- Branches:
- dev
- Children:
- 3ca4c3e
- Parents:
- 697b8d0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Source/Python/Classes/MarsRetrieval.py
r0a75335 rf0dedeb 511 511 newattrs['grid'] = list(map(float,attrs['grid'].split('/'))) 512 512 newattrs['param'] = attrs['param'].split('/') 513 newattrs['time'] = list(map(str,range(0,24,3))) 513 if '/' in attrs['step']: 514 sstep = int(attrs['step'].split('/')[4]) 515 newattrs['time'] = list(map(str,range(0,24,sstep))) 516 elif '160.128' in attrs['param']: 517 newattrs['time'] = attrs['time'] 514 518 newattrs['format'] = 'grib' 515 519
Note: See TracChangeset
for help on using the changeset viewer.