Instructions for uploading V3 atlases to AWS - #504
Conversation
|
When following the instructions aws loginreturns The instructions should let the user know the best response |
| * This directory should contain the `annotation-sets`, `atlases`, `coordinate-spaces`, `templates`, and `terminologies` subdirectories and nothing else | ||
| 3. Get a preview of the files that will be synced with the remote by running: | ||
| ```bash | ||
| aws s3 sync --dry-run . s3://brainglobe/atlas |
There was a problem hiding this comment.
(base) harrycarey@snowy:~/brainglobe_workingdir/hoops_dragon/brainglobe-atlasapi$ aws s3 sync --dry-run . s3://brainglobe/atlas
aws: [ERROR]: An error occurred (ParamValidation): Unknown options: --dry-run
There was a problem hiding this comment.
the cli is apparently dryrun with no hyphen
| ``` | ||
| 4. If the output of the dry-run is correct, upload the new atlas using: | ||
| ```bash | ||
| aws s3 sync . s3://brainglobe/atlas |
There was a problem hiding this comment.
using dot is so dangerous lol, we're going to get a lot of people uploading their home directories. can we ask people to spell out the directory they want to upload
|
ok something im confused about. say we have the allen which is generated at 10, 25, 50, and 100. in the 2022 version some of these meshes are reused across all resolutions and some are generated at each resolution. Do we store meshes for each resolution? Would i combine all these generated folders into one before uploading? Is there an order i should follow to copy them into the same directory, for instance so that anything overwritten is overwritten with the highest resolution copy of that file? |
The meshes don't have a resolution in the same way that the images do (they're in real space). In principle I think we should probably only generate them from the highest resolution atlas? |
|
I agree with @adamltyson, the intention would be that meshes are generated once, at the highest resolution. The wrapup function should be able to take a multi-resolution set of templates/annotations and run the mesh generation once on the highest resolution. The resulting output can be uploaded whole sale to AWS once generated. |
Before submitting a pull request (PR), please read the contributing guide.
Please fill out as much of this template as you can, but if you have any problems or questions, just leave a comment and we will help out :)
Description
What is this PR
Why is this PR needed?
brainglobe-atlsapiV3 uses AWS to host the atlases. The current instructions refer to GIN as the remote source.What does this PR do?
Adds basic instructions for uploading new altases to V3.
How has this PR been tested?
Commands ran locally.
Checklist: