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

Dedicated module for pysiral scripts with entry points #46

Open
5 tasks
shendric opened this issue Aug 6, 2020 · 0 comments
Open
5 tasks

Dedicated module for pysiral scripts with entry points #46

shendric opened this issue Aug 6, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request refactoring Refactoring of existing code
Milestone

Comments

@shendric
Copy link
Collaborator

shendric commented Aug 6, 2020

The current processors scripts are located in the /bin subfolder, which is included in a release. This solution is functional, however outdated and cumbersome for profiling and operational use and not testable.

The targeted improvement includes moving the current scripts in /bin to a dedicated module scripts. Executable to access these scripts (L1P, L2, L2P, L3, L4?) should be generated by corresponding entry points in the setup.py.

Actions:

  • Move current code in /bin/*.py to scripts.py
  • Add entry points in setup.py
  • Test argparse capability
  • Move standard command line args from config.py to scripts.py
  • Add unittest capability
@shendric shendric added enhancement New feature or request refactoring Refactoring of existing code labels Aug 6, 2020
@shendric shendric added this to the pysiral v1.0 milestone Aug 6, 2020
@shendric shendric self-assigned this Aug 6, 2020
@shendric shendric added this to To do in Unit tests Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request refactoring Refactoring of existing code
Projects
Status: Todo
Development

No branches or pull requests

1 participant