Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.9%) to scientific vocabulary
Repository
Bulk download PRISM data from OSU api.
Basic Info
- Host: GitHub
- Owner: travisz09
- Language: Jupyter Notebook
- Default Branch: main
- Homepage: https://travisz09.github.io/PRISM/
- Size: 73.7 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
PRISM
Bulk download PRISM data from OSU api.
Travis Zalesky
Download bulk data from Oregon State University (OSU) Climate Group Parameter-elevation Regressions on Independent Slopes Model (PRISM).
PRISM data is available for a variety of common climate variables such as min/max temperature, precipitation, dew point etc. which are extremely useful in a variety of research applications. These datasets can be conveniently accessed through the PRISM website, or they can be accessed programmatically through the data api using the R package prism.
While the prism R package is great, this script extends the prism package in an attempt to solve a common problem. PRISM data is delivered as a raster for the contiguous US (at 4Km or 800m resolution), when often only a much smaller extent is needed to answer the research question at hand. Depending on the project, storing a large number of rasters for the whole US may be unnecessary and could massively increase data storage costs. Originally developed for a research project covering the Phoenix Metro. area this script is designed to work with a shapefile defining the area of interest, and includes a variety of functions which will iteratively (1) download the requested data file from PRISM, (2) clip the data to the study area, and (3) save the output clipped raster, preserving all relevant metadata and file structure. The original (US extent) data files are then, optionally, deleted to save storage space.
This repository requires a Shapefile (not provided), and is not intended to be run top to bottom. Rather there are a few variables near the top that are to be updated based on the PRISM vars required by the users, the shapefile is loaded into the R environment, then the user should identify the correct code block to run based on the temporal resolution needed for their research.
Thanks to the people at OSU Climate Group, as well as Edmund M. Hart and Kendon Bell, authors of the prism R package.
Feel free to use or modify these scripts as you see fit. I would appreciate it if you acknowledged the source for any substantial portion of this code used in your project. Thank you.
Owner
- Login: travisz09
- Kind: user
- Repositories: 1
- Profile: https://github.com/travisz09
Citation (Citations.md)
Hart, E. M., & Bell, K. (2015). prism: Download data from the Oregon prism project. https://doi.org/10.5281/zenodo.33663 Hijmans, R. J. (2023). terra: Spatial Data Analysis. https://CRAN.R-project.org/package=terra PRISM Climate Group, Oregon State University, https://prism.oregonstate.edu R Core Team. (2021). R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing. https://www.R-project.org/
GitHub Events
Total
- Delete event: 2
- Push event: 51
- Create event: 4
Last Year
- Delete event: 2
- Push event: 51
- Create event: 4
Issues and Pull Requests
Last synced: 8 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v4 composite
- quarto-dev/quarto-actions/publish v2 composite
- quarto-dev/quarto-actions/setup v2 composite
- Jinja2 ==3.1.2
- MarkupSafe ==2.1.3
- Pillow ==10.0.0
- PyYAML ==6.0
- Pygments ==2.15.1
- QtPy ==2.3.1
- Send2Trash ==1.8.2
- anyio ==3.7.1
- appnope ==0.1.3
- argon2-cffi ==21.3.0
- argon2-cffi-bindings ==21.2.0
- arrow ==1.2.3
- asttokens ==2.2.1
- attrs ==23.1.0
- backcall ==0.2.0
- beautifulsoup4 ==4.12.2
- bleach ==6.0.0
- cffi ==1.15.1
- comm ==0.1.3
- contourpy ==1.1.0
- cycler ==0.11.0
- debugpy ==1.6.7
- decorator ==5.1.1
- defusedxml ==0.7.1
- executing ==1.2.0
- fastjsonschema ==2.17.1
- fonttools ==4.40.0
- fqdn ==1.5.1
- idna ==3.4
- ipykernel ==6.24.0
- ipython ==8.14.0
- ipython-genutils ==0.2.0
- ipywidgets ==8.0.7
- isoduration ==20.11.0
- jedi ==0.18.2
- jsonpointer ==2.4
- jsonschema ==4.18.0
- jsonschema-specifications ==2023.6.1
- jupyter ==1.0.0
- jupyter-console ==6.6.3
- jupyter-events ==0.6.3
- jupyter_client ==8.3.0
- jupyter_core ==5.3.1
- jupyter_server ==2.7.0
- jupyter_server_terminals ==0.4.4
- jupyterlab-pygments ==0.2.2
- jupyterlab-widgets ==3.0.8
- kiwisolver ==1.4.4
- matplotlib ==3.7.2
- matplotlib-inline ==0.1.6
- mistune ==3.0.1
- nbclassic ==1.0.0
- nbclient ==0.8.0
- nbconvert ==7.6.0
- nbformat ==5.9.1
- nest-asyncio ==1.5.6
- notebook ==6.5.4
- notebook_shim ==0.2.3
- numpy ==1.25.1
- overrides ==7.3.1
- packaging ==23.1
- pandas ==2.0.3
- pandocfilters ==1.5.0
- parso ==0.8.3
- pexpect ==4.8.0
- pickleshare ==0.7.5
- platformdirs ==3.8.1
- prometheus-client ==0.17.0
- prompt-toolkit ==3.0.39
- psutil ==5.9.5
- ptyprocess ==0.7.0
- pure-eval ==0.2.2
- pycparser ==2.21
- pyparsing ==3.0.9
- python-dateutil ==2.8.2
- python-json-logger ==2.0.7
- pytz ==2023.3
- pyzmq ==25.1.0
- qtconsole ==5.4.3
- referencing ==0.29.1
- rfc3339-validator ==0.1.4
- rfc3986-validator ==0.1.1
- rpds-py ==0.8.10
- six ==1.16.0
- sniffio ==1.3.0
- soupsieve ==2.4.1
- stack-data ==0.6.2
- terminado ==0.17.1
- tinycss2 ==1.2.1
- tornado ==6.3.2
- traitlets ==5.9.0
- tzdata ==2023.3
- uri-template ==1.3.0
- wcwidth ==0.2.6
- webcolors ==1.13
- webencodings ==0.5.1
- websocket-client ==1.6.1
- widgetsnbextension ==4.0.8