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

[2pt] Abort program with failed boundary conditions #312

Closed
RobHanna-NOAA opened this issue Mar 8, 2024 · 0 comments · Fixed by #283
Closed

[2pt] Abort program with failed boundary conditions #312

RobHanna-NOAA opened this issue Mar 8, 2024 · 0 comments · Fixed by #283
Assignees
Labels
bug Something isn't working high priority

Comments

@RobHanna-NOAA
Copy link
Collaborator

During full scale testing for 12020006, it threw the following error below. In researching, it was discovered this is a mountainous area that our code can not yet handle. We are creating a separate card for the long term fix, but we have an interim fix and will apply it in this issue.

When we see certain data being incorrect during calculations of boundary conditions, abort the process.

+++++++ Processing: STEP 5 (create fim rasters) +++++++
Module Started: 2024-03-08, 20:08:59 (UTC)

+=================================================================+
|               CREATING CONFLATED HEC-RAS MODELS                 |
+-----------------------------------------------------------------+
  ---(w) HUC-8 WATERSHED: 12020006
  ---(o) OUTPUT PATH: c:\ras2fim_data\output_ras2fim\12020006_32165_ble_240308

|        There Is No RAS Model With WSE Boundary Condition        |
 2024-03-08 20:08:59 <CRITICAL> : Traceback (most recent call last):
  File "./src/ras2fim.py", line 677, in <module>
    init_and_run_ras2fim(**args)
  File "./src/ras2fim.py", line 228, in init_and_run_ras2fim
    fn_run_ras2fim(
  File "./src/ras2fim.py", line 371, in fn_run_ras2fim
    fn_create_fim_rasters(huc8, unit_output_path, model_unit)
  File "C:\Users\rdp-user\Projects\ras2fim-dev\ras2fim\src\create_fim_rasters.py", line 61, in fn_create_fim_rasters
    worker_fim_rasters.create_hecras_files(
  File "C:\Users\rdp-user\Projects\ras2fim-dev\ras2fim\src\worker_fim_rasters.py", line 1176, in create_hecras_files
    create_ras_plan_file(unit_output_folder)
  File "C:\Users\rdp-user\Projects\ras2fim-dev\ras2fim\src\worker_fim_rasters.py", line 871, in create_ras_plan_file
    folder_names_conflated = os.listdir(path_v2ras)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'c:\\ras2fim_data\\output_ras2fim\\12020006_32165_ble_240308\\05_hecras_output'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant