{"id":50467780,"url":"https://github.com/podaac/generate_downloader","last_synced_at":"2026-06-01T08:03:26.071Z","repository":{"id":103454452,"uuid":"586941713","full_name":"podaac/generate_downloader","owner":"podaac","description":"Generate downloader component that downloads files from OBPG","archived":false,"fork":false,"pushed_at":"2026-04-12T21:11:00.000Z","size":259,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2026-04-12T22:25:48.845Z","etag":null,"topics":["development","generate"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/podaac.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-01-09T15:39:45.000Z","updated_at":"2026-04-12T21:11:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"b03bcb92-b827-4a63-8fa6-e20f00b3d8bc","html_url":"https://github.com/podaac/generate_downloader","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/podaac/generate_downloader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podaac%2Fgenerate_downloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podaac%2Fgenerate_downloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podaac%2Fgenerate_downloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podaac%2Fgenerate_downloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/podaac","download_url":"https://codeload.github.com/podaac/generate_downloader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podaac%2Fgenerate_downloader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33765379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["development","generate"],"created_at":"2026-06-01T08:03:25.991Z","updated_at":"2026-06-01T08:03:26.063Z","avatar_url":"https://github.com/podaac.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# downloader\n\nThe downloader downloads files from the OBPG based on lists created by the download list creator component.\n\nTop-level Generate repo: https://github.com/podaac/generate\n\n## pre-requisites to building\n\nThe following variables must be present in the user's environment:\n- MACHINE\n- LOGIN\n- PASSWORD\n\nThe script `netrc_env_vars.sh` found in the top-level `generate` directory can be used to export these variables to the user's environment. They are used to create the `.netrc` file used by the OBPG download operations to download data. See this link for more information on the .netrc file: https://podaac.github.io/2022-SWOT-Ocean-Cloud-Workshop/prerequisites/02_NASA_Earthdata_Authentication.html\n\n## build command\n\n`docker build --build-arg MACHINE --build-arg LOGIN --build-arg PASSWORD --tag downloader:0.1 . `\n\n## execute command\n\nArguments:\n1.\tlist_directory\n2.\tjob_index\n3.\tprocessing_level\n4.\tseparator_character\n5.\tprocessing_type\n6.\ttop_level_output_directory\n7.\tnum_files_to_download\n8.\tsleep_time_in_between_files\n9.\tmove_filelist_file_when_done\n10.\tperform_checksum_flag\n11.\ttest_run_flag\n\nMODIS A: \n`docker run --name gen-test -v /downloader/input:/data/input -v /downloader/logs:/data/logs -v /downloader/output:/data/output -v /downloader/scratch:/data/scratch downloader:0.1 /data/lists 0 L2 SPACE MODIS_A /data/output 5 1 yes yess`\n\nMODIS T: \n`docker run --name gen-test -v /downloader/input:/data/input -v /downloader/logs:/data/logs -v /downloader/output:/data/output -v /downloader/scratch:/data/scratch downloader:0.1 /data/lists 0 L2 SPACE MODIS_T /data/output 5 1 yes yes`\n\nVIIRS: \n`docker run --name gen-test -v /downloader/input:/data/input -v /downloader/logs:/data/logs -v /downloader/output:/data/output -v /downloader/scratch:/data/scratch downloader:0.1 /data/lists 0 L2 SPACE VIIRS /data/output 5 1 yes yes`\n\nPlease note that in order for the commands to execute the `/downloader/` directories will need to point to actual directories on the system.\n\n## aws infrastructure\n\nThe downloader includes the following AWS services:\n- AWS Batch job definition.\n- CloudWatch log group.\n- Elastic Container Registry repository.\n\n## terraform \n\nDeploys AWS infrastructure and stores state in an S3 backend using a DynamoDB table for locking.\n\nTo deploy:\n1. Edit `terraform.tfvars` for environment to deploy to.\n2. Edit `terraform_conf/backed-{prefix}.conf` for environment deploy.\n3. Initialize terraform: `terraform init -backend-config=terraform_conf/backend-{prefix}.conf`\n4. Plan terraform modifications: `terraform plan -out=tfplan`\n5. Apply terraform modifications: `terraform apply tfplan`\n\n`{prefix}` is the account or environment name.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpodaac%2Fgenerate_downloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpodaac%2Fgenerate_downloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpodaac%2Fgenerate_downloader/lists"}