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

more consistent interfaces #7

Merged
merged 26 commits into from
Feb 20, 2024
Merged

more consistent interfaces #7

merged 26 commits into from
Feb 20, 2024

Conversation

tiemvanderdeure
Copy link
Owner

Implement interface functions sdm_ensemble, evaluate, and predict, with basic documentation and better dispatches.

end

# Build Raster with the models/machines in Band dimension
function _build_raster(missing_mask::Rasters.AbstractRaster, pr::NamedTuple)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why raster bands instead of stack layers?

So its more easily saved to tif?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what I had in mind, yes. And also so it's trivial to apply functions across the Band dimension.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah we need to make broadcast work on stacks

@tiemvanderdeure tiemvanderdeure merged commit 7c4e93a into master Feb 20, 2024
0 of 7 checks passed
@tiemvanderdeure tiemvanderdeure deleted the interface branch February 20, 2024 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants