Skip to content
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

PredictNewAreaMap should predict to new areas #145

Open
goldingn opened this issue Sep 11, 2015 · 3 comments
Open

PredictNewAreaMap should predict to new areas #145

goldingn opened this issue Sep 11, 2015 · 3 comments

Comments

@goldingn
Copy link
Member

At present it only crops the training raster.

This could be achieved by passing in a raster via an argument, or by making a bespoke one for each covariate module (e.g. PredictNewAreaMapBioclim etc.)

@AugustT
Copy link
Member

AugustT commented Sep 14, 2015

A catch all might be

PredictNewArea(newArea = ras)

where ras can be a raster (user provided), or a call to a covariate module:

PredictNewArea(newArea = Bioclim(extent = c(89, 90, -12, -13)))

@goldingn
Copy link
Member Author

I like that - it allows people to pass a Chain of covariate modules too. It adds an extra layer of complexity to workflows though and might need some fairly nasty code to capture the argument and load the correct module.

If we changed the name to PredictNewCovariate or something similarly generic, that would be helpful. I expect people will want to use this for e.g. projecting to future climates (layer names would have to stay the same).

We had a user on the workshop who wanted to use zoon in her work, but needed this functionality - so a priority module!

@AugustT
Copy link
Member

AugustT commented Feb 18, 2016

This has links with #121 in terms of the code required for the solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants