{"id":19686154,"url":"https://github.com/loiccoyle/blm_header_repo","last_synced_at":"2026-05-15T09:09:18.873Z","repository":{"id":116544634,"uuid":"257607887","full_name":"loiccoyle/blm_header_repo","owner":"loiccoyle","description":"(hopefully) correct LHC BLM headers throughout the ages.","archived":false,"fork":false,"pushed_at":"2021-11-17T17:33:41.000Z","size":29,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-10T07:11:55.944Z","etag":null,"topics":["blm","cern","header","lhc","metadata"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/loiccoyle.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-21T13:39:38.000Z","updated_at":"2021-11-17T17:33:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"ba6fba47-937a-4190-ad2a-de4bbc784eea","html_url":"https://github.com/loiccoyle/blm_header_repo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loiccoyle%2Fblm_header_repo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loiccoyle%2Fblm_header_repo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loiccoyle%2Fblm_header_repo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loiccoyle%2Fblm_header_repo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loiccoyle","download_url":"https://codeload.github.com/loiccoyle/blm_header_repo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240993950,"owners_count":19890419,"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","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":["blm","cern","header","lhc","metadata"],"created_at":"2024-11-11T18:26:28.356Z","updated_at":"2026-05-15T09:09:13.847Z","avatar_url":"https://github.com/loiccoyle.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BLM headers\nBLM headers are no fun to deal with.\n\nCheck the [`headers`](./headers) folder for some generated BLM headers.\n\n# Get the headers\nTo download just the headers run the [`dl_headers.py`](./dl_headers.py) script, from a terminal:\n```\ncurl https://raw.githubusercontent.com/loiccoyle/blm_header_repo/master/dl_headers.py | python3\n```\n\n# Do it yourself\nIf you want to regenerate the headers, you can by:\n```\ngit clone https://github.com/loiccoyle/blm_header_repo\ncd blm_header_repo\nmake dependencies\nmake blm_headers\n```\nNote it usually is a good idea to do it in a [virtual environment](https://docs.python.org/3/tutorial/venv.html).\n\n\n# How it works\nThe headers are generated using [`loiccoyle/blm_header`](https://github.com/loiccoyle/blm_header). Have a look at the [`generate_headers.py`](./generate_headers.py) file, it should be relatively easy to understand whats going on. The basic gist is the following:\n\n* I get the timings of the changes from `timber`'s BLM metadata (plus a few extra manually added).\n\n* For each timestamp I find the closest fill following it which reaches `STABLE` and start matching on the 2 hours following the `INJPROT` beam mode. This avoids matching on an empty machine which improves the matching quality as it is not matching on noise.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floiccoyle%2Fblm_header_repo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floiccoyle%2Fblm_header_repo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floiccoyle%2Fblm_header_repo/lists"}