Skip to content

Calculate geocoding posting #52

@falkamelung

Description

@falkamelung

Although the geocoding posting will be handled by create_template.py plot_data.py should recognize when new posting is needed. We may want to have more looks for ascending then descending . We always should let MintPy decide the optimum posting and have a function LAT-STEP,LON-STEP=get_geocoding_posting to determine the common posting. It then will run geocode.py S1.he5 --lalo-step LAT-STEP LON-STEP. Lets make this example work:

horzvert_timeseries.bash qChilesSenD142/qmintpy qChilesSenA120/qmintpy --ref-lalo 0.649 -77.878 --intervals 4

Total: 70 pairs
HDF5EOS file used: /data/HDF5EOS/qChilesSenA120/qmintpy/S1_asc_120_mintpy_20141013_XXXXXXXX_N0099W07827_N0099W07767_N0051W07767_N0051W07827_12_48_08.he5
open HDFEOS file: S1_asc_120_mintpy_20141013_XXXXXXXX_N0099W07827_N0099W07767_N0051W07767_N0051W07827_12_48_08.he5
reading displacement data from file: /data/HDF5EOS/qChilesSenA120/qmintpy/S1_asc_120_mintpy_20141013_XXXXXXXX_N0099W07827_N0099W07767_N0051W07767_N0051W07827_12_48_08.he5 ...
reading bperp data from file: /data/HDF5EOS/qChilesSenA120/qmintpy/S1_asc_120_mintpy_20141013_XXXXXXXX_N0099W07827_N0099W07767_N0051W07767_N0051W07827_12_48_08.he5 ...
HDF5EOS file used: /data/HDF5EOS/qChilesSenD142/qmintpy/S1_desc_142_mintpy_20221021_XXXXXXXX_N0098W07826_N0098W07769_N0051W07769_N0051W07826.he5
open HDFEOS file: S1_desc_142_mintpy_20221021_XXXXXXXX_N0098W07826_N0098W07769_N0051W07769_N0051W07826.he5
reading displacement data from file: /data/HDF5EOS/qChilesSenD142/qmintpy/S1_desc_142_mintpy_20221021_XXXXXXXX_N0098W07826_N0098W07769_N0051W07769_N0051W07826.he5 ...
reading bperp data from file: /data/HDF5EOS/qChilesSenD142/qmintpy/S1_desc_142_mintpy_20221021_XXXXXXXX_N0098W07826_N0098W07769_N0051W07769_N0051W07826.he5 ...
--------------------------------------------------
Traceback (most recent call last):
  File "/home/exouser/code/minsar/tools/PlotData/src/plotdata/cli/horzvert_timeseries.py", line 1279, in <module>
    main()
  File "/home/exouser/code/minsar/tools/PlotData/src/plotdata/cli/horzvert_timeseries.py", line 1132, in main
    raise ValueError('Files have different steps size for Geocoding')
ValueError: Files have different steps size for Geocoding
info.py /data/HDF5EOS/qChilesSenD142/qmintpy/S1_desc_142_mintpy_20221021_XXXXXXXX_N0098W07826_N0098W07769_N0051W07769_N0051W07826.he5 | grep STEP
  X_STEP                                      0.0008
  Y_STEP                                      -0.0008
info.py /data/HDF5EOS/qChilesSenA120/qmintpy/S1_asc_120_mintpy_20141013_XXXXXXXX_N0099W07827_N0099W07767_N0051W07767_N0051W07827_12_48_08.he5 | grep STEP
  X_STEP                                      0.0015413879318675434
  Y_STEP                                      -0.001630549842263206

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions