{"id":19795723,"url":"https://github.com/bgin/artes","last_synced_at":"2026-03-02T09:34:22.224Z","repository":{"id":113746188,"uuid":"83674992","full_name":"bgin/ARTES","owner":"bgin","description":"3D scattering radiative transfer in (exo)planetary atmospheres","archived":false,"fork":false,"pushed_at":"2017-02-11T18:08:02.000Z","size":9603,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T16:09:37.423Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Fortran","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bgin.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-03-02T12:24:56.000Z","updated_at":"2017-05-28T17:24:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"71171833-6200-46fa-9959-c1a93fb98b3b","html_url":"https://github.com/bgin/ARTES","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bgin/ARTES","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgin%2FARTES","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgin%2FARTES/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgin%2FARTES/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgin%2FARTES/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bgin","download_url":"https://codeload.github.com/bgin/ARTES/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bgin%2FARTES/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29997213,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T01:47:34.672Z","status":"online","status_checked_at":"2026-03-02T02:00:07.342Z","response_time":60,"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":[],"created_at":"2024-11-12T07:17:10.211Z","updated_at":"2026-03-02T09:34:22.206Z","avatar_url":"https://github.com/bgin.png","language":"Fortran","funding_links":[],"categories":[],"sub_categories":[],"readme":"================================================================\n                  _     ___   _____   ___   ___ \n                 /_\\   | _ \\ |_   _| | __| / __|\n                / _ \\  |   /   | |   | _|  \\__ \\\n               /_/ \\_\\ |_|_\\   |_|   |___| |___/\n\n      Atmospheric Radiative Transfer for Exoplanet Science\n\n                          Developed by:\n\t\t   \n                          Tomas Stolker\n                      T.Stolker [at] uva.nl\n\n            Anton Pannekoek Institute for Astronomy\n\n----------------------------------------------------------------\n\n           Please cite Stolker et al. 2017 whenever\n           ARTES results are used in a publication.\n\n----------------------------------------------------------------\n--\u003e Compile ARTES\n\nARTES has to be compiled with the GNU Fortran compiler which\ncan be installed with:\n\nMac:     brew install gcc\nLinux:   sudo apt-get install gfortran\n\nAdd the following line (with the correct path) to the\n~/.bash_profile (Mac) or ~/.bashrc (Linux) file:\n\nMac:     export DYLD_LIBRARY_PATH=\"$DYLD_LIBRARY_PATH:$HOME/ARTES/lib\"\nLinux    export LD_LIBRARY_PATH=\"$LD_LIBRARY_PATH:$HOME/ARTES/lib\"\n\nAnd compile ARTES with:\n\nMac:     make\nLinux:   make linux=true\n\n----------------------------------------------------------------\n\n--\u003e ARTES input structure\n\nAll input files have to be located in the input folder of which\nthe required file structure is the following:\n\n  ARTES/input/[atmosphere]/atmosphere.in\n  ARTES/input/[atmosphere]/artes.in\n  ARTES/input/[atmosphere]/pressureTemperature.dat (optional)\n  ARTES/input/[atmosphere]/opacity/[opacityFITS]\n\nWhere [atmosphere] is the user-defined model name.\n\n----------------------------------------------------------------\n--\u003e Pressure-temperature profile\n\nA pressure-temperature profile can be provided in the\n[atmosphere] folder, name pressureTemperature.in, which is used\nby ARTES to determine the gas densities, mixing ratios, and \nabsorption cross sections. The profile should be given in\nunits of [bar] and [K] with increasing pressure.\n\n----------------------------------------------------------------\n--\u003e Create opacity files\n\nSeveral type of opacity sources can be generated for both gas\nand cloud particles. The opacity and scattering properties\nneed to be provided in a FITS file with the first FITS extension\ncontaining the wavelength dependent extinction, absorption and\nscattering opacity and the second extension containing the\n16-element scattering matrices.\n\nThe python folder contains some helpful tools:\n\n   1. opacityHenyeyGreenstein.py\n      Generates Henyey-Greenstein scattering opacities with\n      a constant absorption coefficient.\n\n   2. opacityRayleigh.py\n      Generates Rayleigh scattering opacities with a constant\n      single scattering albedo.\n\n   3. opacityGas.py\n      Generates gas opacities with Rayleigh scattering cross-\n      section and wavelength dependent absorption coefficients.\n\n   4. opacityMolecules.py\n      Generates pressure temperature dependent gas opacities\n      with equilibrium chemistry volume mixing ratios.\n\n   5. opacityMie.py\n      Generates Mie opacities and scattering matrices that can\n      be used for cloud and haze particles. This wrapper\n      calls the ComputePart code which is developed by\n      Michiel Min (SRON). Make sure that the ComputePart\n      binary file is executable:\n\n        chmod 700 bin/ComputePart[Mac/Linux]\n        \n      In case a segmentation fault appears when running this\n      routine, then try:\n      \n        ulimit -s unlimited\n\nAll opacity FITS files should be located in the opacity folder.\n\n----------------------------------------------------------------\n--\u003e Create atmosphere.in file\n\nThe atmosphere.in file has to be located in the [atmosphere]\nfolder and its content should look something like:\n\n----\n\n; Example atmosphere.in file\n\n[grid]\nradius: 1.\nradial: 100., 200.\ntheta: 60., 120. \nphi:\n\n[composition]\nfits01: gas.fits\nfits02: clouds.fits\nopacity01: 1, 1.e-3, 0, nr, 0, ntheta, 0, nphi\nopacity02: 2, 1.e-1, 0, nr, 1, 2, 0, nphi\n\n----\n\nThe [grid] part contains the grid structure of the atmosphere.\nRadial, polar and azimuthal grid faces can be added. Radial\ncell boundaries are given in [km] and polar and azimuthal\nboundaries are given in [deg].\n\nThe [composition] part contains a list of all the opacity FITS\nfiles that are used and are present in the opacity folder.\nNumbered from one up, with single digit numbers with a prior\nzero. The opacity keywords specify which opacity sources belong\nto which grid cells. The value order is:\n\n   [ fits, density [g cm-3], rIn, rOut,\n                 thetaIn, thetaOut, phiIn, phiOut ]\n\nFits gives the corresponding FITS file number, density the grid\ncell density, rIn/rOut the inner and outer radial grid cell\nface and the same for theta and phi. The outer most boundaries\nare given by nr, ntheta, nphi.\n\nFurthermore, a surface gravity [m/s2] and mean molecular weight\n[g/mol] have to be specified in case a pressure temperature\nprofile is given to set up the radial grid structure.\n\n----------------------------------------------------------------\n--\u003e Create artes.in file\n\nThis file contains the input parameters for ARTES. Please check\nthe artes.in template file which has a full description of all\nthe keywords. Command line keywords can be provided with the\n'-k' flag which will overrule the input file keyword.\n\n----------------------------------------------------------------\n--\u003e Run ARTES\n\nTwo steps are required:\n\n  1. Build atmospheric structure:\n     python python/atmosphere.py [atmosphereName]\n\n  2. Run ARTES:\n     ./bin/ARTES [atmosphere] [photons] -o [outputDirectory] -k [keyWord]=[value]\n\n================================================================","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbgin%2Fartes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbgin%2Fartes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbgin%2Fartes/lists"}