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

Remove b perp from tssetup #435

Merged
merged 12 commits into from
Aug 13, 2024
Merged

Remove b perp from tssetup #435

merged 12 commits into from
Aug 13, 2024

Conversation

alexfore
Copy link
Collaborator

@alexfore alexfore commented Aug 1, 2024

Here we remove the extraction by default of bPerpendicular instead extracting the average over frames into a JSON file. If the user explicitly requests bPerpendicular we will extract it.

For a case with 54 GUNWs, I found a runtime of 29:06.43 with the full bPerp layer extraction and 8:37.83 with just the mean JSON extraction. The JSON extraction of bPerp is done in parallel as well with dask.delayed and threads.

@pep8speaks
Copy link

pep8speaks commented Aug 1, 2024

Hello @alexfore! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2024-08-01 20:28:15 UTC

@alexfore alexfore requested review from sssangha and mgovorcin August 1, 2024 20:29
@alexfore alexfore marked this pull request as ready for review August 1, 2024 20:29
Copy link
Collaborator

@sssangha sssangha left a comment

Choose a reason for hiding this comment

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

Tested it out and MintPy handles the inputs as expected. Changes LGTM!

@sssangha sssangha merged commit cfc0f53 into dev Aug 13, 2024
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.

4 participants