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

Add option to save also the individual model results #55

Merged
merged 3 commits into from
Nov 4, 2024
Merged

Conversation

iona5
Copy link
Collaborator

@iona5 iona5 commented Nov 4, 2024

Currently we just save the ensemble result.

For debug purposes and to enhance reproducability, we should have the option to export the results of the submodels (TCVIS, NOTCVIS) as well.

adds the cli parameter write_model_outputs. Model results will then be saved as additional variables in the result xarray dataset.

the export functions detect the presence of the model variables and will automatically (for now) write those out as well.

The export the becomes

  • pred_probabilities.tif
  • pred_probabilities-tcvis.tif
  • pred_probabilities-notcvis.tif
  • pred_binarized.tif
  • pred_binarized-tcvis.tif
  • pred_binarized-notcvis.tif
  • pred_segments-notcvis.parquet
  • pred_segments-tcvis.parquet
  • pred_segments.parquet
  • pred_segments.gpkg

with the gpkg containing a layer for each output, in this case three.

@iona5 iona5 merged commit d86e048 into main Nov 4, 2024
1 check passed
@iona5 iona5 deleted the export_submodels branch November 4, 2024 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant