Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DSWx-HLS SAS Beta Integration #87

Merged
merged 9 commits into from
Apr 25, 2022
Merged

DSWx-HLS SAS Beta Integration #87

merged 9 commits into from
Apr 25, 2022

Conversation

collinss-jpl
Copy link
Collaborator

This PR adds the necessary changes for the current DSWx-HLS PGE code to accommodate the new SAS beta delivery image. Changes include:

  • Updates to the Yamale schema and RunConfigs to match new format expected by SAS
  • Updates to accommodate file renaming of multiple, per-band output tif files
  • Support for parsing and standardizing of SAS log output when combining with PGE log (resolves Parsing support for logged SAS output #78)
  • Improvements to the interfaces to the Docker build/test shell scripts for PGE images
  • DSWx-HLS build script has been updated to use the SAS beta image as the default

@collinss-jpl collinss-jpl requested a review from JimHofman April 20, 2022 21:55
@collinss-jpl collinss-jpl self-assigned this Apr 20, 2022
@@ -187,7 +187,7 @@ def __getattribute__(self, item):
except KeyError as error:
# TODO: create exceptions package with more intuitive exception class names
raise RuntimeError(
f'Expected field "{str(error)}" is missing from RunConfig '
f'Expected field {str(error)} is missing from RunConfig '
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opinion: Having the keyword error in quotes highlights the error. Sometimes messages and blend into the text and take a second look to read clearly.

@@ -338,15 +333,19 @@ def get_input_filenames(self):

input_files = []

def __is_input_file(filename):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason to use '__' rather than '_' to identify the method as internal? Just wondering for future use?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JimHofman
Copy link
Collaborator

Minimal comments. Looks good. Nice job Scott.

@collinss-jpl collinss-jpl merged commit cbb9445 into main Apr 25, 2022
@collinss-jpl collinss-jpl deleted the beta_prep branch June 21, 2022 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Parsing support for logged SAS output
2 participants