Hi FJCC, thank you again for your help here.
As far as which data_frame() function I am using, I am not entirely sure but I am using the following packages
install.packages("BiocManager")
BiocManager::install("rhdf5")
library("rhdf5")
library("maps")
library("bit64")
library("tidyverse")
So I've tried using dput() on the output to share, I'll paste that below (I hope it helps a bit, I don't really know what I'm doing)
As far as losing precision on lat and long, you are correct!! Looks like it preserved the precision.
For the rh metrics (not included in the dput below) I tried wrapping data$rh in list() and it didn't work. I also tried wrapping it in data.frame() but it caused rstudio to abort the process. The rh metrics are columns of their own (see screenshot
)
I've gone ahead and attached one hdf5 file through a link to my google drive, maybe this will help? The data are also freely available from NASA if anyone is wondering.
https://drive.google.com/file/d/1Ltr3bsDsqGtYhZldhSdWNBCa5EIt7-_g/view?usp=sharing
bit_of_data = dput(df_dim[1:5,])
structure(list(file.ID = c("processed_GEDI02_A_2019121080625_O02166_02_T05019_02_003_01_V002.h5",
"processed_GEDI02_A_2019121080625_O02166_02_T05019_02_003_01_V002.h5",
"processed_GEDI02_A_2019121080625_O02166_02_T05019_02_003_01_V002.h5",
"processed_GEDI02_A_2019121080625_O02166_02_T05019_02_003_01_V002.h5",
"processed_GEDI02_A_2019121080625_O02166_02_T05019_02_003_01_V002.h5"
), `data$lat_lowestmode` = structure(c(31.0297468699227, 31.0301184379744,
31.0304915669087, 31.0308620214345, 31.031233550866), .Dim = 5L),
`data$lon_lowestmode` = structure(c(-86.8076009329565, -86.8071849199289,
-86.8067683489037, -86.8063528681196, -86.805937003045), .Dim = 5L),
`data$shot_number[bit64conversion = "bit64"]` = c(NA_integer_,
NA_integer_, NA_integer_, NA_integer_, NA_integer_), `data$degrade_flag` = structure(as.raw(c(0x00,
0x00, 0x00, 0x00, 0x00)), .Dim = 5L), `data$quality_flag` = structure(as.raw(c(0x01,
0x01, 0x01, 0x00, 0x01)), .Dim = 5L), `data$beam` = structure(c(0L,
0L, 0L, 0L, 0L), .Dim = 5L)), row.names = c(NA, -5L), class = c("tbl_df",
"tbl", "data.frame"))