-
Notifications
You must be signed in to change notification settings - Fork 12
Update prepEcoregions() to use terra #128
New issue
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
base: development
Are you sure you want to change the base?
Update prepEcoregions() to use terra #128
Conversation
|
Ok - I put this as a draft for now. Either way, I believe I'll make some change to make sure it keeps the same behaviour as before when its a |
Should be good now. |
it's weird that |
The lines creating I re-added them. |
I noticed the spatRaster issue earlier - I believe Dom is correct, due to that data@attributes line - something was missed in the conversion to terra. I had a fix locally but did not push as I wasn't sure if it was correct for factor rasters - I'll review |
I realized that we currently are probably not able to provide a
ecoregionRst
toBiomass_borealDataPrep
, since the functionLandR::prepEcoregions
was still using theraster
syntax.Here is my fix.