Closed Markfoy closed 3 years ago
If you want to use the HDF5 it is in the slot h5
as you already figured out. To retrieve the data refer to hdf5r
package way of accessing data [[ <NAME_OF_DATASET> ]]
, this will return a dataset
object, if you want the data itself use another []
(refer to https://cran.r-project.org/package=hdf5r for details):
wf_amazon@h5[["LON0"]][]
wf_amazon@h5[["LAT0"]][]
wf_amazon@h5[["RXWAVEFRAC"]][,]
Note there are different forms of simulation so you can you RXWAVEFRAC, RXWAVECOUNT or RXWAVEINT to retrieve the waveform data, refer to https://bitbucket.org/StevenHancock/gedisimulator for details.
Hi, Thx for the handy tool. But I have some questions.
Now, i can simulate some waveform from las dataset and the class of the data in R is "gedi.level1bSim". in rGEDI, i can use
to plot the simulating waveform.
But, how do i extract the REALLY NEED PART of the simulating waveform dataset. that is , in the former code part, remove the
ylim=c(90,140)
, just need the waveform part.While, now i need to extract the x and y of the class "gedi.level1bSim", but the showing code is unuseful
could u tell the correct method or open an API ? Many thx!
BEST REGARDS, Markfoy.