Replies: 1 comment 1 reply
-
Hi @rzinke, resampling the geocoded data/matrix (a special case of resampling) is easy to do using the MintPy/src/mintpy/plate_motion.py Lines 102 to 108 in 40c0d90 The If you want to crop/expand the map extent, I would suggest to resize first to the desired pixel size, then run |
Beta Was this translation helpful? Give feedback.
-
I need to resample time-series data that are already geocoded. That is, I need to crop/expand map bounds and change the pixel size. Setting the geographic bounds from earlier in the workflow (e.g., during ISCE or ARIA-tools processing steps) is not an option -- I need to work directly with the HDF5 MintPy outputs. From what I can tell,
subset.py
is not capable of changing the pixel size. I see thatgeocode.py
calls on themintpy.objects.resample
class. Although this class is not ready to resample geocoded data, there are placeholders for potential future functionality.If I were to build out the geocoded-to-geocoded resampling methods for the
resample
class, could I get some guidance and feedback during the process? For example, my initial questions are:scipy.interpolate
RGI, how is the best way to define a new grid (e.g., usingnp.arange
,np.linspace
, etc)?Please let me know if this is something that MintPy is interested in. If so, I would appreciate any help I can get based on community knowledge and lessons learned to help bring me up to speed, as time and funding are limited as always.
Thank you for any thoughts.
Beta Was this translation helpful? Give feedback.
All reactions