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

How to create a STRDS in actinia? #264

Open
veroandreo opened this issue Oct 13, 2021 · 5 comments
Open

How to create a STRDS in actinia? #264

veroandreo opened this issue Oct 13, 2021 · 5 comments
Assignees
Labels
documentation related to all kinds of docs (API docs, website, ...)

Comments

@veroandreo
Copy link

Is there an example or template on how to create a STRDS in an existent mapset within actinia? For example within the latlong location and worldpop mapset there are several raster maps with which I'd like to create a STRDS. How is it done? Could you point me to an example?

I found the relevant endopoints here but I find it difficult to decipher how to use them from the terminal with curl or yet much better and preferably with ace from grass

@mmacata
Copy link
Member

mmacata commented Oct 14, 2021

Out of the box it is only possible to create a STRDS within a user mapset with data in the same mapset. This is currently WIP in #192. The current functionality is explained a bit in https://redocly.github.io/redoc/?url=https://actinia.mundialis.de/latest/swagger.json#tag/STRDS-Management/paths/~1locations~1{location_name}~1mapsets~1{mapset_name}~1strds~1{strds_name}~1raster_layers/put (REQUEST BODY SCHEMA) but I agree that the documentation about it can be improved.

@veroandreo
Copy link
Author

veroandreo commented Oct 14, 2021

I see. And it will depend on the latest PRs by @metzm in grass too.

@mmacata
Copy link
Member

mmacata commented Nov 11, 2021

Yes (#192)

@anikaweinmann anikaweinmann moved this to Waiting for / Review in progress in actinia endurance run Jan 13, 2022
@mmacata mmacata moved this from Waiting for / Review in progress to Waiting / Blocked in actinia endurance run Jan 13, 2022
@anikaweinmann anikaweinmann added the documentation related to all kinds of docs (API docs, website, ...) label Apr 28, 2022
@ninsbl
Copy link
Collaborator

ninsbl commented Oct 4, 2022

Would it be possible to create an endpoint that allows users to work directly in an existing mapset, at own risk (maybe even including the central DB for super-admins)?
In a multiuser setting and if actinia is supposed to give access not only to algorithms but also data, management of "central data" is actually quite important...

@mmacata
Copy link
Member

mmacata commented Oct 25, 2022

Hi @ninsbl , this cannot be done by design. On purpose there are two DBs - the shared one, where all data can be stored and then used by users if access is granted and the user DB where the user can create and manipulate own datasets. "at own risk" can be quite dangerous if large datasets are published via actinia and then accidently deleted or manipulated and users should not be able to edit this central data but store their results in the user DBs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation related to all kinds of docs (API docs, website, ...)
Projects
None yet
Development

No branches or pull requests

5 participants