{"id":22411112,"url":"https://github.com/e3sm-project/e3sm_to_cmip","last_synced_at":"2025-07-31T21:31:10.560Z","repository":{"id":32208078,"uuid":"131905568","full_name":"E3SM-Project/e3sm_to_cmip","owner":"E3SM-Project","description":"Tools to CMORize E3SM output","archived":false,"fork":false,"pushed_at":"2024-11-11T03:03:04.000Z","size":7211,"stargazers_count":7,"open_issues_count":56,"forks_count":7,"subscribers_count":116,"default_branch":"master","last_synced_at":"2024-11-11T04:17:58.724Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://e3sm-to-cmip.readthedocs.io/en/latest/","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/E3SM-Project.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":"2018-05-02T21:02:04.000Z","updated_at":"2024-10-16T21:51:12.000Z","dependencies_parsed_at":"2023-02-17T11:45:16.073Z","dependency_job_id":"8582a8d7-7522-4879-b019-6d2445c36d06","html_url":"https://github.com/E3SM-Project/e3sm_to_cmip","commit_stats":{"total_commits":600,"total_committers":16,"mean_commits":37.5,"dds":"0.28833333333333333","last_synced_commit":"c222f9ffb10d389a1da593227ebe9f21da063961"},"previous_names":[],"tags_count":33,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/E3SM-Project%2Fe3sm_to_cmip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/E3SM-Project%2Fe3sm_to_cmip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/E3SM-Project%2Fe3sm_to_cmip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/E3SM-Project%2Fe3sm_to_cmip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/E3SM-Project","download_url":"https://codeload.github.com/E3SM-Project/e3sm_to_cmip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228304099,"owners_count":17898920,"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-05T13:13:04.262Z","updated_at":"2024-12-05T13:13:04.942Z","avatar_url":"https://github.com/E3SM-Project.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# e3sm_to_cmip\n\nA cli utility to transform E3SM model output into CMIP compatible data.\n\n[![Anaconda-Server Badge](https://anaconda.org/conda-forge/e3sm_to_cmip/badges/version.svg)](https://anaconda.org/conda-forge/e3sm_to_cmip)\n[![Anaconda-Server Badge](https://anaconda.org/conda-forge/e3sm_to_cmip/badges/downloads.svg)](https://anaconda.org/conda-forge/e3sm_to_cmip)\n[![CI/CD Build Workflow](https://github.com/E3SM-Project/e3sm_to_cmip/actions/workflows/build_workflow.yml/badge.svg)](https://github.com/E3SM-Project/e3sm_to_cmip/actions/workflows/build_workflow.yml)\n[![Ruff Badge](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n\n[Documentation](https://e3sm-to-cmip.readthedocs.io/en/latest/)\n\n## Installation\n\nThere are two ways to install the e3sm_to_cmip package. Either use (1) the pre-built conda package through `conda-forge`, which will bring all the dependencies with it, or (2) setup the local development environment to install dependencies and use the source code directly.\n\n### \u003cins\u003e(1) Conda\u003c/ins\u003e\n\nYou can install the `e3sm_to_cmip` conda package directly from the `conda-forge` channel:\n\n```\nconda create -n e2c -c conda-forge e3sm_to_cmip\n```\n\nGet a copy of the CMIP6 Controlled Vocabulary tables\n\n```\ngit clone https://github.com/PCMDI/cmip6-cmor-tables.git\n```\n\n### \u003cins\u003e(2) Conda Development Environment and Source Code\u003c/ins\u003e\n\nFirst, clone the repo and set up the conda dev environment:\n\n```\ngit clone https://github.com/E3SM-Project/e3sm_to_cmip.git\ncd e3sm_to_cmip\nconda env create -f conda-env/dev.yml\nconda activate e3sm_to_cmip_dev\n```\n\nOnce you have dev environment setup, simply run:\n\n```bash\npython -m pip install .\n```\n\nHint: Before re-installing, running `make clean` can ensure a clean installation.\n\n## Example\n\nHere's an example of the tool usage, with the variables tas, prc, and rlut. The time-series files containing the regridded output are in a directory named input_path, and a directory named output_path will be used to hold the CMIP6 output. A copy of an example metadata definition file (default_metadata.json) can be found [here](https://github.com/E3SM-Project/e3sm_to_cmip/blob/master/e3sm_to_cmip/resources/default_metadata.json).\n\n```\ne3sm_to_cmip -v tas, prc, rlut --realm atm --input ./input_path/ --output ./output_path/ -t ~/cmip6-cmor-tables/Tables -u default_metadata.json\n```\n\nThis will produce a directory tree named CMIP6 below the output_path, with the CMIP6 directory tree based on the metadata json file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe3sm-project%2Fe3sm_to_cmip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fe3sm-project%2Fe3sm_to_cmip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe3sm-project%2Fe3sm_to_cmip/lists"}