Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Transition from raster to terra #59

Closed
Rafnuss opened this issue Jan 20, 2023 · 0 comments
Closed

Transition from raster to terra #59

Rafnuss opened this issue Jan 20, 2023 · 0 comments

Comments

@Rafnuss
Copy link
Owner

Rafnuss commented Jan 20, 2023

terra is the new package replacing raster: https://github.com/rspatial/terra

terra:rast cannot be saved: rspatial/terra#549, we we will convert it to matrix.
Also, metadata has been removed in terra, so we use a new structure to store the data.

[
    {
        stap = 1,
        start = POSIXct(), 
        end = POSIXct(),
        likelihood = matrix(),
        extent = c(xmin, xmax, ymin, ymax)
    }, 
...
]
@Rafnuss Rafnuss added this to the v3 milestone Jan 26, 2023
Rafnuss added a commit that referenced this issue Feb 3, 2023
@Rafnuss Rafnuss closed this as completed Feb 8, 2023
@Rafnuss Rafnuss reopened this Feb 12, 2023
@Rafnuss Rafnuss closed this as completed Feb 13, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant