Closed gjustin40 closed 9 months ago
Good question. By default, mintpy/geocode.py uses this approach to determine the output pixel size, which uses the following criteria:
Therefore, for a full-resolution product in geo-coordiantes, I think the default output grid (without manually setting the mintpy.geocode.laloStep
option) is your best choice. And note that, the output grid in geo-coordinates will not be 5 x 20 m, but should be close to that. Another point is that mintpy uses the nearest resampling only during the geocoding, thus, setting a mintpy.geocode.laloStep
value smaller than the actual pixel size, as in the case of 10 m, will only duplicate some values in nearby pixels.
Alternatively, if you only need to show the data in KML, using the radar-coded velocity file, as in save_kmz.py velocity.h5
would avoid the resampling procedure, thus, no issue of choosing an output pixel size.
The starting point for this question is here. Miaplpy Example
I am trying to Visualize the result of land displacement with tif data, How can i get the resolution that I prefer?
From above link, I found it that the key of resolution of result is
mintpy.geocode.laloStep
I tried several cases with commandsmallbaselineApp.py factory.txt --dir ./miaplpy2/network_single_reference/ --start geocode
by:and visualized
(100m, 50m, 10m)
geo_velocity.h5
withsave_kmz.py
and upload to google earth. the results are:But when I use![image](https://github.com/insarlab/MintPy/assets/25999141/8768d248-aa9e-4241-8501-b8a475c3ee78)
save_gdal.py
function to result of each options, the resolution of tif data are same on QGIS Furthermore, the resolution is different from what I expected.I want to generate the tif data for visualize the resolut of land displacement with the resolution the i expected, How to do that?
Thanks