Skip to content

Commit

Permalink
fix 64 bit read error (#682)
Browse files Browse the repository at this point in the history
  • Loading branch information
adokter committed Nov 1, 2024
1 parent 4a34476 commit f50428e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/read_pvolfile.R
Original file line number Diff line number Diff line change
Expand Up @@ -315,13 +315,13 @@ read_pvolfile_scan <- function(file, scan, param, radar, datetime, geo, attribut
# read attributes
attribs.how <- attribs.what <- attribs.where <- NULL
if ("how" %in% h5struct) {
attribs.how <- rhdf5::h5readAttributes(file, paste(scan, "/how", sep = ""))
attribs.how <- rhdf5::h5readAttributes(file, paste(scan, "/how", sep = ""), bit64conversion='double')
}
if ("what" %in% h5struct) {
attribs.what <- rhdf5::h5readAttributes(file, paste(scan, "/what", sep = ""))
attribs.what <- rhdf5::h5readAttributes(file, paste(scan, "/what", sep = ""), bit64conversion='double')
}
if ("where" %in% h5struct) {
attribs.where <- rhdf5::h5readAttributes(file, paste(scan, "/where", sep = ""))
attribs.where <- rhdf5::h5readAttributes(file, paste(scan, "/where", sep = ""), bit64conversion='double')
}

# add attributes to geo list
Expand Down

0 comments on commit f50428e

Please sign in to comment.