JMNocquet / pyeq36

Static and full time-dependent inversion of slip at faults from geodetic data
4 stars 0 forks source link

Strange bug when one day is missing for all observations #7

Open JMNocquet opened 3 years ago

JMNocquet commented 3 years ago

One missing day missing at all input sites causes a wrong index in displacement/cumulative

On one hand, there is no observed cumulated displacement for that specific day so the number jumps to the next one. The same occurs for model displacement, but slip is modelled for that day.

This half-bug causes pyeq_plot_kinematics_shp.py to crash because displacements and model numbering are not consistent anymore.