carlos-alberto-silva/rGEDI

class gedi.level1bSim, the (x,y) in plot is different with data in waveform_simulation las file

Closed this issue · 1 comments

Hello!
after plotting the simulation waveform of las file, with the code

plot(wf_shot2, relative=TRUE, polygon=TRUE, type="l", lwd=2, col="forestgreen",
       xlab="Amplitude (%)", ylab="Elevation (m)")

gediWf_las_1_111111

while in the h5 file of waveform simulation, the data is in

 [1] "BEAMDENSE"     "FSIGMA"        "GRWAVECOUNT"   "GRWAVEFRAC"    "GRWAVEINT"     "IDLENGTH"      "INCIDENTANGLE"
 [8] "LAT0"          "LON0"          "NBINS"         "NPBINS"        "NTYPEWAVES"    "NWAVES"        "POINTDENSE"   
[15] "PSIGMA"        "RXWAVECOUNT"   "RXWAVEFRAC"    "RXWAVEINT"     "SLOPE"         "WAVEID"        "Z0"           
[22] "ZG"            "ZGDEM"         "ZN" 

Snipaste_2021-04-02_14-48-52

could u tell me how to get the points in plot or explain the data in H5 file for me to transform the data into (x,y) form. MANY THX!

BEST,
Markfoy

Each RXWAVE___ are different algorithms for calculating the waveform, read the documentation. By default the plot will use RXWAVEINT. Each one is exactly as the original rxwaveform from real GEDI.