https://github.com/bluegreen-labs/daymetpy

A python script to download Daymet data

https://github.com/bluegreen-labs/daymetpy

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    3 of 5 committers (60.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.0%) to scientific vocabulary

Keywords

climate-data data-retrieval daymet ornl-daac python
Last synced: 5 months ago · JSON representation

Repository

A python script to download Daymet data

Basic Info
Statistics
  • Stars: 20
  • Watchers: 1
  • Forks: 10
  • Open Issues: 0
  • Releases: 0
Topics
climate-data data-retrieval daymet ornl-daac python
Created almost 10 years ago · Last pushed over 6 years ago
Metadata Files
Readme License

README.md

build_status status version number python Buy Me A Coffee Donate using Liberapay

daymetpy: A python library for accessing Daymet surface weather data

daymetpy attempts to fill the need for easy, integrated access to gridded daily Daymet weather data. The data are hosted by the Oak Ridge National Laboratories DAAC and accessed from their web service.

Installation

Install the package using pip and the following command:

python pip install daymetpy

Use

Example code to calculate the temperature difference between Denver and Miami is given below. This gives an idea of code functionality and use. A worked example in an ipython notebook format can be found in the 'example' subdirectory.

```python import sys import daymetpy import pandas as pd import seaborn as sns import matplotlib.pyplot as plt

denverloc = (-104.9903, 39.7392) miamiloc = (-80.2089, 25.7753)

denver = daymetpy.daymettimeseries(lon=denverloc[0], lat=denverloc[1], startyear=2012, endyear=2014) miami = daymetpy.daymettimeseries(lon=miamiloc[0], lat=miamiloc[1], startyear=2012, endyear=2014)

fig, ax1 = plt.subplots(1, figsize=(18, 10)) rolling3day = denver.rolling(15).mean() ax1.fillbetween(rolling3day.index, rolling3day.tmin, rolling3day.tmax, alpha=0.4, lw=0, label='Denver', color=sns.xkcdpalette(['faded green'])[0]) ax1.settitle('Denver vs Miami temps (15 day mean)', fontsize=20) rolling3day = miami.rolling(15).mean() ax1.fillbetween(rolling3day.index, rolling3day.tmin, rolling3day.tmax, alpha=0.4, lw=0, label='Miami', color=sns.xkcdpalette(['dusty purple'])[0]) ax1.setylabel(u'Temp. (°C)', fontsize=20) fig.tight_layout() plt.legend(fontsize=20) ```

Requirements

Pandas / seaborn are required.

Contributors

  • Koen Hufkens: koen.hufkens@gmail.com
  • Colin Talbert

Owner

  • Name: BlueGreen Labs
  • Login: bluegreen-labs
  • Kind: organization
  • Email: info@bluegreenlabs.org
  • Location: Melsele, Belgium

BlueGreen open science labs & consulting, providing environmental research infrastructure and editorial solutions.

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 54
  • Total Committers: 5
  • Avg Commits per committer: 10.8
  • Development Distribution Score (DDS): 0.5
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Koen Hufkens k****s@g****m 27
Colin Talbert t****c@u****v 21
Koen Hufkens k****s@f****) 3
Tom Milliman t****n@u****u 2
Ryan Avery r****y@u****u 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 1
  • Total pull requests: 3
  • Average time to close issues: 6 days
  • Average time to close pull requests: about 7 hours
  • Total issue authors: 1
  • Total pull request authors: 3
  • Average comments per issue: 5.0
  • Average comments per pull request: 0.67
  • Merged pull requests: 3
  • 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
  • khufkens (1)
Pull Request Authors
  • rbavery (1)
  • khufkens (1)
  • tmilliman (1)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

requirements.txt pypi
  • pandas *
  • seaborn *