We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If input to plot_raster() is a GDALRaster object for a raster with a complex data type (e.g., CFloat32):
plot_raster()
GDALRaster
plot_raster(ds) #> Error in min(x, na.rm = TRUE) : invalid 'type' (complex) of argument
Can be worked around by first reading the pixel data and passing a representation of it to plot_raster(), e.g.,
r <- read_ds(ds) r.angle <- Arg(r) # the "gis" attributes may be needed attributes(r.angle) <- attributes(r) plot_raster(r.angle)
Should at least document and return a useful error message from plot_raster(), or add a pixel function argument.
The text was updated successfully, but these errors were encountered:
pixel_fn
Successfully merging a pull request may close this issue.
If input to
plot_raster()
is aGDALRaster
object for a raster with a complex data type (e.g., CFloat32):Can be worked around by first reading the pixel data and passing a representation of it to
plot_raster()
, e.g.,Should at least document and return a useful error message from
plot_raster()
, or add a pixel function argument.The text was updated successfully, but these errors were encountered: