Skip to content

Commit 5b2d6f6

Browse files
authored
Modify the RSLC processing information to record the L0B granule id (isce-framework#190)
* mm: removed {mpi} as an explicit dependence * nisar.workflows: {focus} now populates the {l0bGranule} dataset with the L0B garnule id * nisar.workflows: fixed a typo * nisar.workflows: it appears that {cfg.input_file_group.input_file_path} is a container of filenames; adjusted the stripping of the name to form the granule id accordingly
1 parent 4f48a8a commit 5b2d6f6

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

.mm/isce3.cxx.tests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# the C++ tests
55
isce3.cxx.tests.stem := cxx/isce3
66
isce3.cxx.tests.prerequisites := isce3.lib
7-
isce3.cxx.tests.extern := isce3.lib gdal hdf5 mpi eigen fftw pyre gtest
7+
isce3.cxx.tests.extern := isce3.lib gdal hdf5 eigen fftw pyre gtest
88

99
#if there is cuda
1010
ifdef cuda.dir

.mm/isce3.ext

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ isce3.ext.stem := isce3
77
isce3.ext.pkg := isce3.pkg
88
isce3.ext.wraps := isce3.lib
99
isce3.ext.capsule :=
10-
isce3.ext.extern := gdal hdf5 mpi eigen fftw pyre pybind11 python
10+
isce3.ext.extern := gdal hdf5 eigen fftw pyre pybind11 python
1111

1212
# if there is cuda
1313
ifdef cuda.dir

.mm/isce3.lib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# the isce3 lib
55
isce3.lib.root := cxx/isce3/
66
isce3.lib.stem := isce3
7-
isce3.lib.extern := gdal hdf5 mpi eigen fftw pyre
7+
isce3.lib.extern := gdal hdf5 eigen fftw pyre
88
# if we have cuda
99
ifdef cuda.dir
1010
# add it to the pile of external dependencies

python/packages/nisar/workflows/focus.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
from typing import Union, Optional, Callable, Iterable, overload
4242
from isce3.io import Raster as RasterIO
4343
from io import StringIO
44+
import pathlib
4445

4546

4647
# TODO some CSV logger
@@ -1396,7 +1397,7 @@ def set_input_file_metadata(cfg: Struct, slc: SLC, runconfig_path: str = ""):
13961397
anc = cfg.dynamic_ancillary_file_group
13971398
value_or_blank = lambda x: x if x is not None else ""
13981399
slc.set_inputs(
1399-
l0bGranules=cfg.input_file_group.input_file_path,
1400+
l0bGranules=[pathlib.PosixPath(f).name for f in cfg.input_file_group.input_file_path],
14001401
orbitFiles=[value_or_blank(anc.orbit)],
14011402
attitudeFiles=[value_or_blank(anc.pointing)],
14021403
auxcalFiles=[value_or_blank(x) for x in (anc.external_calibration,

0 commit comments

Comments
 (0)