{"id":22411015,"url":"https://github.com/e3sm-project/a-prime","last_synced_at":"2025-10-08T22:15:00.901Z","repository":{"id":82690864,"uuid":"92997342","full_name":"E3SM-Project/a-prime","owner":"E3SM-Project","description":"ACME Priority Metrics","archived":false,"fork":false,"pushed_at":"2019-11-04T16:25:45.000Z","size":726,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":129,"default_branch":"master","last_synced_at":"2025-06-04T03:21:02.815Z","etag":null,"topics":["climate","climate-science"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/E3SM-Project.png","metadata":{"files":{"readme":"README","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}},"created_at":"2017-05-31T23:28:20.000Z","updated_at":"2019-08-24T16:24:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"67747e45-6846-4112-b34e-3f22a6b82874","html_url":"https://github.com/E3SM-Project/a-prime","commit_stats":{"total_commits":128,"total_committers":7,"mean_commits":"18.285714285714285","dds":0.484375,"last_synced_commit":"a8c084ab6f727904a2b38d8a93b9c83e2f978e3f"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/E3SM-Project/a-prime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/E3SM-Project%2Fa-prime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/E3SM-Project%2Fa-prime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/E3SM-Project%2Fa-prime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/E3SM-Project%2Fa-prime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/E3SM-Project","download_url":"https://codeload.github.com/E3SM-Project/a-prime/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/E3SM-Project%2Fa-prime/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000781,"owners_count":26082851,"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-08T02:00:06.501Z","response_time":56,"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":["climate","climate-science"],"created_at":"2024-12-05T13:12:45.757Z","updated_at":"2025-10-08T22:15:00.885Z","avatar_url":"https://github.com/E3SM-Project.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Python based scripts to generate E3SM Coupled Priority Metrics \n\n\nBasic pre-steps:\n\n   Clone E3SMM a-prime repository:\n     git clone https://github.com/E3SM-Project/a-prime\n\nAbout MPAS-Analysis:\n\n   MPAS-Analysis is loaded as a git submodule and this is done\n   for the user in the run_aprime driver. There is only one\n   circumstance in which the user has to load the submodule\n   manually, and that is when he/she wants to run aprime in\n   batch mode *and* the submodule has never been cloned before.\n   In that case, do the following:\n     cd a-prime/python/MPAS-Analysis\n     git submodule update --init\n   An alternative to this is to run a-prime on the login node\n   for the first time, so that the git submodule is initialized\n   for the user inside the driver.\n\nAbout conda and other environment issues:\n\n   The system is set up to load its own environment within the\n   driver, therefore the user needs to do *nothing* in that sense.\n   The e3sm-unified conda environment specific for a particular\n   machine is loaded properly inside run_aprime, and that includes\n   the updated version of nco.\n\nSupported machines as of September 2017:\n   1) edison/cori\n   2) titan/rhea\n   3) acme1/aims4\n\nAbout batch mode:\n\n   As of September 2017, it is available on edison and titan.\n\nMain steps to run aprime:\n\nI. Copy the template script run_aprime.bash to a user version\n   (e.g. run_aprime_$user.bash)\n\nII. Set case specific variables in driver (run_aprime_$user.bash)\n    script. See driver for more instructions on this.\n\nIII. Execute driver script (e.g. \"run_aprime_$user.bash\") to run\n     the diagnostics and create an html file.\n\n\n\nNOTES ABOUT SOFTWARE DESIGN:\n\n1. The script is flexible and extensible, meaning it is easy to add \n   more variables and observational datasets to the current set.\n\n2. Climatology diagnostics variables and their details are listed in the bash_scripts/ files:\n\t var_list_model_vs_model_climo.bash\tFor model vs. model comparisons\n\t var_list_model_vs_obs_climo.bash\tFor model vs. obs comparisons\n   Time Series diagnostics variables and their details are listed in the files:\n\t var_list_model_vs_model_time_series.bash\tFor model vs. model comparisons\n\t var_list_model_vs_obs_time_series.bash\t\tFor model vs. model comparisons\n\t\n   These lists can be easily extended to include other variables as needed,\n   simply by adding their details in the format used in the files. \n\n3. Multiple cases can be compared against a ref_case simultaneously, each comparison generating its own webpage.\n   In the works!\n\n4. The scripts generate separate log files for each step, making it easy to debug\n\n5. Several intermediary data files are written at various steps, making it easy to debugs\n\n6. The data files used for making the plots are also saved.\n\n\nThings to do:\n\n1. Accelerate code by harnessing parallelism further by submitting more jobs in the background\n2. Remove redundancies\n3. Generate mapping files for T85 and T341 (high res project) runs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe3sm-project%2Fa-prime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fe3sm-project%2Fa-prime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe3sm-project%2Fa-prime/lists"}