Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
d1c4d7f
disable polarimetric symmetrization by default
gshiroma Jul 3, 2025
0ef09a8
Merge branch 'isce-framework:develop' into develop
gshiroma Jul 9, 2025
2ac2694
revert changes to `symmetrize_cross_pol_channels`
gshiroma Jul 22, 2025
05d7fda
Update GCOV and GSLC specification XMLs
gshiroma Jul 22, 2025
749058d
Revert changes to the GCOV and GSLC specification XMLs
gshiroma Jul 23, 2025
fc8ac53
Merge branch 'isce-framework:develop' into develop
gshiroma Jul 24, 2025
064d073
Merge branch 'isce-framework:develop' into develop
gshiroma Aug 7, 2025
22464ef
Merge branch 'isce-framework:develop' into develop
gshiroma Aug 7, 2025
a75e7f1
Merge branch 'isce-framework:develop' into develop
gshiroma Aug 11, 2025
ab21d36
Merge branch 'isce-framework:develop' into develop
gshiroma Aug 12, 2025
d61d489
Merge branch 'isce-framework:develop' into develop
gshiroma Aug 18, 2025
0af53dd
Merge branch 'isce-framework:develop' into develop
gshiroma Aug 20, 2025
d454e6a
Merge branch 'isce-framework:develop' into develop
gshiroma Aug 21, 2025
6e7e9d1
Merge branch 'isce-framework:develop' into develop
gshiroma Aug 28, 2025
dd80c38
Merge branch 'isce-framework:develop' into develop
gshiroma Aug 29, 2025
63853b2
Merge branch 'isce-framework:develop' into develop
gshiroma Aug 29, 2025
7c7272f
Merge branch 'isce-framework:develop' into develop
gshiroma Sep 2, 2025
dd18a84
Merge branch 'isce-framework:develop' into develop
gshiroma Sep 17, 2025
d43ca22
Merge branch 'isce-framework:develop' into develop
gshiroma Oct 6, 2025
fa38bc0
Make the radar grid azimuth and range spacing parameters configurable…
gshiroma Oct 6, 2025
bbaf531
Update the STATIC workflow to load the DEM only where needed.
gshiroma Jan 21, 2026
fddc4ea
Merge branch 'isce-framework:develop' into public_improve_static_laye…
gshiroma Jan 21, 2026
8080a74
revert changes related to radar grid parameters
gshiroma Jan 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cxx/isce3/geometry/loadDem.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ isce3::geometry::DEMInterpolator DEMRasterToInterpolator(
* (when the DEM is in geographic coordinates and `proj` is in polar stereo)
* @param[in] minY Minimum Y/northing position
* @param[in] maxY Maximum Y/northing position
* @param[out] dem_interp_block DEM interpolation object
* @param[out] dem_interp DEM interpolation object
* @param[in] proj Projection object (nullptr to use same
* DEM projection)
* @param[in] dem_margin_x_in_pixels DEM X/easting margin in pixels
Expand Down
83 changes: 83 additions & 0 deletions python/extensions/pybind_isce3/geometry/DEMInterpolator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -218,3 +218,86 @@ void addbinding_DEM_raster2interpolator(py::module& m)
)")
;
}


void addbinding_load_dem_from_proj(py::module& m)
{
m.def("load_dem_from_proj",
[](isce3::io::Raster &dem_raster,
const double x0,
const double xf,
const double minY,
const double maxY,
const isce3::core::dataInterpMethod dem_interp_method,
isce3::core::ProjectionBase* proj,
const int dem_margin_x_in_pixels,
const int dem_margin_y_in_pixels,
const int dem_raster_band) {

DEMInterp dem_interp(0, dem_interp_method);

isce3::geometry::loadDemFromProj(dem_raster,
x0,
xf,
minY,
maxY,
&dem_interp,
proj,
dem_margin_x_in_pixels,
dem_margin_y_in_pixels,
dem_raster_band);

return dem_interp;
},
py::arg("dem_raster"),
py::arg("x0"),
py::arg("xf"),
py::arg("min_y"),
py::arg("max_y"),
py::arg("dem_interp_method") = isce3::core::BIQUINTIC_METHOD,
py::arg("proj") = nullptr,
py::arg("dem_margin_x_in_pixels") = 100,
py::arg("dem_margin_y_in_pixels") = 200,
py::arg("dem_raster_band") = 1,
R"(
Load DEM raster into a DEMInterpolator object around a given bounding box
in the same or different coordinate system as the DEM raster

Parameters
----------
dem_raster: isce3.io.Raster
Raster of the DEM
x0: double
If the DEM is in geographic coordinates and the `x0` coordinate is not
from the polar stereo system EPSG 3031 or EPSG 3413, this point represents
the minimum X coordinate value. In this case, the maximum
longitude span that this function can handle is 180 degrees
(when the DEM is in geographic coordinates and `proj` is in polar stereo
xf: double
Easting/longitude of eastern edge of bounding box
If the DEM is in geographic coordinates and the `xf` coordinate is not
from the polar stereo system EPSG 3031 or EPSG 3413, this point represents
the maximum X coordinate value. In this case, the maximum
longitude span that this function can handle is 180 degrees
(when the DEM is in geographic coordinates and `proj` is in polar stereo)
min_y: double
Minimum Y/northing position
max_y: double
Maximum Y/northing position
dem_interp_method: isce3.core.DataInterpMethod
DEM interpolation method
proj:
Projection object (nullptr to use same DEM projection)
dem_margin_x_in_pixels, int
DEM X/easting margin in pixels
dem_margin_y_in_pixels, int
DEM Y/northing margin in pixels
dem_raster_band: int
DEM raster band (starting from 1)

Returns
-------
dem_interp: isce3.geometry.DEMInterpolator
DEM interpolator for given DEM raster and geo grid.
)");
}
1 change: 1 addition & 0 deletions python/extensions/pybind_isce3/geometry/DEMInterpolator.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@

void addbinding(pybind11::class_<isce3::geometry::DEMInterpolator>&);
void addbinding_DEM_raster2interpolator(pybind11::module&);
void addbinding_load_dem_from_proj(pybind11::module&);
1 change: 1 addition & 0 deletions python/extensions/pybind_isce3/geometry/geometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,5 @@ void addsubmodule_geometry(py::module & m)
addbinding_pnt_intersect(geometry);
addbinding_look_inc_from_sr(geometry);
addbinding_DEM_raster2interpolator(geometry);
addbinding_load_dem_from_proj(geometry);
}
Loading