Skip to content
Snippets Groups Projects
Commit ae307a08 authored by Timo Millenaar's avatar Timo Millenaar
Browse files

Write paths to aggregated h5 file and plot files in output.txt

parent edf24c7a
Branches
No related tags found
1 merge request!12Add aggregate_and_plot.py that for now only prints the contents of input.txt
...@@ -24,4 +24,10 @@ if __name__ == "__main__": ...@@ -24,4 +24,10 @@ if __name__ == "__main__":
h5_output_path = "inspect.h5" h5_output_path = "inspect.h5"
join_inspect_ds(h5_paths, h5_output_path) join_inspect_ds(h5_paths, h5_output_path)
plot_inspect_ds(h5_output_path, "./", min_elevation=15) plot_paths = plot_inspect_ds(h5_output_path, "./", min_elevation=15)
with open("outputs.txt", "w") as file:
file.write(str(Path(h5_output_path).absolute()) + "\n")
for file_path in plot_paths:
path = Path(file_path).absolute()
file.write(str(path) + "\n")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment