NOAA-OWP / t-route

Tree based hydrologic and hydraulic routing
Other
44 stars 50 forks source link

if the folder doesn't exist #835

Closed AminTorabi-NOAA closed 2 months ago

AminTorabi-NOAA commented 2 months ago

In the current implementation, if the user specifies a directory for stream_output_directory (e.g., output/) that doesn't exist, it results in an error. With the new PR, the code automatically creates the specified directory if it doesn't exist, allowing the output to be saved in that folder without any issues.

Additions

-

Removals

-

Changes

-

Testing

1.

Screenshots

Notes

-

Todos

-

Checklist

Testing checklist

Target Environment support

Accessibility

Other

AminTorabi-NOAA commented 2 months ago

I addressed all. Thanks for the comments @aaraney