ldeo-glaciology / xapres

package for processing ApRES data using xarray
MIT License
3 stars 2 forks source link

Add function for vertical strain rates and verify with existing scripts #11

Closed glugeorge closed 3 weeks ago

glugeorge commented 1 year ago

Adapt ImpDAR's phase2range function and assign to a class in ApRESDefs. Moving over issue from: https://github.com/ldeo-glaciology/XApRES/issues/5

jkingslake commented 1 year ago

did #14 address this @glugeorge ? Or only partially, in any case, maybe updating this issue with a note about #14 could be useful here.

glugeorge commented 1 year ago

14 addresses this partially. Still need to add and test additions to the base calculations, namely the option to include wrapping.

glugeorge commented 1 year ago

Revisiting this, the next step is to create a notebook that uses some of our winter data (where nothing unusual is happening) to validate our script

jkingslake commented 3 months ago

cc @hoffmaao

jkingslake commented 3 weeks ago

57 adds the capability to compute strain rates.

E.g.

import xapres as xa
LTG = xa.load.load_zarr('/Users/jkingslake/Documents/science/ApRES/TG_apres/notebooks/zarrs/LTG_stacked.zarr').load()
dLTG = LTG.profile_stacked.displacement_timeseries().compute()
dLTG.strain_rate.plot()

produces image

I will close this now and start another issue exclusively about comparing results across different codes