{"id":15555275,"url":"https://github.com/brews/dearprudence","last_synced_at":"2025-04-23T20:31:27.190Z","repository":{"id":40903143,"uuid":"431507653","full_name":"brews/dearprudence","owner":"brews","description":"Internal Python library filled with sugar for swallowing downscalingCMIP6 parameter files.","archived":false,"fork":false,"pushed_at":"2025-04-11T20:06:44.000Z","size":409,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-17T01:27:37.801Z","etag":null,"topics":["cmip6","downscaling","gdpcir","library","package","python","yaml"],"latest_commit_sha":null,"homepage":"","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/brews.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-11-24T14:06:11.000Z","updated_at":"2025-04-11T20:06:42.000Z","dependencies_parsed_at":"2023-10-26T22:32:46.854Z","dependency_job_id":"82740eb6-4946-4b2b-81a9-df6e2e8a7299","html_url":"https://github.com/brews/dearprudence","commit_stats":{"total_commits":235,"total_committers":3,"mean_commits":78.33333333333333,"dds":"0.37446808510638296","last_synced_commit":"110ff0ec4801ca080467f838ff55aca35ed5365c"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brews%2Fdearprudence","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brews%2Fdearprudence/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brews%2Fdearprudence/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brews%2Fdearprudence/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brews","download_url":"https://codeload.github.com/brews/dearprudence/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250509541,"owners_count":21442446,"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":["cmip6","downscaling","gdpcir","library","package","python","yaml"],"created_at":"2024-10-02T15:07:50.476Z","updated_at":"2025-04-23T20:31:27.165Z","avatar_url":"https://github.com/brews.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Test](https://github.com/brews/dearprudence/actions/workflows/test.yaml/badge.svg)](https://github.com/brews/dearprudence/actions/workflows/test.yaml)\n[![codecov](https://codecov.io/gh/brews/dearprudence/branch/main/graph/badge.svg?token=FZD8KX4RC1)](https://codecov.io/gh/brews/dearprudence)\n\n# dearprudence\nInternal Python library filled with sugar for swallowing downscalingCMIP6 parameter files.\n\n## Examples\n\n```python\nimport dearprudence\n\n\ntasmax_spec = dearprudence.read_params(\"GFDL-ESM4-tasmax.yaml\")\n\nprint(tasmax_spec[0].ssp)\n# Cmip6Record(activity_id='ScenarioMIP',\n#             experiment_id='ssp370', \n#             table_id='day', \n#             variable_id='tasmax', \n#             source_id='GFDL-ESM4', \n#             institution_id='NOAA-GFDL', \n#             member_id='r1i1p1f1',\n#             grid_label='gr1',\n#             version='20180701')\n\ntasmax_spec[0].variable_id = \"foobar\"\ndearprudence.write_params(\"pointlessly_modified.yaml\", tasmax_spec)\n\nif dearprudence.cmip6_catalog_has(tasmax_spec[0].ssp):\n    print(\"Exists in CMIP6 In The Cloud!\")\n```\n\n## Installation\n\nInstall with `pip` using:\n```shell\npip install dearprudence\n```\n\n`dearprudence` requires Python \u003e 3.9. No external packages are required. The `intake_esm` package needs to be installed to use `dearprudence.check_cmip6_catalog()`.\n\nInstall the unreleased bleeding-edge version of the package with:\n```shell\npip install git+https://github.com/brews/dearprudence\n```\n\n## Support\nSource code is available online at https://github.com/brews/dearprudence/. This software is Open Source and available under the Apache License, Version 2.0.\n\n## Development\n\nPlease file bugs in the [bug tracker](https://github.com/brews/dearprudence/issues).\n\nWant to contribute? Great! Fork the main branch and file a pull request when you're ready. Please be sure to write unit tests and follow [pep8](https://www.python.org/dev/peps/pep-0008/). Fork away!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrews%2Fdearprudence","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrews%2Fdearprudence","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrews%2Fdearprudence/lists"}