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

sort ds_list to ensure velocity as first and residue/intercept as last #860

Merged
merged 2 commits into from
Oct 7, 2022

Conversation

yunjunz
Copy link
Member

@yunjunz yunjunz commented Oct 7, 2022

Description of proposed changes

  • add utils.readfile.sort_dataset_list4velocity() to ensure velocity are the first dataset, and intercept/residue are the last datasets. This fixes the behavior change introduced in ts2vel: save residue & intercept #835, as reported by Sven in the user forum

  • tests/smallbaselineApp: use *.tar.gz file, in addition to *.tar.xz file, if exists.

  • add mintpy.objects.progress.FileProgressObject class to show a progrerss bar during uncompressing

Reminders

  • Pass Codacy code review (green)
  • Pass Circle CI test (green)
  • Make sure that your code follows our style. Use the other functions/files as a basis.
  • If modifying functionality, describe changes to function behavior and arguments in a comment below the function declaration.
  • If adding new functionality, add a detailed description to the documentation and/or an example.

…compress

+ tests/smallbaselineApp: use *.tar.xz/gz file if exists

+ mintpy/objects/progress: add `FileProgressObject` class to show a progrerss bar during uncompressing
…intercept as last

+ utils.readfile:
   - add sort_dataset_list4velocity() to ensure velocity are the first dataset, and intercept/residue are the last datasets
   - apply the above func in get_dataset/slice_list() for velocity file
   - replace var `k` with `ftype` for code readility
@yunjunz yunjunz merged commit b71a6cf into insarlab:main Oct 7, 2022
@yunjunz yunjunz deleted the sort_vel_ds branch October 7, 2022 21:11
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

1 participant