This commit is contained in:
Wim Pomp
2022-12-01 14:41:58 +01:00
parent 5afa20b78a
commit 5e068e7374
2 changed files with 3 additions and 3 deletions

View File

@@ -152,7 +152,7 @@ class IssFile:
with TiffFile(file, (self.shape[2], 1, self.shape[3]), iss=self, bar=bar,
pxsize=self.pxsize, comment=ET.tostring(self.metadata)) as tif:
for c, t in product(range(self.shape[2]), range(self.shape[3])):
tif.save((0, c, t), c, 0, t)
tif.save(np.array((0, c, t)), c, 0, t)
def save_carpets_as_tiff(self, file):
if self.shape[4]:
@@ -160,7 +160,7 @@ class IssFile:
with TiffFile(file, (self.shape[2], 1, self.shape[4]), iss=self, bar=bar,
pxsize=self.orbit_pxsize, comment=ET.tostring(self.metadata)) as tif:
for c, t in product(range(self.shape[2]), range(self.shape[4])):
tif.save((1, c, t), c, 0, t)
tif.save(np.array((1, c, t)), c, 0, t)
@staticmethod
def parse_line(line):

View File

@@ -1,7 +1,7 @@
import os
import setuptools
version = '2022.11.0'
version = '2022.12.0'
with open('README.md', 'r') as fh:
long_description = fh.read()