Page 1 of 1

How can I get the shot_number

Posted: Wed Sep 18, 2024 10:18 pm America/New_York
by loriesouza
I am trying to plot the waveform with height metrics to distinguish vegetation classes, for this, I need the shot_number from the area of interest. I followed this educational tutorial, however, the author does not show how I can obtain it. I tried the getLayer function, but it doesn't work, and building a bbox with a coordinate that I am sure has a shot also doesn't return the value. Could someone help me?

Tutorial https://github.com/EduinHSERNA/pyGEDI/blob/master/notebook/GEDI2_A.ipynb

Re: How can I get the shot_number

Posted: Thu Sep 19, 2024 9:32 am America/New_York
by rupeshornl
It appears that `pyGEDI` hasn't been updated in some time. An alternative way to obtain a `shot_number` for your area of interest is by using Harmony subsetting to download the subsets. Here's an example that shows this process:
https://github.com/rupesh2/gedil2a_l4a/blob/main/gedi_l2a_harmony.ipynb

If you have any further questions, please don't hesitate to reach out!