GeoscienceAustralia / PyRate

A Python tool for estimating velocity and time-series from Interferometric Synthetic Aperture Radar (InSAR) data.
https://geoscienceaustralia.github.io/PyRate/
Apache License 2.0
201 stars 71 forks source link

Mg/plot #290

Closed mcgarth closed 4 years ago

mcgarth commented 4 years ago

PyRate does not save the zero epoch tscuml_*.tif to disk since it is a zero array and not worth saving. The only way to know the date of the missing zero epoch is to grab it from the geotiff metadata header for linear_rate.tif.

This PR changes the plotting script to grab the time series dates from the linear_rate.tif header. This fixes the zero-epoch issue in the existing script.

Other small changes:

codecov-commenter commented 4 years ago

Codecov Report

Merging #290 into cko will decrease coverage by 0.27%. The diff coverage is 27.77%.

Impacted file tree graph

@@            Coverage Diff             @@
##              cko     #290      +/-   ##
==========================================
- Coverage   84.77%   84.50%   -0.28%     
==========================================
  Files          26       26              
  Lines        3396     3413      +17     
  Branches      527      534       +7     
==========================================
+ Hits         2879     2884       +5     
- Misses        417      429      +12     
  Partials      100      100              
Impacted Files Coverage Δ
pyrate/merge.py 15.38% <0.00%> (-1.18%) :arrow_down:
pyrate/core/ifgconstants.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4afc525...0e1655d. Read the comment docs.