Skip to content

Commit

Permalink
addressing the comments in PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Seongsu Jeong committed Jul 27, 2023
1 parent 6f1f473 commit 3cce87a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/rtc/h5_prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,8 @@ def get_metadata_dict(product_id: str,
dem_file_description = cfg_in.dem_file_description

# Slant range and azimuth resolution of the sensor
slant_range_resolution, azimuth_resolution = get_range_azimuth_resolution(burst_in)
slant_range_resolution, azimuth_resolution = \
get_range_azimuth_resolution(burst_in)

if not dem_file_description:
# If the DEM description is not provided, use DEM source
Expand Down Expand Up @@ -622,7 +623,7 @@ def get_metadata_dict(product_id: str,
ALL_PRODUCTS,
azimuth_resolution,
'Azimuth resolution of the source data in meters'],
'metadata/sourceData/slantRangeResolutuion': # 1.6.7
'metadata/sourceData/slantRangeResolutionInMeters': # 1.6.7
['source_data_slant_range_resolution',
ALL_PRODUCTS,
slant_range_resolution,
Expand Down Expand Up @@ -1318,12 +1319,12 @@ def get_range_azimuth_resolution(burst: Sentinel1BurstSlc):
burst: Sentinel1BurstSlc
Burst object to compute the resolution
returns
Returns
-------
slant_range_resolution: float
Slant range recolution
Slant-range resolution in meters
azimuth_resolution: float
Azimuth resolution
Azimuth resolution in meters
Reference
---------
Expand Down

0 comments on commit 3cce87a

Please sign in to comment.