lut
Placeholder for model-based correction LUT
compute_geocoding_correction_luts(burst, dem_path, tec_path, scratch_path=None, weather_model_path=None, rg_step=200, az_step=0.25, geo2rdr_params=None)
Compute slant range and azimuth LUTs corrections to be applied during burst geocoding
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
burst
|
S1-A/B burst object |
required | |
dem_path
|
Path to the DEM required for azimuth FM rate mismatch. |
required | |
tec_path
|
Path to the TEC file for ionosphere correction |
required | |
scratch_path
|
Path to the scratch directory.
If |
None
|
|
weather_model_path
|
Path to troposphere weather model in NetCDF4 format. This is the only format supported by RAiDER. If None, no weather model-based troposphere correction is applied (default: None). |
None
|
|
rg_step
|
LUT spacing along slant range in meters |
200
|
|
az_step
|
LUT spacing along azimuth in seconds |
0.25
|
Returns:
| Name | Type | Description |
|---|---|---|
geometrical_steering_doppler |
isce3.core.LUT2d:
|
LUT2D object of total doppler (geometrical doppler + steering doppler) in seconds as the function of the azimuth time and slant range. This correction needs to be added to the SLC tagged range time to get the corrected range times. |
bistatic_delay |
isce3.core.LUT2d:
|
LUT2D object of bistatic delay correction in seconds as a function of the azimuth time and slant range. This correction needs to be added to the SLC tagged azimuth time to get the corrected azimuth times. |
az_fm_mismatch |
isce3.core.LUT2d:
|
LUT2D object of azimuth FM rate mismatch mitigation, in seconds as the function of the azimuth time and slant range. This correction needs to be added to the SLC tagged azimuth time to get the corrected azimuth times. |
[rg_set, az_set]: list[np.ndarray]
|
List of numpy.ndarray containing SET in slant range and azimuth directions in meters. These corrections need to be added to the slC tagged azimuth and slant range times. |
|
ionosphere |
ndarray
|
numpy.ndarray for ionosphere delay in line-of-sight direction in meters. This correction needs to be added to the SLC tagged range time to get the corrected range times. |
[wet_los_tropo, dry_los_tropo]: list[np.ndarray]
|
List of numpy.ndarray containing the LOS wet and dry troposphere delays computed from the file specified under 'weather_model_path'. These delays need to be added to the slant range correction LUT2D. |
Source code in src/compass/utils/lut.py
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 | |
compute_rdr2geo_rasters(burst, dem_raster, output_path, rg_step, az_step)
Get latitude, longitude, incidence and azimuth angle on multi-looked radar grid
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
burst
|
S1-A/B burst object |
required | |
dem_raster
|
ISCE3 object including DEM raster |
required | |
output_path
|
Path where to save output rasters |
required | |
rg_step
|
Spacing of radar grid along slant range |
required | |
az_step
|
Spacing of the radar grid along azimuth |
required |
Returns:
| Name | Type | Description |
|---|---|---|
x_path |
str
|
Path to longitude raster |
y_path |
str
|
Path to latitude raster |
inc_path |
str
|
Path to incidence angle raster |
head_path |
str
|
Path to heading angle raster |
Source code in src/compass/utils/lut.py
355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 | |
compute_static_troposphere_delay(incidence_angle_arr, hgt_arr)
Compute troposphere delay using static model
Parameters:
inc_path: str Path to incidence angle raster in radar grid in degrees hgt_path: str Path to surface height raster in radar grid in meters
Return:
tropo: np.ndarray Troposphere delay in slant range
Source code in src/compass/utils/lut.py
452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 | |
cumulative_correction_luts(burst, dem_path, tec_path, scratch_path=None, weather_model_path=None, rg_step=200, az_step=0.25, delay_type='dry', geo2rdr_params=None)
Sum correction LUTs and returns cumulative correction LUT in slant range and azimuth directions
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
burst
|
Sentinel-1 A/B burst SLC object |
required | |
dem_path
|
Path to the DEM file |
required | |
tec_path
|
Path to the TEC file in IONEX format |
required | |
scratch_path
|
Path to the scratch directory |
None
|
|
weather_model_path
|
Path to the weather model file in NetCDF4 format. This file has been preprocessed by RAiDER and it is the only file format supported by the package. If None, no troposphere correction is performed. |
None
|
|
rg_step
|
LUT spacing along slant range direction |
200
|
|
az_step
|
LUT spacing along azimuth direction |
0.25
|
|
delay_type
|
Type of troposphere delay. Any between 'dry', or 'wet', or 'wet_dry' for the sum of wet and dry troposphere delays. |
'dry'
|
Returns:
| Name | Type | Description |
|---|---|---|
rg_lut |
LUT2d
|
Sum of slant range correction LUTs in meters as a function of azimuth time and slant range |
az_lut |
LUT2d
|
Sum of azimuth correction LUTs in seconds as a function of azimuth time and slant range |
Source code in src/compass/utils/lut.py
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | |
resample_set(geo_tide, pts_src, pts_dest)
Use scipy RegularGridInterpolator to resample geo_tide from a geographical to a radar grid
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
geo_tide
|
Tide displacement component on geographical grid |
required | |
pts_src
|
Points defining the source rectangular regular grid for resampling |
required | |
pts_dest
|
Points defining the destination grid for resampling |
required |
Returns:
| Name | Type | Description |
|---|---|---|
rdr_tide |
ndarray
|
Tide displacement component resampled on radar grid |
Source code in src/compass/utils/lut.py
425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 | |
solid_earth_tides(burst, lat_radar_grid, lon_radar_grid, hgt_radar_grid, ellipsoid, geo2rdr_params=None)
Compute displacement due to Solid Earth Tides (SET) in slant range and azimuth directions
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
burst
|
S1-A/B burst object |
required | |
lat_radar_grid
|
Latitude array on burst radargrid |
required | |
lon_radar_grid
|
Longitude array on burst radargrid |
required | |
inc_angle
|
Incident angle raster in unit of degrees |
required | |
head_angle
|
Heading angle raster in unit of degrees |
required |
Returns:
| Name | Type | Description |
|---|---|---|
rg_set |
ndarray
|
2D array with SET displacement along LOS |
az_set |
ndarray
|
2D array with SET displacement along azimuth |
Source code in src/compass/utils/lut.py
279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 | |