sosoc / croc

Ocean colour with R
3 stars 1 forks source link

read_compound logic doesn't work on non-RRS files #12

Open mdsumner opened 6 years ago

mdsumner commented 6 years ago

This files on PAR and KD490, because the identifier to find the variables is naff:

parfile <- "~/L3/A2018008.L3b_DAY_PAR.nc"
kdfile <- "~/L3/A2018008.L3b_DAY_KD490.nc"
rrsfile <- "~/L3/A2018008.L3b_DAY_RRS.nc"
file <- rrsfile
info <- rhdf5::h5ls(file)
tab <- table(info$dim)

tab