-
Notifications
You must be signed in to change notification settings - Fork 2
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
Allow options to ArchGDAL driver when saving Geotiff #30
Comments
Yeah that's a good idea, and probably something that we need to abstract away from this package (I'm in the process of re-designing the data download/load/write layer in another repo). Meanwhile, a PR with a keyword argument is probably the most effort-effective solution? |
@gottacatchenall what do you think is the best way to do this? As in, what is the code you would like to write to make this happen? This is most likely the next issue I'll address. |
my general thoughts are the current syntax is both if it's possible to overload there could be some utility of having multiple aliases for the same function, i.e. methods on as for the engine, i think it only needs to be passed as a string to the ArchGDAL function for writing, so just a keyword argument On a separate note, is the goal here to eventually have this ensemble of packages become something like SpeciesDistributionModels.jl? It seems a suite of simple OTS models with methods for computing validation metrics and visualization (plus some of the occupancy models from MetapopulationDynamics.jl) would put us at feature parity with spOccupancy |
I am going to create a new issue about the confusion in the names (#38). Ideally, we can solve the "reading" part with another type constructor, and the saving part with an overload of save and a detection of the file format. I like the idea of an argument to the driver, so that's a single keyword argument with the default as-is. This should be simple enough to solve. As for the last point -> #37 |
Description of the to-do item
support for different drivers when writing geotiff
More information about the item
The current
geotiff
function for writing files uses the GTiff driver in ArchGDAL by default.https://github.com/PoisotLab/SimpleSDMLayers.jl/blob/dcc49145c2c844bfe63fff99b96cf86720076512/src/datasets/geotiff.jl#L191
It would be nice to have this either be a keyword argument or something to enable selection of different drivers, e.g. I need to use the "COG" driver to write a cloud-optimized geotiff
The text was updated successfully, but these errors were encountered: