Skip to content

Commit 391ed01

Browse files
gshiromaGitHub Enterprise
authored andcommitted
fix SLC writer referenceTerrainHeight shape (#754)
1 parent b9be3e5 commit 391ed01

File tree

1 file changed

+1
-1
lines changed
  • python/packages/pybind_nisar/products/writers

1 file changed

+1
-1
lines changed

python/packages/pybind_nisar/products/writers/SLC.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def set_parameters(self, dop: LUT2d, epoch: DateTime, frequency='A'):
6060
data=v)
6161
if "referenceTerrainHeight" not in g:
6262
ref_terrain_height = np.zeros((v.shape[0]))
63-
g.require_dataset("referenceTerrainHeight", (v.shape[0]),
63+
g.require_dataset("referenceTerrainHeight", (v.shape[0],),
6464
np.float32, data=ref_terrain_height)
6565

6666
# TODO populate processingInformation/algorithms

0 commit comments

Comments
 (0)