Open shawncrawley opened 3 months ago
The lines referenced above in the lambda function
if not s3_file(os.getenv('S3_BUCKET'), sd_s3_path).check_existence():
print(f"---> {sd_s3_path} does not currently exist. Skipping.")
To add some background to this, the current situation is that when a service has not been previously manually published the viz_publish_service
lambda skips over that service leaving it unpublished.
Instead of skipping, the proposed solution I have been testing in ti is to call a geoprocessing service to republish this service. #630
Insert at this line: https://github.com/NOAA-OWP/hydrovis/blob/ti/Core/LAMBDA/viz_functions/viz_publish_service/lambda_function.py#L69 GP API Docs: https://maps-testing.water.noaa.gov/gp/sdk/rest/index.html#/02ss0000004n000000