Skip to content

Small fix to units attributes for new s2dv_cube

In the file: /inst/doc/paper-figure-PlotForecastPDF.R the units for the 's2dv_cube' object were asssigned as previous versions of the object:

# Old, not correct
attributes(hcst$attrs$Variable)$units <- 'mm'

# Now, corrected:
hcst$attrs$Variable$metadata$prlr$units <- 'mm'

Merge request reports

Loading