Skip to content

Commit

Permalink
fix RTC array offset when running GeocodeCov (area proj.) (#1365)
Browse files Browse the repository at this point in the history
  • Loading branch information
gshiroma authored and GitHub Enterprise committed May 26, 2023
1 parent a3d49bf commit 4726579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cxx/isce3/geocode/GeocodeCov.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1788,7 +1788,7 @@ void Geocode<T>::geocodeAreaProj(
if (is_radar_grid_single_block) {
rtc_area.resize(
radar_grid_cropped.length(), radar_grid_cropped.width());
rtc_raster->getBlock(rtc_area.data(), offset_x, offset_y,
rtc_raster->getBlock(rtc_area.data(), 0, 0,
radar_grid_cropped.width(), radar_grid_cropped.length(), 1);
}
}
Expand Down

0 comments on commit 4726579

Please sign in to comment.