Skip to content

get_chirps using a SpatRaster? #43

@adamhsparks

Description

@adamhsparks

I'm working on writing tests to improve the test coverage for the package (and hopefully stop the automated e-mails that the tests failed).

Right now I'm working on get_chirps() for the SpatRaster method but I'm getting an error.

 r <- rast(system.file("ex/elev.tif", package = "terra"))
 x_raster <- get_chirps(r, dates, server = "CHC", as.raster = TRUE)

Results in an error.

Error in `[.data.frame`(lonlat, , 2) : undefined columns selected

Am I just using the function incorrectly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions