This notebook validates the organized Lake Maurepas eBFE delivery format. It is
intentionally scoped to the delivery-readiness gate: organize the source archive,
confirm ras-commander can initialize the local HEC-RAS project, review the saved
geometry-preprocessor evidence, and document whether full hydraulic result HDFs
are available.
EBFE_WORKSPACE=Path(os.environ.get("RAS_COMMANDER_EBFE_ROOT",r"H:\Testing\eBFE Model Organization"))DOWNLOAD_ROOT=EBFE_WORKSPACE/"Downloads"ORGANIZED_ROOT=EBFE_WORKSPACE/"Organized"VALIDATION_ROOT=EBFE_WORKSPACE/"Validation"/"ebfe_delivery"organized_folder=ORGANIZED_ROOT/"LakeMaurepas_08070204"ifnotorganized_folder.exists():organized_folder=RasEbfeModels.organize_model("lake-maurepas",download_root=DOWNLOAD_ROOT,output_root=ORGANIZED_ROOT,)ras_model_root=organized_folder/"RAS Model"print(f"Lake Maurepas organized folder: {organized_folder}")print(f"RAS Model root exists: {ras_model_root.exists()}")print(f"Validation root: {VALIDATION_ROOT}")
Text Only
Lake Maurepas organized folder: H:\Testing\eBFE Model Organization\Organized\LakeMaurepas_08070204
RAS Model root exists: True
Validation root: H:\Testing\eBFE Model Organization\Validation\ebfe_delivery
Preprocessor report: H:\Testing\eBFE Model Organization\Validation\ebfe_delivery\preprocessor_validation\lake_maurepas\geometry_preprocessor_validation_20260426_134751.json
organized_plan_hdfs=sorted(project_folder.glob("*.p??.hdf"))hdf_summary=pd.DataFrame(classify_plan_hdf(path)forpathinorganized_plan_hdfs)print(f"{existing_path_count(ras.plan_df['HDF_Results_Path'])} of {len(ras.plan_df)} plan dataframe HDF paths exist locally")hdf_summary
RUN_GEOMETRY_PREPROCESSOR=Falserepo_root=Path.cwd().parentifPath.cwd().name=="examples"elsePath.cwd()batch_script=repo_root/"scripts"/"ebfe_geometry_preprocessor_batch.py"cmd=[sys.executable,str(batch_script),"--study","lake-maurepas","--plan","02","--max-wait","7200","--output-dir",str(VALIDATION_ROOT/"preprocessor_validation"/"lake_maurepas"),]display_cmd=["python",str(batch_script.relative_to(repo_root)),*cmd[2:],]ifRUN_GEOMETRY_PREPROCESSOR:importsubprocesssubprocess.run(cmd,check=True)else:print("Geometry preprocessor is opt-in for the committed notebook.")print(" ".join(f'"{part}"'if" "inpartelsepartforpartindisplay_cmd))
Text Only
Geometry preprocessor is opt-in for the committed notebook.
python scripts\ebfe_geometry_preprocessor_batch.py --study lake-maurepas --plan 02 --max-wait 7200 --output-dir "H:\Testing\eBFE Model Organization\Validation\ebfe_delivery\preprocessor_validation\lake_maurepas"
Lake Maurepas is organized and geometry-preprocessor-valid. The organized
project has local terrain, land cover, projection, and RASMapper references, and
the saved ras-commander preprocessor run completed cleanly for plan 02.
It should not yet be advertised as a full results-ready example: the source ZIP
does not include RAS plan-result HDFs, and the local Lake_Maurepas.p02.hdf
created by preprocessing contains compute messages only. To promote this model
to results-ready status, run the hydraulic plans or obtain/source validated
result HDFs and update VALIDATION_MATRIX.md.
RAS Commander is a free and open-source project maintained by
CLB Engineering Corporation.
For agencies and firms seeking to modernize H&H workflows with LLM Forward approaches,
contact CLB
to partner with the engineers who wrote the automation.