{"id":50467567,"url":"https://github.com/podaac/generate_combiner","last_synced_at":"2026-06-01T08:02:49.567Z","repository":{"id":103454421,"uuid":"586933378","full_name":"podaac/generate_combiner","owner":"podaac","description":"Generate combiner component that combines SST files for processing.","archived":false,"fork":false,"pushed_at":"2026-04-12T21:10:33.000Z","size":301525,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-04-12T22:25:46.838Z","etag":null,"topics":["development","generate"],"latest_commit_sha":null,"homepage":"","language":"Perl","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:17:53.000Z","updated_at":"2026-04-12T21:10:42.000Z","dependencies_parsed_at":"2024-01-16T20:03:26.818Z","dependency_job_id":"8cae12b0-ea9c-4293-9b00-61fe446c730a","html_url":"https://github.com/podaac/generate_combiner","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/podaac/generate_combiner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podaac%2Fgenerate_combiner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podaac%2Fgenerate_combiner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podaac%2Fgenerate_combiner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podaac%2Fgenerate_combiner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/podaac","download_url":"https://codeload.github.com/podaac/generate_combiner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podaac%2Fgenerate_combiner/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:02:46.767Z","updated_at":"2026-06-01T08:02:49.556Z","avatar_url":"https://github.com/podaac.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# combiner\n\nThe combiner processes and combines files for MODIS Aqua and MODIS Terra (SST/SST4/OC) as well as VIIRS (SST/SST3). Input data is created from the downloader component.\n\nTop-level Generate repo: https://github.com/podaac/generate\n\n## pre-requisites to building\n\nAn IDL license for executing IDL within the Docker container. A license file obtained from the vendor ending in `.dat` should be placed in the `idl/install` directory.\n\nThe following IDL files must be compiled to `.sav` files:\n- combine_netcdf_sst_and_sst3_files_to_netcdf.pro\n- combine_netcdf_sst_and_sst4_files_to_netcdf.pro\n- is_netcdf_granule_night_or_day.pro\n\nTo compile IDL files:\n1. `cd` to the IDL directory (`combiner/idl`).\n2. Execute `idl`.\n3. Inside the IDL command prompt, execute: `.FULL_RESET_SESSION`\n4. Inside the IDL command prompt, execute: `.COMPILE {file name without '.pro' extension}` \n    1. Example: `.COMPILE combine_netcdf_sst_and_sst3_files_to_netcdf`\n5. Inside the IDL command prompt, execute: `RESOLVE_ALL`\n6. Inside the IDL command prompt, execute: `SAVE, /ROUTINES, FILENAME='{file name}.sav'`\n    1. Example: `SAVE, /ROUTINES, FILENAME='combine_netcdf_sst_and_sst3_files_to_netcdf.sav'`\n\n\n### compile ghrsst_notify_operator.sav\n\n```bash\n.FULL_RESET_SESSION \n.COMPILE ghrsst_notify_operator\nRESOLVE_ALL\nSAVE, /ROUTINES, FILENAME='ghrsst_notify_operator.sav'\n```\n\n### compile is_netcdf_granule_night_or_day.sav\n\n```bash\n.FULL_RESET_SESSION \n.COMPILE ghrsst_base_error_logger\n.COMPILE ghrsst_error_logger\n.COMPILE is_netcdf_granule_night_or_day\nRESOLVE_ALL\nSAVE, /ROUTINES, FILENAME='is_netcdf_granule_night_or_day.sav'\n```\n\n### compile combine_netcdf_sst_and_sst4_files_to_netcdf.sav\n\n```bash\n.FULL_RESET_SESSION \n.COMPILE ghrsst_base_error_logger\n.COMPILE ghrsst_error_logger\n.COMPILE wrapper_ghrsst_notify_operator \n.COMPILE combine_netcdf_sst_and_sst4_files_to_netcdf\nRESOLVE_ALL\nSAVE, /ROUTINES, FILENAME='combine_netcdf_sst_and_sst4_files_to_netcdf.sav'\n```\n\n### compile combine_netcdf_sst_and_sst3_files_to_netcdf.sav\n\n```bash\n.FULL_RESET_SESSION \n.COMPILE ghrsst_base_error_logger\n.COMPILE ghrsst_error_logger\n.COMPILE wrapper_ghrsst_notify_operator \n.COMPILE combine_netcdf_sst_and_sst3_files_to_netcdf\nRESOLVE_ALL\nSAVE, /ROUTINES, FILENAME='combine_netcdf_sst_and_sst3_files_to_netcdf.sav'\n```\n\n## build command\n\n`docker build --build-arg IDL_INSTALLER=idlxxx-linux.tar.gz --build-arg IDL_VERSION=idlxx --tag combiner:0.1 .`\n\nBuild arguments:\n- IDL_INSTALLER: The file name of the IDL installer.\n- IDL_VERSION: The version of IDL that will be installed.\n\n## execute command\n\nArguemnts:\n1.\tnum_files_to_combine\n2.\tnum_minutes_to_wait\n3.\tvalue_move_instead_of_copy\n4.\tdata_source\n5.\tprocessing_type\n6.\tjob_index\n\nMODIS A: \n`docker run --name gen-comb -v /combiner/input:/data -v /processor/input:/data/scratch combiner:0.1 30 300 yes MODIS_A QUICKLOOK 0`\n`docker run --name gen-comb -v /combiner/input:/data -v /processor/input:/data/scratch combiner:0.1 30 300 yes MODIS_A REFINED 0`\n\nMODIS T: \n`docker run --name gen-comb -v /combiner/input:/data -v /processor/input:/data/scratch combiner:0.1 30 300 yes MODIS_T QUICKLOOK 0`\n`docker run --name gen-comb -v /combiner/input:/data -v /processor/input:/data/scratch combiner:0.1 30 300 yes MODIS_T REFINED 0`\n\nVIIRS: \n`docker run --name gen-comb -v /combiner/input:/data -v /processor/input:/data/scratch combiner:0.1 25 300 yes VIIRS QUICKLOOK 0`\n`docker run --name gen-comb -v /combiner/input:/data -v /processor/input:/data/scratch combiner:0.1 25 300 yes VIIRS REFINED 0`\n\n**NOTES**\n- In order for the commands to execute the `/combiner/` directories will need to point to actual directories on the system.\n- IDL is installed and configured by the Dockerfile.\n\n## aws infrastructure\n\nThe combiner 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_combiner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpodaac%2Fgenerate_combiner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpodaac%2Fgenerate_combiner/lists"}