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

Spectral temporal metrics are not cached - or the cached results are not used! #24

Open
Florian-Katerndahl opened this issue Aug 21, 2022 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@Florian-Katerndahl
Copy link
Collaborator

Running the workflow with the -resume flag set uses cached results up until the stms_ls-process; every following process (including stms_ls) is re-executed. Why does this happen?

@Florian-Katerndahl Florian-Katerndahl added the help wanted Extra attention is needed label Aug 21, 2022
@Florian-Katerndahl
Copy link
Collaborator Author

Florian-Katerndahl commented Sep 28, 2022

A possible cause is related to the renaming/overwriting of input files. This is something which should be avoided (according to @Lehmann-Fabian). All processses need to be checked for and possibly fixed:

  • spat_lucas
  • mask_layer_stack
  • scale_files
  • explode_base_files
  • stms_ls
  • stack
  • create_classification_dataset
  • merge_classification_datasets
  • train_rf_classifier
  • predict_classifier
  • build_class_vrt

@Florian-Katerndahl
Copy link
Collaborator Author

The process msak_layer_stack now adds the suffix maskedwhich is removed in scale_files. Thus, no process overwrites its inputs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant