From 332e64fbe1aaebc8b3b2a1859b2e9d6b8d4f88ea Mon Sep 17 00:00:00 2001 From: "Christoph.Knote" <christoph.knote@physik.uni-muenchen.de> Date: Sun, 23 Jul 2017 19:26:49 +0200 Subject: [PATCH] meh meh --- icartt/dataset.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icartt/dataset.py b/icartt/dataset.py index bfa7e75..b010008 100644 --- a/icartt/dataset.py +++ b/icartt/dataset.py @@ -93,7 +93,7 @@ class Dataset: # Scale factors (1 for most cases, except where grossly inconvenient) - comma delimited. prnt(self.splitChar.join( [ "{:6.3f}".format(x.scale) for x in self.DVAR ])) # Missing data indicators (This is -9999 (or -99999, etc.) for any missing data condition, except for the main time (independent) variable which is never missing) - comma delimited. - prnt(self.splitChar.join( [ "{:d}".format(x.miss) for x in self.DVAR ])) + prnt(self.splitChar.join( [ str(x.miss) for x in self.DVAR ])) # Variable names and units (Short variable name and units are required, and optional long descriptive name, in that order, and separated by commas. If the variable is unitless, enter the keyword "none" for its units. Each short variable name and units (and optional long name) are entered on one line. The short variable name must correspond exactly to the name used for that variable as a column header, i.e., the last header line prior to start of data.). nul = [ prnt(x.desc) for x in self.DVAR ] if self.format == 2110: @@ -102,7 +102,7 @@ class Dataset: # Scale factors (1 for most cases, except where grossly inconvenient) - comma delimited. prnt(self.splitChar.join( [ "{:6.3f}".format(x.scale) for x in self.AUXVAR ])) # Missing data indicators (This is -9999 (or -99999, etc.) for any missing data condition, except for the main time (independent) variable which is never missing) - comma delimited. - prnt(self.splitChar.join( [ "{:d}".format(x.miss) for x in self.AUXVAR ])) + prnt(self.splitChar.join( [ str(x.miss) for x in self.AUXVAR ])) # Variable names and units (Short variable name and units are required, and optional long descriptive name, in that order, and separated by commas. If the variable is unitless, enter the keyword "none" for its units. Each short variable name and units (and optional long name) are entered on one line. The short variable name must correspond exactly to the name used for that variable as a column header, i.e., the last header line prior to start of data.). nul = [ prnt(x.desc) for x in self.AUXVAR ] -- GitLab