carlos-alberto-silva / rGEDI

rGEDI: An R Package for NASA's Global Ecosystem Dynamics Investigation (GEDI) Data Visualization and Processing.
164 stars 66 forks source link

gedifinder function not clipping to bounding box #15

Closed tomtom776 closed 4 years ago

tomtom776 commented 4 years ago

Hello! When I attempt to use the gedifinder function to find data within a bounding box, it downloads an entire GEDI transect (>10 GB file).

ul_lat<- 34.90592 lr_lat<- 34.48816 ul_lon<- -86.98931 lr_lon<- -86.35072 gLevel1B<-gedifinder(product="GEDI02_A",ul_lat, ul_lon, lr_lat, lr_lon,version="001",daterange=daterange)

Did I type the coordinates in correctly?

caiohamamura commented 4 years ago

This is how GEDI currently works itself, the gedifinder is a service provided by NASA to find the transects that intersects the bounding box, they do provide the clipped data themselves.