SlideRuleEarth / sliderule

Server and client framework for on-demand science data processing in the cloud
https://slideruleearth.io
Other
26 stars 11 forks source link

Feature request: GEDI flags should be unpacked #316

Open jpswinski opened 10 months ago

jpswinski commented 10 months ago

From @dshean

Function to unpack the returned flag bits and prepare a tuple of 0/1 or other integer values for each: "flags": flags set for footprint (0x01: degrade, 0x02: l2 quality, 0x04: l4 quality, 0x80: surface) (edited)

dshean commented 10 months ago

Thanks for posting!
Better yet, we could unpack into dictionary with labels {'degrade':0, 'l2_quality':1...} and store in the GeoDataFrame "flags" column.