Skip to content

Commit

Permalink
Merge branch 'noaa-oar-arl:develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
blychs authored Jul 18, 2024
2 parents e06a2a7 + 80f2903 commit 0ecc640
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions monetio/profile/icartt.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ def read_header(self):
# value is set to 0. The Mid-point time is required when it is not at the
# average of Start and Stop times. For additional information see Section
# 2.5 below.).
self.dataInterval = int(self.__readline()[0])
self.dataInterval = float(self.__readline()[0])

# line 9 - Description or name of independent variable (This is the name
# chosen for the start time. It always refers to the number of seconds UTC
Expand Down Expand Up @@ -436,7 +436,7 @@ def __nan_miss_float(self, raw):
v = x.replace(self.VAR[i].miss, "NaN")
if "NaN" in v:
v = "NaN"
vals.append(float(v.strip()))
vals.append(float(v.strip()) * self.VAR[i].scale) # multiply with scaling factor
return vals

def read_data(self):
Expand Down

0 comments on commit 0ecc640

Please sign in to comment.