diff --git a/src/pypromice/process/aws.py b/src/pypromice/process/aws.py index 5e763aee..d3b1b4c4 100644 --- a/src/pypromice/process/aws.py +++ b/src/pypromice/process/aws.py @@ -28,6 +28,7 @@ #------------------------------------------------------------------------------ + class AWS(object): '''AWS object to load and process PROMICE AWS data''' @@ -110,7 +111,7 @@ def getL3(self): and attribute population''' logger.info('Level 3 processing...') self.L3 = toL3(self.L2) - + # Resample L3 product f = [l.attrs['format'] for l in self.L0] if 'raw' in f or 'STM' in f: @@ -123,7 +124,7 @@ def getL3(self): # Re-format time t = self.L3['time'].values self.L3['time'] = list(t) - + # Switch gps_lon to negative (degrees_east) # Do this here, and NOT in addMeta, otherwise we switch back to positive # when calling getMeta in joinL3! PJW @@ -132,9 +133,9 @@ def getL3(self): # Add variable attributes and metadata self.L3 = self.addAttributes(self.L3) - + # Round all values to specified decimals places - self.L3 = roundValues(self.L3, self.vars) + self.L3 = roundValues(self.L3, self.vars) def addAttributes(self, L3): '''Add variable and attribute metadata