From c9ca4ef9c2721b1779b2a21dc3c744eef0a7abde Mon Sep 17 00:00:00 2001 From: Seongsu Jeong Date: Fri, 13 Oct 2023 14:11:46 -0700 Subject: [PATCH] Additional fix for 3rd final point release (#215) * 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 --------- Co-authored-by: Seongsu Jeong Co-authored-by: Liang Yu --- docker/Dockerfile | 4 ++-- src/compass/utils/h5_helpers.py | 2 +- src/compass/utils/helpers.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 0674d662..ba1fe596 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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 diff --git a/src/compass/utils/h5_helpers.py b/src/compass/utils/h5_helpers.py index 887aa122..92833f4e 100644 --- a/src/compass/utils/h5_helpers.py +++ b/src/compass/utils/h5_helpers.py @@ -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), diff --git a/src/compass/utils/helpers.py b/src/compass/utils/helpers.py index cffd233a..f7e49f8a 100644 --- a/src/compass/utils/helpers.py +++ b/src/compass/utils/helpers.py @@ -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`