{"id":21539476,"url":"https://github.com/bluegreen-labs/oneflux_containers","last_synced_at":"2025-10-07T01:36:41.949Z","repository":{"id":131236297,"uuid":"495142225","full_name":"bluegreen-labs/ONEFlux_containers","owner":"bluegreen-labs","description":"Containerized (docker) versions of the ONEFlux processing pipeline","archived":false,"fork":false,"pushed_at":"2022-05-23T19:50:53.000Z","size":76,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-09T17:36:50.150Z","etag":null,"topics":["data","ecosystem","fluxes","micrometeorology","processing"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bluegreen-labs.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":null,"security":null,"support":null,"governance":null}},"created_at":"2022-05-22T18:22:29.000Z","updated_at":"2024-12-18T12:28:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a2fd3d7-9fe0-40d6-b89f-f8386be35cf5","html_url":"https://github.com/bluegreen-labs/ONEFlux_containers","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"973931c4bc02517148f7878082a906aac881704b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bluegreen-labs/ONEFlux_containers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluegreen-labs%2FONEFlux_containers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluegreen-labs%2FONEFlux_containers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluegreen-labs%2FONEFlux_containers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluegreen-labs%2FONEFlux_containers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bluegreen-labs","download_url":"https://codeload.github.com/bluegreen-labs/ONEFlux_containers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bluegreen-labs%2FONEFlux_containers/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278708074,"owners_count":26031932,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"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":["data","ecosystem","fluxes","micrometeorology","processing"],"created_at":"2024-11-24T04:15:32.897Z","updated_at":"2025-10-07T01:36:41.905Z","avatar_url":"https://github.com/bluegreen-labs.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ONEFlux docker images\n\nAutomating deployment of the [ONEFlux processing pipeline](https://github.com/fluxnet/ONEFlux) by BlueGreen Labs.\n\n## Interactive image\n\nThe interactive image is compiled without calling any additional scripts. It's\nsole purpose is to provide a consistent and functional environment in which\nthe ONEFlux processing chain will run without having to deal with annoying\npython install. You can get access to the session by starting an interactive\ndocker session.\n\n```bash\n# build the image (in the interactive folder)\ndocker build -t oneflux-interactive .\n\n# drop into a command prompt with a functional\n# ONEFlux install\ndocker run -ti oneflux-interactive:latest\n```\n\n## Headless image\n\nUsing the headless image you can use oneflux using a rather long but easily\nunderstood command:\n\n```bash\n# build the image (in the headless folder)\ndocker build -t oneflux-headless .\n\n# process the demo data\ndocker run -v /your/data/:/data oneflux-headless:latest all \"/data\" US-ARc \"US-ARc_sample_input\" 2005 2006 -l fluxnet_pipeline_US-ARc.log --mcr /opt/mcr/v94/ --recint hh\n```\n\nHere, `docker run -v /your/data/:/data test:latest` starts a docker\nimage instance where you mount (connect) your data location `/your/data/` to\nthe virtual file system `/data/` location. In the headless instance the\n`onefluxprocessing.py` python script is started by default and awaits its\nusual input parameters. Consequently, the remaining command as specified\nare the input parameters to the standard python script. The only difference is\nthat you shouldn't specify your local file storage location but the virtual\ndocker image location `/data/`.\n\n## ONEFlux docker App\n\nTo track progress more easily a streamlit GUI based wrapper is provided to \nthe processing. Sadly, I have given up on developing this further than the state\nit is currently in (non-functional). Technically it should all work, yet it doesn't due to ONEFlux relying on old python 2.7 code, with\nno easy fix it seems. Below are the instructions to build the current image and a preview of the simple layout in Streamlit under python 3.5+. Any commits to resolve the issue by getting a functional image on python 3.5+ are welcome.\n\n```bash\n# build the image (in the headless folder)\ndocker build -t oneflux-app .\n\n# start the service\ndocker run -p 8501:8501 -v /your/data/:/data oneflux-app:latest\n```\n\n![](oneflux.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluegreen-labs%2Foneflux_containers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbluegreen-labs%2Foneflux_containers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbluegreen-labs%2Foneflux_containers/lists"}