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

secular: refactor A.4 GNSS time-series plots #41

Merged
merged 2 commits into from
Oct 19, 2022

Conversation

yunjunz
Copy link
Contributor

@yunjunz yunjunz commented Oct 15, 2022

This PR includes the following changes:

For the 3 notebooks under methods/:

  • sort module import based on standard practice
  • update mintpy imports usage to the latest dev version [reverted]

For the methods/secular/ only:

  • remove unused module imports
  • refactor the A.4 section:
    • simplify InSAR/GNSS reading by leveraging mintpy func
    • remove the un-meaningful velocity plot, which is extensively shown in the sections above
    • auto grab insar time-series filename based on template config.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@EJFielding
Copy link
Collaborator

@yunjunz When did you change MintPy to have the mintpy.cli module? I tried to run this on the nisar-calval version of OpenSARLab and it did not find that module.
The system there was updated last month to MintPy version 1.4.1, date 2022-08-15, which I think comes from conda-forge.

@yunjunz
Copy link
Contributor Author

yunjunz commented Oct 18, 2022

It was committed about a month ago (insarlab/MintPy#828), after the last release of 1.4.1.

I plan to release version 1.5.0 in ~1 month to include this feature. I have completely migrated to the version with mintpy.cli sub-module, and it has been great.

@EJFielding
Copy link
Collaborator

EJFielding commented Oct 18, 2022

Can we add some code to work with the 1.4.1 release that is installed on the OpenSARLab servers? The Solid Earth ATBD review kickoff is scheduled for Nov. 1.

@yunjunz
Copy link
Contributor Author

yunjunz commented Oct 18, 2022

Considering that the ATBD development is mostly done, we should not need the development version of mintpy anymore. Thus, one simple way is to use the conda-installed version of mintpy, with a fixed version number, similar to what we have done for gdal. If so, I will revert some of the changes in this PR, to work with mintpy-1.4.1 only. What do you think?

@EJFielding
Copy link
Collaborator

Yes, I think it would be better to stick with the released version for the review. Does that mean that we also need to change the installation instructions?

@yunjunz
Copy link
Contributor Author

yunjunz commented Oct 18, 2022

Yes, a little bit. I will try to update the PR for this later tonight.

+ refactor the A.4 section:
   - simplify InSAR/GNSS reading by leveraging mintpy func
   - remove the un-meaningful velocity plot, which is extensively shown in the sections above
   - auto grab insar time-series filename based on template config.
+ remove unused module imports
+ sort module import based on standard practice for coseismic/secular/transient notebooks
@EJFielding EJFielding merged commit d525cba into nisar-solid:main Oct 19, 2022
@yunjunz yunjunz deleted the secular branch October 19, 2022 15:29
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.

2 participants