- Notifications
You must be signed in to change notification settings - Fork0
nasa-jpl/tos2ca-containerization
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Thecontainerization library is part of the of the TOS2CA Project. For more information, visit the TOS2CA website athttps://nasa-jpl.github.io/tos2ca-documentation/.
This python library is responsible for containerizing various stages of theanomaly-detection repo. The project uses this with AWS Fargate services, though it could be run locally on a single server if needed.
- Will need anNASA Earthdata login to use any tools DAAC tools/applications (and have credentials in a
.netrcfile) - Should have access to the
us-west-2AWS region to access any NASA DAAC data over S3 - Access to additional AWS services required by the
anomaly-detectionrepo
The next steps are all in the scriptSetUp_Docker_tos2ca_jobs.sh if you choose but here is how to setup everything
- Into the top directory, make sure to have your Earthdata login
.netrcfile - Create a subdirectory called
code - Either check out from git or copy over into the code subdirectory
- tos2ca-anomaly-detection.git
- tos2ca-data-dictionaries.git
- tos2ca-fortracc-module.git
- Change to the directory and run the commands to build the images:
- Example:
docker build -t data_driver . -f Dockerfile_tos2ca_data_driver
- Example:
- Once an image is built, a container can be run like:
- Example:
docker run -it -e JOBID=469 -e CHUNKID=1 data_driver - Note that each container will have enviornmental variables that you will need to pass to it.
- Example:
- Optionally, you can then tag image:
docker tag <image ID> <AWS URI>/<repo name>:<tag>
- Optionally, you can also then push the image to a repository, like AWS ECR:
aws ecr get-login-password --region <region> | docker login --username AWS --password-stdin <AWS URI>docker push <AWS URI>/<repo name>:<tag>
About
Container files for TOS2CA
Resources
License
Code of conduct
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published