geodesymiami / mimtpy

MIami Multi Track tools in Python (or MIami Modelling Tools)
10 stars 6 forks source link

concatenating_chunks.py suggestions #14

Open falkamelung opened 2 years ago

falkamelung commented 2 years ago

Hi @ranneylxr: Here some more suggestions

Minor comments:

**** step - geocode ****

geocode.py /scratch1/05861/tg851601/unittestGalapagosSenDT128/mintpy/inputs/geometryRadar.h5 temporalCoherence.h5 avgSpatialCoh.h5 /scratch1/05861/tg851601/unittestGalapagosSenDT128/mintpy/timeseries_SET_ERA5_demErr.h5 velocity.h5 -l /scratch1/05861/tg851601/u nittestGalapagosSenDT128/mintpy/inputs/geometryRadar.h5 -t



### Typos/spelling errors:
- exsited
- poitn

### Questions:
-It says `6. The concatenated data are masked data based on the mask of each chunk`.  If I have a S1 file with concatenated data I can use a different tempCoherence threshold, right?
ranneylxr commented 2 years ago

Hi @falkamelung, Now all comments are solved besides the followings:

  1. --all or --HDFEOS5 to create all. This also should be the default. Answer: I perfer to set the HDFEOS5 for the --datatype option. Or we could make the HDFEOS5 as default for the --datatype option?
  2. create the HDFEOS5 files using save_hdfeos5.py ? Answer: I tried to generate HDFEOS5 files based on the concatenated velocity, etc files. But there are errorrs message saying that we need a template file... Therefore, I decided to generate HDFEOS5 file in the concatenate_chunks.pyscript.
  3. use grayscale for avgSpatialCoherence.png Answer: The default color used byview.py for the avgSpatialCoherence.py is not gray... Does that matter?
  4. When a concatenated timeseries is created, write the same info in a file (e.g. timeseries_concatenation.txt.) Answer: I am not fully understand it.... Do you mean we need to save the info shown in the screen into a txt file?
  5. -It says 6. The concatenated data are masked data based on the mask of each chunk. If I have a S1 file with concatenated data I can use a different tempCoherence threshold, right? Answer: The temporalCoherence extracted from the S1 file of each chunks is masked by the mask info of the S1 file. So it seems that a threshold smaller than 0.7 has no meaning for the concatenated file?
falkamelung commented 2 years ago

Hi @ranneylxr These are all minor issues:

  1. Spatial coherence is always shown in grey scale. View.py has a different default as it is mainly used for velocity. If adding -colorscale gray -v 0 1 or similar addresses this lets just do it.
  2. Yes. Just keep something in the folder. It is currently not tracked which files were concatenated.

You said somewhere smallbaselineApp.py --plot does not work (I did not try). Can you elaborate why? Some files missing? Would it work if plot.py just checks for the existence of the files? The other alternative is to modify the old plot*.sh script for plotting (I can do that)