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 the fetcher functionality and documentation on rtd #198

Merged
merged 10 commits into from
May 27, 2024

Conversation

mraspaud
Copy link
Member

@mraspaud mraspaud commented Apr 22, 2024

This PR adds a pytroll-fetcher script and functionality to download files received through messages, and documentations pages for trollmoves to be hosted on readthedocs.

  • Tests added
  • Fully documented

@mraspaud mraspaud self-assigned this Apr 22, 2024
@mraspaud mraspaud requested a review from pnuu as a code owner April 22, 2024 14:51
Copy link

codecov bot commented Apr 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.72%. Comparing base (0a019a8) to head (6a3662b).
Report is 38 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #198      +/-   ##
==========================================
+ Coverage   91.30%   91.72%   +0.42%     
==========================================
  Files          26       28       +2     
  Lines        5437     5666     +229     
==========================================
+ Hits         4964     5197     +233     
+ Misses        473      469       -4     
Flag Coverage Δ
unittests 91.72% <100.00%> (+0.42%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mraspaud mraspaud requested a review from TAlonglong April 23, 2024 08:35
@mraspaud mraspaud changed the title Add the fetcher functionality Add the fetcher functionality and documentation on rtd Apr 23, 2024
@adybbroe adybbroe self-requested a review May 3, 2024 08:32
docs/source/fetcher.rst Outdated Show resolved Hide resolved
Copy link
Contributor

@adybbroe adybbroe left a comment

Choose a reason for hiding this comment

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

Looks really nice to me! Thanks. Only one tiny correction.
But would be good to have some more eyes on it. @TAlonglong or @pnuu ?

Copy link
Collaborator

@TAlonglong TAlonglong left a comment

Choose a reason for hiding this comment

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

I had a quick look

LGTM, but I need to run it and test it a bit before I can see if it is doing what it is supposed to. Then eventually we can iterate on it.

docs/source/fetcher.rst Show resolved Hide resolved
port: 1979
subscriber_config:
addresses:
- ipc://some_pipe
Copy link
Member

Choose a reason for hiding this comment

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

Is this "inter-process communication" protocol? I didn't know Posttroll supported other than tcp://.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, tcp is hardcoded here and there in posttroll, but when passing addresses directly anything zeromq supports should work

Copy link
Member

@pnuu pnuu left a comment

Choose a reason for hiding this comment

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

LGTM

@pnuu pnuu merged commit de88deb into pytroll:main May 27, 2024
7 checks passed
@mraspaud mraspaud deleted the add-fetcher branch May 27, 2024 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants