All Projects → brycejohnston → agroclimatology

brycejohnston / agroclimatology

Licence: MIT license
Ruby client for interacting with the NASA (POWER) Agroclimatology Web Resource

Programming Languages

ruby
36898 projects - #4 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to agroclimatology

WorldWeather
The largest three-dimensional web-based interactive browser of satellite, weather, climate, and other time-aware geospatial data on the web, built upon NASA's revolutionary WorldWind technology.
Stars: ✭ 49 (+206.25%)
Mutual labels:  nasa, climate
nasa-imagery-fetcher
Android app that fetches images from NASA's Image of the Day and Astronomy Picture of the Day services
Stars: ✭ 16 (+0%)
Mutual labels:  nasa
Eduponics-Mini
MicroPython MQTT & code example for Eduponics mini ESP32 learning kit
Stars: ✭ 41 (+156.25%)
Mutual labels:  agriculture
climateconnect
The global climate action web platform. 🌏
Stars: ✭ 45 (+181.25%)
Mutual labels:  climate
pytorch-psetae
PyTorch implementation of the model presented in "Satellite Image Time Series Classification with Pixel-Set Encoders and Temporal Self-Attention"
Stars: ✭ 117 (+631.25%)
Mutual labels:  agriculture
HyRiver
A Python software stack for retrieving hydroclimate data from web services.
Stars: ✭ 68 (+325%)
Mutual labels:  climate
node-red-contrib-FIWARE official
FIWARE-Node-Red integration supporting NGSI-LD
Stars: ✭ 14 (-12.5%)
Mutual labels:  agriculture
YOLOV2-Tensorflow-2.0
Just another YOLO V2 implementation. Train your own dataset in a jupyter notebook!
Stars: ✭ 46 (+187.5%)
Mutual labels:  agriculture
climate ewelink
Control your Midea air conditioner devices via the eWeLink cloud
Stars: ✭ 42 (+162.5%)
Mutual labels:  climate
esphome-panasonic-ac
Open source alternative for Panasonic air condition wifi adapters that works locally without the Comfort Cloud
Stars: ✭ 109 (+581.25%)
Mutual labels:  climate
agro
AgrO describes agronomic practices, techniques, and variables used in agronomic experiments.
Stars: ✭ 39 (+143.75%)
Mutual labels:  agriculture
regen-ledger
Blockchain for planetary regeneration
Stars: ✭ 154 (+862.5%)
Mutual labels:  agriculture
GFDL atmos cubed sphere
The GFDL atmos_cubed_sphere dynamical core code
Stars: ✭ 34 (+112.5%)
Mutual labels:  climate
Decision Analysis Course
🎓 Uni-Bonn Decision Analysis graduate course, lectures and materials
Stars: ✭ 17 (+6.25%)
Mutual labels:  agriculture
webb-tracker-api
James Webb Space Telescope (JWST) tracking REST API
Stars: ✭ 67 (+318.75%)
Mutual labels:  nasa
farmOS-map
farmOS Map is an OpenLayers wrapper library designed for agricultural mapping needs. It can be used in any project that has similar requirements.
Stars: ✭ 18 (+12.5%)
Mutual labels:  agriculture
Farm-Data-Relay-System
A system that uses ESP-NOW, LoRa, and other protocols to transport sensor data in remote areas without relying on WiFi.
Stars: ✭ 97 (+506.25%)
Mutual labels:  agriculture
MqttIrext
该仓库目的是作出基于ESP利用MQTT通信、IRext开源库实现万能红外遥控
Stars: ✭ 31 (+93.75%)
Mutual labels:  climate
dymos
Open Source Optimization of Dynamic Multidisciplinary Systems
Stars: ✭ 128 (+700%)
Mutual labels:  nasa
oasis-grow
Data collection, equipment control, and imaging engine for environmental IoT applications. Runs on RPi/ARM and interfaces with Arduino/ATmega minions over serial.
Stars: ✭ 53 (+231.25%)
Mutual labels:  agriculture

Agroclimatology

Gem Version Build Status

Ruby client for interacting with the NASA (POWER) Agroclimatology Web Resource

Initial functionality is focused on getting solar radiation data for a given latitude and longitude. Other solar radiation and meteorological query parameters will be available in subsequent versions.

Installation

Add this line to your application's Gemfile:

gem 'agroclimatology'

And then execute:

$ bundle

Or install it yourself as:

$ gem install agroclimatology

Usage

Required params

  • latitude
  • longitude

Optional params

  • year_start (default: 1983)
  • year_end (default: current year)
Agroclimatology.fetch(latitude, longitude, year_start, year_end)

Examples

Fetch all solar radiation data

Agroclimatology.fetch(37.752798, -100.017079)

Fetch solar radiation data from 2015 - 2016

Agroclimatology.fetch(-26.660446, 152.964647, 2015, 2016)
[
  {
    :year => "2015",
    :day_of_year => "1",
    :rad_atmosphere => "42.84",
    :rad_surface => "27.47",
    :rad_flux => "34.78"
  },
  {
    :year => "2015",
    :day_of_year => "2",
    :rad_atmosphere => "43.27",
    :rad_surface => "23.00",
    :rad_flux => "34.81"
  },
]

Output

Ruby object containing array of hashes for every day included in year_start - year_end range

  • year - Year
  • day_of_year - Day of Year
  • rad_atmosphere - Average Top-of-atmosphere Insolation (MJ/m^2/day)
  • rad_surface - Average Insolation Incident On A Horizontal Surface (MJ/m^2/day)
  • rad_flux - Average Downward Longwave Radiative Flux (MJ/m^2/day)

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment. To install this gem onto your local machine, run bundle exec rake install.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/beaorn/agroclimatology.

Acknowledgments

Data provided by NASA (POWER) Agroclimatology Web Resource

License

The gem is available as open source under the terms of the MIT License (see LICENSE.txt)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].