diff --git a/icartt/dataset.py b/icartt/dataset.py index bfa7e7549ea40f5d8f9b07bf2062c9973fd54785..b01000888d9892b8366d3bd76f5d9a99cedcf595 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 ]