From 6857073d7876779e50cfae3bd61c930fc0dc8fd9 Mon Sep 17 00:00:00 2001 From: Anne Tipka <anne.philipp@univie.ac.at> Date: Wed, 20 Jul 2022 12:48:59 +0200 Subject: [PATCH] spelling corrections --- Source/Python/Classes/MarsRetrieval.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/Python/Classes/MarsRetrieval.py b/Source/Python/Classes/MarsRetrieval.py index 61b1d3a..426bce3 100644 --- a/Source/Python/Classes/MarsRetrieval.py +++ b/Source/Python/Classes/MarsRetrieval.py @@ -506,15 +506,15 @@ class MarsRetrieval(object): newattrs['month'] = date.month newattrs['day'] = date.day - # need to correct the time apperance for CDS surface field retrievals + # need to correct the time appearance for CDS surface field retrievals if attrs['type'] == 'FC': # for EA5 only flux fields are retrieved as FC type # need to convert fc start times 06/18 to usual AN times - # since the surface fields can only be access through their validity time + # since the surface fields can only be accessed through their validity time start, end, step = map(int,attrs['step'].split('/')[::2]) newattrs['time'] = [ "{0:0=2d}".format(s) for s in range(0,24,step) ] elif '/' in attrs['time']: # we expect a list of times separated by / newattrs['time'] = attrs['time'].split('/') - elif isinstance(attrs['time'], str): # we expect a single time in here + elif isinstance(attrs['time'], str): # we expect a single time here newattrs['time'] = [ attrs['time'] ] newattrs['product_type'] = 'reanalysis' -- GitLab