{"id":22693380,"url":"https://github.com/atmtools/arts-crossfit","last_synced_at":"2025-08-17T12:41:19.520Z","repository":{"id":40371014,"uuid":"376783473","full_name":"atmtools/arts-crossfit","owner":"atmtools","description":"ARTS HITRAN crosssection absorption model","archived":false,"fork":false,"pushed_at":"2022-06-07T06:16:32.000Z","size":97,"stargazers_count":1,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-03-26T20:20:22.997Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/atmtools.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}},"created_at":"2021-06-14T10:23:17.000Z","updated_at":"2024-02-29T20:34:22.000Z","dependencies_parsed_at":"2022-08-09T18:42:05.227Z","dependency_job_id":null,"html_url":"https://github.com/atmtools/arts-crossfit","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atmtools%2Farts-crossfit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atmtools%2Farts-crossfit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atmtools%2Farts-crossfit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atmtools%2Farts-crossfit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atmtools","download_url":"https://codeload.github.com/atmtools/arts-crossfit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228991365,"owners_count":18002891,"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":[],"created_at":"2024-12-10T02:10:22.620Z","updated_at":"2024-12-10T02:10:23.313Z","avatar_url":"https://github.com/atmtools.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# arts-crossfit\nARTS HITRAN cross section absorption model\n\n## Calculate cross sections with the model\n\n1. Download the precalculated coefficients files from the `arts-xml-data` package and put them in the `coefficients/` directory.\n\n   To generate the coefficients yourself, see section [\"Generate model coefficients\"](#generate-model-coefficients) below.\n\n2. Run the example script.\n   ```\n   scripts/Xsec_Calculate.py\n   ```\n\n   Creates a plot of CFC-11 crossections in `plots/Xsecs/`.\n\n## Generate model coefficients\n\n1. Download Hitran cross section data and molecule headers into designated folders\n   ```\n   cd data/HitranXsec/\n   curl -O https://hitran.org/data/xsec/xss.tar.gz\n   tar -zxf xss.tar.gz\n   cd ../HitranMoleculeHeaders/\n   wget --no-parent -nd -r -A '*.json' https://hitran.org/suppl/xsec/molecule_headers/\n   cd -\n   ```\n\n2. Convert cross section data to json format\n   ```\n   scripts/Xsec_ConvertHitranToJson.py\n   ```\n\n3. Generate harmonized data\n   ```\n   scripts/Xsec_DefineBandsAndHarmonizeData.py\n   ```\n   Choose option 0 to use the predefined band configuration.\n\n4. Generate model coefficients\n   ```\n   scripts/Xsec_CalculateFitCoefficients.py -f\n   ```\n\n   The `-f` option generates optional diagnostic figures in `plots/SPECIES/`.\n\n   Use `-p X` to speed up the calculation by using X cores in parallel.\n\n   The XML data files are stored in `coefficients/`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatmtools%2Farts-crossfit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatmtools%2Farts-crossfit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatmtools%2Farts-crossfit/lists"}