{"id":48418657,"url":"https://github.com/yefee/xcesm","last_synced_at":"2026-04-06T07:35:36.359Z","repository":{"id":50513141,"uuid":"85372064","full_name":"Yefee/xcesm","owner":"Yefee","description":"python package for cesm output diagnosis","archived":false,"fork":false,"pushed_at":"2019-06-21T15:24:39.000Z","size":7152,"stargazers_count":20,"open_issues_count":1,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-01-31T19:42:43.094Z","etag":null,"topics":["cesm","data-analysis","regrid"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Yefee.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":"2017-03-18T03:08:20.000Z","updated_at":"2023-12-21T17:54:01.000Z","dependencies_parsed_at":"2022-09-02T00:42:22.682Z","dependency_job_id":null,"html_url":"https://github.com/Yefee/xcesm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Yefee/xcesm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yefee%2Fxcesm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yefee%2Fxcesm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yefee%2Fxcesm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yefee%2Fxcesm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yefee","download_url":"https://codeload.github.com/Yefee/xcesm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yefee%2Fxcesm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31463167,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"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":["cesm","data-analysis","regrid"],"created_at":"2026-04-06T07:35:36.239Z","updated_at":"2026-04-06T07:35:36.339Z","avatar_url":"https://github.com/Yefee.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About xcesm\nXcesm tries to provide an easy-to-use plugin for xarray to better handle CESM output in python. \n\n# Features\nXcesm is still in developing, right now it has the following features:\n* quick plot on global map (quickmap)\n* regrid pop output to linear grids (regrid, nearest interpolation)\n* compute global mean (gbmean, gbmeanpop)\n* diagnose AMOC, PRECP, d18O(only support for iCESM), Heat transport etc.\n* truncate ocean as several main basins (ocean_region)\n\nMore feature will be added in the future.\n\n# How to install\n### via git\n```\ngit clone https://github.com/Yefee/xcesm.git\ncd xcesm\npython setup.py install\n```\n\n# How to use\n### regrid\n```\nimport xarray as xr\nimport xcesm\nds = xr.open_dataset('/examples/data/salt.nc')\n# defalut to 1x1 degree\nsalt_rgd = ds.SALT.utils.regrid()\n\nprint(ds.SALT.shape)\n(384, 320)\n\nprint(salt_rgd.shape)\n(181, 361)\n```\n\n### quick plot\n```\nsalt_rgd.utils.quickmap()\n```\n![salt_distribution](https://github.com/Yefee/xcesm/blob/master/xcesm/examples/fig/salt.png)\n\n\n# And more\nI don't have time to write documentation recently, but it will be released in this summer!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyefee%2Fxcesm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyefee%2Fxcesm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyefee%2Fxcesm/lists"}