{"id":15555254,"url":"https://github.com/brews/nastyprisms","last_synced_at":"2025-03-29T02:44:37.292Z","repository":{"id":39092795,"uuid":"479205406","full_name":"brews/nastyprisms","owner":"brews","description":"Containerized command line application to download and preprocess daily PRISM climate fields into a single Zarr Store.","archived":false,"fork":false,"pushed_at":"2022-06-24T00:52:06.000Z","size":52,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-28T23:34:47.135Z","etag":null,"topics":[],"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}},"created_at":"2022-04-08T01:37:44.000Z","updated_at":"2022-04-13T19:36:12.000Z","dependencies_parsed_at":"2022-09-16T22:41:00.898Z","dependency_job_id":null,"html_url":"https://github.com/brews/nastyprisms","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brews%2Fnastyprisms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brews%2Fnastyprisms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brews%2Fnastyprisms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brews%2Fnastyprisms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brews","download_url":"https://codeload.github.com/brews/nastyprisms/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246131242,"owners_count":20728299,"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-10-02T15:07:36.835Z","updated_at":"2025-03-29T02:44:37.260Z","avatar_url":"https://github.com/brews.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build, push image](https://github.com/brews/nastyprisms/actions/workflows/buildpush.yaml/badge.svg)](https://github.com/brews/nastyprisms/actions/workflows/buildpush.yaml)\n\n# nastyprisms\n\nA simple containerized command-line application to download and process daily [PRISM climate fields](https://www.prism.oregonstate.edu/) into a single Zarr Store.\n\n## Example\n\nThis script is usually run as from container as part of a larger orchestrated workflow on Kubernetes, but you can also run this locally. For example, this downloads a range of years and clips to a bounding box around California after reprojecting the climate data to [EPSG:4326](https://epsg.io/4326):\n\n```shell\ndocker pull ghcr.io/brews/nastyprisms:0.2.0\ndocker run ghcr.io/brews/nastyprisms:0.2.0 \\\n  --firstyear 1999 \\\n  --lastyear 2000 \\\n  --variable \"tmean\" \\\n  --epsg \"4326\" \\\n  --clipbox \"minlon=-125.0,minlat=32.0,maxlon=-114.0,maxlat=43.0\" \\\n  --outzarr \"gs://myscratchbucket/prism-tmean-1999-2000.zarr\"\n```\n\n`./example-workflow.yaml` is an Argo Workflow using the `nastyprisms` container to download 3 separate variables in a way that balances reliable processing without beating the PRISM FTP server to death with requests.\n\n## Installation\n\nGrab the latest copy of the container with \n\n```shell\ndocker pull ghcr.io/brews/nastyprisms:latest\n```\n\nIf you're tinkering with the source code the `conda` virtual environment specs used for container builds are in `environment.yaml`. We recommend you build your virtual environment with `conda` because this depends on several difficult-to-compile geospatial libraries.\n\n## Support\n\nSource code is available online at https://github.com/brews/nastyprisms. This software is Open Source and available under the Apache License, Version 2.0.\n\nPlease file bugs at https://github.com/brews/nastyprisms/issues.\n\nFeel free to fork the code and file a merge-request with bug fixes and improvements. Or just fork the code for yourself.\n\n\"nastyprisms\" is a reference to Dan Meth's Frederator video [\"Pink Floyd's Syd Barrett Visits His Accountant\"](https://www.youtube.com/watch?v=YMNWHLPSgBE). It's the only thing I could think of at the time that references \"prism\".\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrews%2Fnastyprisms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrews%2Fnastyprisms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrews%2Fnastyprisms/lists"}