Skip to content

Where to store rasters? #23

@tpoisot

Description

@tpoisot

#21 ended up being about org admin, so let me restate the issue here:

  1. we want to store raster data centrally
  2. we want the user to have flexibility about where "centrally" is (can be a folder, can be a server I guess, etc)
  3. we want to make a default decision when the user is not specifying anything, e.g. for small datasets

The current solution is to require ENV["RASTERDATASOURCES_PATH"] - this can work but it requires setting the variable even for small datasets, which is an additional step for users.

The solution I suggested in #21 was to use traits for the different types, but this is also possibly confusing - sometimes things will stop working unless the variable is set (and setting it from the session will not make it permanent).

Solutions like Artifacts don't work because we don't want to download ALL data when the package is built.

Here is my current thinking on this - we might want to keep the idea of a ENV["RASTERDATASOURCES_PATH"], and have a greet() function that reminds users of what it does. Specifically, if there is no such path set, we can use a folder in @__DIR__ to store the data? Users who don't want to make a choice will have their data there, users who want to specify a path will have a choice.

@rafaqz what do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions