Skip to content

Commit

Permalink
Additional fix for 3rd final point release (#215)
Browse files Browse the repository at this point in the history
* restore previous code to add azimuth FM rate; version bump

* code cleanp

* docker update; az fm rate flag fix; typo fix on the comment

* Update src/compass/utils/helpers.py

Co-authored-by: Liang Yu <[email protected]>

---------

Co-authored-by: Seongsu Jeong <[email protected]>
Co-authored-by: Liang Yu <[email protected]>
  • Loading branch information
3 people authored Oct 13, 2023
1 parent f879b2a commit c9ca4ef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM oraclelinux:8.8

LABEL author="OPERA ADT" \
description="s1 cslc 0.5.3 point release" \
version="0.5.3-point"
description="s1 cslc 0.5.4 point release" \
version="0.5.4-point"

# Update the base linux image to date
# Create cache and config directory to be used for the dependencies
Expand Down
2 changes: 1 addition & 1 deletion src/compass/utils/h5_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ def metadata_to_h5group(parent_group, burst, cfg, save_noise_and_cal=True,
bool(cfg.lut_params.enabled),
"If True, bistatic delay timing correction has been applied"),
Meta('azimuth_fm_rate_applied',
False, # NOTE: Azimuth FM rate was turned off for OPERA production
bool(cfg.lut_params.enabled),
"If True, azimuth FM-rate mismatch timing correction has been applied"),
Meta('geometry_doppler_applied',
bool(cfg.lut_params.enabled),
Expand Down
2 changes: 1 addition & 1 deletion src/compass/utils/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def open_raster(filename, band=1):
try:
# The pythonic execption handling for GDAL can be turned on / off
# The flag of which can be identified by `gdal.GetUseExceptions()`
# In pythonic exception halding, `gdal.Open()` will raise `RuntimeError`
# In pythonic exception handling, `gdal.Open()` will raise `RuntimeError`
# In traditional GDAL, the function does not raise exception buy will return `None`,
# and the attempts to call GDAL methods will raise `AttributeError`

Expand Down

0 comments on commit c9ca4ef

Please sign in to comment.