Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Container files for TOS2CA

License

NotificationsYou must be signed in to change notification settings

nasa-jpl/tos2ca-containerization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DOI

LanguageLanguage

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.

Requirements

  • Will need anNASA Earthdata login to use any tools DAAC tools/applications (and have credentials in a.netrc file)
  • Should have access to theus-west-2 AWS region to access any NASA DAAC data over S3
  • Access to additional AWS services required by theanomaly-detection repo

How to run the tos2ca anomaly detection drivers

The next steps are all in the scriptSetUp_Docker_tos2ca_jobs.sh if you choose but here is how to setup everything

  1. Into the top directory, make sure to have your Earthdata login.netrc file
  2. Create a subdirectory calledcode
  3. Either check out from git or copy over into the code subdirectory
    • tos2ca-anomaly-detection.git
    • tos2ca-data-dictionaries.git
    • tos2ca-fortracc-module.git
  4. Change to the directory and run the commands to build the images:
    • Example:docker build -t data_driver . -f Dockerfile_tos2ca_data_driver
  5. 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.
  6. Optionally, you can then tag image:
    • docker tag <image ID> <AWS URI>/<repo name>:<tag>
  7. 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>

[8]ページ先頭

©2009-2026 Movatter.jp