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

Viz EC2 Setup Access and Raster Processing Fixes #455

Merged
merged 6 commits into from
May 24, 2023

Conversation

CoreyKrewson-NOAA
Copy link
Contributor

There were a few additional issues going on with the pipelines.

1 - The Viz EC2 setup script was failing when running some python scripts. This was due to the fact that those scripts were hitting the fileshare and the user running them in the user data did not have access to that machine. I updated the powershell script to run those python scripts using the same user as the pipeline instead. I also moved the delete publish flag out of this powershell script and into the update_data_stores_and_sd_files.py script instead so that flags are deleted after the SD files are successfully created

2- I updated the raster processing and unstaging to occur at different stages. Now the unstaging of the rasters happens at the end with the unstaging of the DB tables so it all happens together. Fixed additional raster bugs in the pipeline as well. Updated step function to have parallel unstaging of rasters and db tables.

3 - Fixed merge issues with peak flow arrival time sql files not referencing new names for high water arrival times

4- Updated check_required_tables_updated to work with checking external table existence as well

5- Fixed bad fim_config for srf coastal inundation

these python scripts were failing due to access issues to the fileshare
unstaging tables happens concurrently with unstaging rasters
unstaging rasters is a map that iterates through workspaces
This makes more sense to delete the publish flag after we confirm that the new SD file is created
@CoreyKrewson-NOAA CoreyKrewson-NOAA merged commit fd640ae into ti May 24, 2023
@CoreyKrewson-NOAA CoreyKrewson-NOAA deleted the viz_ec2_setup_access_fix branch May 24, 2023 17:43
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.

2 participants