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

Bnb/dev #95

Merged
merged 14 commits into from
Oct 4, 2022
Merged

Bnb/dev #95

merged 14 commits into from
Oct 4, 2022

Conversation

bnb32
Copy link
Collaborator

@bnb32 bnb32 commented Sep 30, 2022

Added stats cli and got process pool for passes on single nodes working.

sup3r/pipeline/forward_pass.py Show resolved Hide resolved
sup3r/pipeline/forward_pass.py Show resolved Hide resolved
sup3r/pipeline/forward_pass.py Show resolved Hide resolved

Parameters
----------
feature : str
Dataset name to collect.
masked_meta : pd.DataFrame
Copy link
Member

Choose a reason for hiding this comment

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

This method docstring is confusing. What is the difference between masked_meta and masked_target_meta? Is the file paths a subset (chunk) of the full list of file paths? Is target_final_meta_file really a file path? (also target_final_meta_file is misnamed).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Masked meta is for the file list chunk and masked target meta is for the entire file list. Good catch on the misnaming, here it's not a file.

sup3r/postprocessing/collection.py Outdated Show resolved Hide resolved
sup3r/postprocessing/collection.py Outdated Show resolved Hide resolved
sup3r/postprocessing/collection.py Outdated Show resolved Hide resolved
extract_workers=None, compute_workers=None, load_workers=None,
norm_workers=None, ti_workers=None):
norm_workers=None, ti_workers=None, handle_features=None):
Copy link
Member

Choose a reason for hiding this comment

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

docstring for handle_features? why provide separately?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This was to enable precomputing for the forward pass pipeline. When I was getting threads working these repeated calls to xarray caused issues.

@bnb32 bnb32 merged commit 463a2f4 into main Oct 4, 2022
@bnb32 bnb32 deleted the bnb/dev branch October 4, 2022 13:00
github-actions bot pushed a commit that referenced this pull request Oct 4, 2022
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.

None yet

2 participants