nasa / GEDI-Data-Resources

This repository provides guides, short how-tos, and tutorials to help users access and work with data from the Global Ecosystem Dynamics Investigation (GEDI) mission.
Apache License 2.0
58 stars 25 forks source link

Incorrect extraction of relative height metrics in `GEDI_L2A_V2_Tutorial.ipynb` #23

Open maawoo opened 2 weeks ago

maawoo commented 2 weeks ago

In section "4.2 Plot Relative Height Metrics" of the notebook some relative height metrics are extracted like this:

rh25 = rhShot[24]                           # 25% 
rh50 = rhShot[49]                           # 50%  
rh75 = rhShot[74]                           # 75% 

To my understanding this should be wrong, as the index of each array starts at 0 and "each shot contains 101 values representing rh at 0-100%". Later on in the notebook the metrics are extracted in the correct way.