yumorishita / LiCSBAS2

GNU General Public License v3.0
26 stars 4 forks source link

Change default plotting point in LiCSBAS_plot_ts.py #34

Closed yumorishita closed 2 months ago

yumorishita commented 1 year ago

Currently, the reference point is first selected and the displacement is all zero, but some users don't understand why the displacement is zero. Maybe good to set the point that has max velocity.

ditafaith commented 11 months ago

Hi Morishita, Is it possible to get such as summary of what was fixed or improved in version 2 ? It helps us prior to changing to the latest one, I guess.

yumorishita commented 11 months ago

Please see Releases or closed pull requests.

ditafaith commented 11 months ago

Please see Releases or closed pull requests.

It looks like some improvements have been made, that's great. Anyway, I ran version 2 LiCSBAS_cum2vel.py and got the result .vel.mskd. I compared to version, there is .vel, is it correct ? Also, in which directory is the topography error stored ?

yumorishita commented 11 months ago

Anyway, I ran version 2 LiCSBAS_cum2vel.py and got the result .vel.mskd. I compared to version, there is .vel, is it correct ?

Yes, because I changed the default option from no mask to mask. You can still get the no mask result with --nomask option.

Also, in which directory is the topography error stored ?

results/demerr is it.

ditafaith commented 11 months ago

Tested and got the results. Do you have references on how to extract *.tif value from e-w results and possible to plot as vector (arrow) ?

yumorishita commented 11 months ago

You can create the text file from GeoTIFF using gdal2xyz.py. I would use QGIS to plot the vector (arrow).

ditafaith commented 11 months ago

Noted it, to use gdal function. Did you try plot e-w as vector arrow previously ? I didn't find in your paper noth 2020 and 2021.

yumorishita commented 11 months ago

No. Only one component (i.e., e-w) is not suitable for the arrow plot. I generally use arrows for two components (i.e., NS and EW, like this).

ditafaith commented 11 months ago

No. Only one component (i.e., e-w) is not suitable for the arrow plot. I generally use arrows for two components (i.e., NS and EW, like this).

Yes, indeed, it should taken from both horizontal and vertical. Interesting. How you create the grid results as shown in the figure?

yumorishita commented 11 months ago

What do you mean by the grid results? Please read the paper for the details.