Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Felix-Kummer
Copy link
Collaborator

@Felix-Kummer Felix-Kummer commented May 27, 2025

General

This PR includes changes aimed at further aligning this Earth Observation pipeline with nf-core.
The requirements for running the pipeline were eased so that fewer inputs are required and defaults values are chosen in a more sensible way.

Meta maps

Meta maps are introduced, albeit in a somewhat experimental state.
The primary reason for this is to push our local modules closer to actual nf-core/modules.

Parameterization

Most changes give users new ways to configure the pipeline by exposing many tool parameters for local modules.
This also involves integrating parameter file generation for the underlying FORCE tool in the corresponding processes, which was done in a separate process before.

Documentation

All of these changes prompted an extensive rework of all documentation files.

PR checklist

  • This comment contains a description of changes (with reason).
  • Make sure your code lints (nf-core pipelines lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

Now has unique input names
It's required now, moved to another section and its allowed values is updated
was previously not used at all
This would help to discard data early on that is outside of the area of interest
The change to the snapshot is necessary because in preprocessing for the small test dataset, we now have a tile that is being cropped with the new AOI and then the cloud cover in the remaining image is higher than the allowed threshold. This prompts FORCE to discard the output for that tile.
This is done to enable running the pipeline with minimal parameters, because SMA would require the optional parameter params.endmember to be provided.
Copy link

@charles-plessy charles-plessy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Now I understand what you meant when you said you are not bioinformatician.

I have one minor question on the pipeline's metro map diagram. Why is the Endmember path curved in the opposite direction to the others? It gives me the impression that it is an input, although the black bar says it is an output.

docs/usage.md Outdated
### Datacube

The datacube definition stores information about the projection and reference grid of the generated datacube.
For details see the [FORCE main paper](https://www.mdpi.com/2072-4292/11/9/1124) and the [datacube tutorila](https://force-eo.readthedocs.io/en/latest/howto/datacube.html).

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo tutorila → tutorial

@Felix-Kummer
Copy link
Collaborator Author

@charles-plessy thanks for the review.
Endmember files serve as inputs. The color bar is brown, which may make it somewhat difficult to distinguish from the black bars representing outputs.
I intend to improve the diagram for the next release and opened an issue #27.

@Felix-Kummer Felix-Kummer merged commit 2c4ac19 into nf-core:dev Jun 2, 2025
5 checks passed
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.

2 participants