Closed thurinj closed 6 months ago
Thanks for catching that @thurinj, I imagine it's coming from here
https://github.com/adjtomo/pysep/blob/master/pysep/utils/cap_sac.py#L100-L102
Might just need a float conversion before sorting. I'll try to get to that asap
Hopefully I didn't jump the gun by doing the full version release but I think I fixed this in #145, let me know if that looks good on your end!
Looks all good to me, thanks for the lightning-fast fix ⚡!
Hi @bch0w ,
Here's a quick unintended behavior I found using the weights_dist option to write the CAP file from pysep:
It seems that it is using string-based sorting and it messes up with the ordering when moving from 10~ to 100~ and 100~ to 1000~ (distance is the second column, in km).