brendanjmeade / celeri

Next generation earthquake cycle kinematics
BSD 3-Clause "New" or "Revised" License
24 stars 7 forks source link

Make forward models independent of station dataframe? #28

Closed brendanjmeade closed 3 years ago

brendanjmeade commented 3 years ago

Currently, most forward model functions assume that the station data frame is passed to them and do indexing into the data frame that assume a station is on a specific dataframe. This could be problematic for the evaluation of points that are not in the station data frame (although we could just build another) or forward evaluations that don't depend on block (e.g., global rotation). Not sure and I need to think about this more.

brendanjmeade commented 3 years ago

Block rotation is fixed. Okada and Mogi already work this way. Still need to do strain rate.

brendanjmeade commented 3 years ago

Completed with: https://github.com/brendanjmeade/celeri/commit/f7bc9d298456fcfb5c314009094b18b60e4b5ab3

This change will make it much easier to add SAR data in the future and do forward model evaluations for points that were not specified as a part of the inverse problem.