Skip to content

Standalone Ripple FIM Services#1136

Merged
nickchadwick-noaa merged 29 commits intotifrom
ripple-fim
May 8, 2025
Merged

Standalone Ripple FIM Services#1136
nickchadwick-noaa merged 29 commits intotifrom
ripple-fim

Conversation

@shawncrawley
Copy link
Copy Markdown
Collaborator

This PR implements the following standalone Ripple FIM services:

  • ana_inundation_extent_rasfim_noaa
  • mrf_nbm_5day_max_inundation_extent_rasfim_noaa
  • rfc_based_5day_max_inundation_extent_rasfim_noaa

This introduces the following new AWS Resources:

  • hv-vpp-*-viz-ripple-fim-processing lambda function
  • hv-vpp-*-viz-ripple-fim-data-prep lambda function
  • hv-vpp-*-ripple-fim-processing step function

This modifies the hv-vpp-*-viz-pipeline step function by now referencing the hv-vpp-*-ripple-fim-processing step function within the fim processing section. There's a new data path that will execute this step function if $.fim_config.fim_type contains "ripple".

Comment thread Core/LAMBDA/viz_functions/ripple_fim_processing/deploy/code/lambda_function.py Outdated
Comment thread Core/LAMBDA/viz_functions/ripple_fim_processing/deploy/code/lambda_function.py Outdated
@shawncrawley
Copy link
Copy Markdown
Collaborator Author

@LorneLeonard-NOAA I made some tweaks to Core\LAMBDA\viz_functions\ripple_fim_processing\deploy\code\lambda_function.py based on comments/feedback by Nick and Ryan. Namely, I turned the various debugging/tracking variables into environment variables that are not actually set via terraform, but are accessed via code with defaults that yield appropriate behavior in ti, uat, and prod. These environment variables can be added manually to your own version of the Lambda.

View the names and expected values/defaults of these environment variables in the code here:

ENV_UPLOAD_TRACKING = os.getenv('UPLOAD_TRACKING', 'false').lower() == "true"
ENV_CONSOLE_DEBUGGING = os.getenv('CONSOLE_DEBUGGING', 'false').lower() == "true"
ENV_CONSOLE_DEBUGGING_FOR_EVERY_TIF = os.getenv('CONSOLE_DEBUGGING_FOR_EVERY_TIF', 'false').lower() == "true"
ENV_DB_TRACKING_SCHEMA = os.getenv("DB_TRACKING_SCHEMA", "dev")
ENV_DB_TRACKING_TABLE_NAME = os.getenv("DB_TRACKING_TABLE_NAME", "ripple_model_tracker")

@nickchadwick-noaa nickchadwick-noaa merged commit 9d1abe7 into ti May 8, 2025
1 check passed
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.

4 participants