adokter / bioRad

R package for analysis and visualisation of biological signals in weather radar data
http://adokter.github.io/bioRad
Other
29 stars 16 forks source link

Error when plotting clutter maps #655

Closed iskandari closed 3 months ago

iskandari commented 6 months ago

A clutter map with an OCCULT parameter can be read as a polar volume.

occult= read_pvolfile('KRIW.h5', param='all')
occult
               Polar volume (class pvol)

     # scans:  5 
       radar:  KRIW 
      source:  RAD:KRIW 
nominal time:  2017-04-10 22:37:04 

But throws an error when we try to plot a scan:

my_scan <- occult$scans[[1]]
plot(my_scan)

Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 'as.data.frame': error in evaluating the argument 'x' in selecting a method for function 'flip': missing value where TRUE/FALSE needed

KRIW.h5.zip

iskandari commented 6 months ago

Fixed in https://github.com/adokter/bioRad/pull/656