{"id":32372605,"url":"https://github.com/dennissergeev/stretched_mesh_code","last_synced_at":"2025-10-24T21:55:18.986Z","repository":{"id":225162903,"uuid":"643909305","full_name":"dennissergeev/stretched_mesh_code","owner":"dennissergeev","description":"Scripts to reproduce figures for the paper","archived":false,"fork":false,"pushed_at":"2024-05-23T12:34:18.000Z","size":28566,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-13T16:38:37.178Z","etag":null,"topics":["atmospheric-modelling","atmospheric-science","climate-model","exoplanets","idealized-numerical-simulations","numerical-modelling","planetary-science","unstructured-meshes"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/dennissergeev.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":"2023-05-22T12:08:55.000Z","updated_at":"2024-05-23T12:34:22.000Z","dependencies_parsed_at":"2024-03-04T09:54:32.845Z","dependency_job_id":"311886a2-ea10-46fa-9228-a39ec28155f4","html_url":"https://github.com/dennissergeev/stretched_mesh_code","commit_stats":null,"previous_names":["dennissergeev/stretched_mesh_code"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dennissergeev/stretched_mesh_code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennissergeev%2Fstretched_mesh_code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennissergeev%2Fstretched_mesh_code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennissergeev%2Fstretched_mesh_code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennissergeev%2Fstretched_mesh_code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dennissergeev","download_url":"https://codeload.github.com/dennissergeev/stretched_mesh_code/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dennissergeev%2Fstretched_mesh_code/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280872011,"owners_count":26405606,"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-24T02:00:06.418Z","response_time":73,"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":["atmospheric-modelling","atmospheric-science","climate-model","exoplanets","idealized-numerical-simulations","numerical-modelling","planetary-science","unstructured-meshes"],"created_at":"2025-10-24T21:54:27.716Z","updated_at":"2025-10-24T21:55:18.980Z","avatar_url":"https://github.com/dennissergeev.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg src=\"src/figures/regr__hab1_mod_c192_s10e_s10r_s10p_p__cell_width__c12_mesh__summary.png\"\n     alt=\"cover image\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003e\nThe impact of the explicit representation of convection on the climate of a tidally locked planet in global stretched-mesh simulations.\n\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://doi.org/10.3847/1538-4357/ad4ecd\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/DOI-10.3847%2F1538--4357%2Fad4ecd-purple\"\n     alt=\"Published in The Astrophysical Journal\"\u003e\u003c/a\u003e\n\u003ca href=\"https://arxiv.org/abs/2402.19277\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/arXiv-2402.19277-red\"\n     alt=\"arXiv preprint\"\u003e\u003c/a\u003e\n\u003ca href=\"conda-lock.yml\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/python-3.12-blue.svg\"\n     alt=\"Python 3.12\"\u003e\u003c/a\u003e\n\u003ca href=\"LICENSE\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/License-MIT-green.svg\"\n     alt=\"License: MIT\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/psf/black\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/code%20style-black-000000.svg\"\n     alt=\"black\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n\u003ch2 align=\"center\"\u003eRepository contents\u003c/h2\u003e\n\nNotebooks and Python scripts are in the [`src/scripts/`](src/scripts/) directory, while the figures are in the [`src/figures/`](src/figures/) directory.\n\n|  #  | Figure | Notebook |\n|:---:|:-------|:---------|\n|  1  | [Summary of the simulation setup](src/figures/regr__hab1_mod_c192_s10e_s10r_s10p_p__cell_width__c12_mesh__summary.pdf) | [Show-Mesh-And-Cell-Sizes.ipynb](https://nbviewer.jupyter.org/github/dennissergeev/stretched_mesh_code/blob/main/src/scripts/Show-Mesh-And-Cell-Sizes.ipynb) |\n|  2  | [Clouds and precipitation in the simulations with stretched and quasi-uniform mesh](src/figures/combi_hab1_mod_c192_s10e_s10r_s10p_p__inst_diag__tot_col_m_c_tot_prec__grat__precip_sum_hist__cloud_types.pdf) | [Cloud-Precip-Snap-Hist.ipynb](https://nbviewer.jupyter.org/github/dennissergeev/stretched_mesh_code/blob/main/src/scripts/Cloud-Precip-Snap-Hist.ipynb) |\n|  3  | [Meridional and time mean profiles of vertically integrated moisture diagnostics](src/figures/regr__hab1_mod_c192_s10e_s10r_s10p_p__tot_col_m_v_tot_col_m_c_tot_col_m_cl_tot_col_m_ci__tmm.pdf) | [Meridional-Mean-Cloud-Profiles.ipynb](https://nbviewer.jupyter.org/github/dennissergeev/stretched_mesh_code/blob/main/src/scripts/Meridional-Mean-Cloud-Profiles.ipynb) |\n|  4  | [Vertical profiles of time mean diagnostics in the substellar region](src/figures/regr__hab1_mod_c192_s10e_s10r_s10p_p__tot_col_m_v_tot_col_m_c_tot_col_m_cl_tot_col_m_ci__tmm.pdf) | [Substellar-Vertical-Profiles.ipynb](https://nbviewer.jupyter.org/github/dennissergeev/stretched_mesh_code/blob/main/src/scripts/Substellar-Vertical-Profiles.ipynb) |\n|  5  | [Thermodynamic and circulation regime](src/figures/regr__hab1_mod_c192_s10e_s10r_s10p_p__t_sfc_toa_olr_u_zm__w_zm_day__tm_map.pdf) | [Thermodynamic-And-Circulation-Regime.ipynb](https://nbviewer.jupyter.org/github/dennissergeev/stretched_mesh_code/blob/main/src/scripts/Thermodynamic-And-Circulation-Regime.ipynb) |\n|  6  | [Maps of precipitation rate](src/figures/regr__hab1_mod_c192_s10e_s10r_s10p_p__tot_prec_ls_prec_conv_prec__tm_map.pdf) | [Precipitation-Maps.ipynb](https://nbviewer.jupyter.org/github/dennissergeev/stretched_mesh_code/blob/main/src/scripts/Precipitation-Maps.ipynb) |\n|  7  | [Circulation regime bistability](src/figures/thai_hab1__c192_s10e_s10r_s10p_p__inst_diag__toa_osr__t_sfc__wind_08160m.pdf) | [Show-Bistability.ipynb](https://nbviewer.jupyter.org/github/dennissergeev/stretched_mesh_code/blob/main/src/scripts/Show-Bistability.ipynb) |\n\n\n\u003ch2 align=\"center\"\u003eHow to reproduce figures\u003c/h2\u003e\n\n\u003ch3 align=\"center\"\u003eSet up environment\u003c/h3\u003e\n\nTo recreate the required environment for running Python code, follow these steps. (Skip the first two steps if you have Jupyter with `nb_conda_kernels` installed already.)\n\n1. Install conda or mamba, e.g. using [miniforge](https://github.com/conda-forge/miniforge).\n2. Install necessary packages to the `base` environment. Make sure you are installing them from the `conda-forge` channel.\n```bash\nmamba install -c conda-forge jupyterlab nb_conda_kernels conda-lock\n```\n3. Git-clone or download this repository to your computer.\n4. In the command line, navigate to the downloaded folder, e.g.\n```bash\ncd /path/to/downloaded/repository\n```\n5. Create a conda environment from the lock file.\n```\nconda-lock install --name stretched_mesh_env conda-lock.yml\n```\n\n\u003ch3 align=\"center\"\u003eOpen the code\u003c/h3\u003e\n\n1. Start the Jupyter Lab, for example from the command line (from the `base` environment).\n```bash\njupyter lab\n```\n2. Open notebooks in the `stretched_mesh_env` environment start running the code.\n\n\u003ch2 align=\"center\"\u003e\nSystem information\n\u003c/h2\u003e\n\n--------------------------------------------------------------------------------\n  Date: Tue Apr 30 11:43:52 2024 BST\n\n                OS : Linux\n            CPU(s) : 56\n           Machine : x86_64\n      Architecture : 64bit\n               RAM : 502.6 GiB\n       Environment : Python\n       File system : ext4\n\n  Python 3.12.3 | packaged by conda-forge | (main, Apr 15 2024, 18:38:13) [GCC\n  12.3.0]\n\n             numpy : 1.26.4\n             scipy : 1.13.0\n           IPython : 8.22.2\n        matplotlib : 3.8.4\n            scooby : 0.9.2\n--------------------------------------------------------------------------------\n\n```bash\npython -c 'import scooby; print(scooby.Report())'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdennissergeev%2Fstretched_mesh_code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdennissergeev%2Fstretched_mesh_code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdennissergeev%2Fstretched_mesh_code/lists"}