Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grads

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grads

Javascript-based GrADS (Grid Analysis and Display System) Data Server client. Primarily an API for accessing weather forecast/climate data for a location or area. Currently, acccesses a few GFS variables but working to include the majority of human-usable

  • 0.4.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

GrADS Circle CI

Javascript-based GrADS (Grid Analysis and Display System) Data Server client. Primarily an API for accessing weather forecast/climate data for a location or area. Currently, acccesses a few GFS variables but working to include the majority of human-usable variables (do you care about surface flux or gravity wave stuff? I don't!)

Note: while this application does provide access to very detailed and useful weather/climate metrics in a very pragmatic way, please do not use it to provide on-demand weather data to end users. It makes a request to NOAA for every variable, every time you need to access it, minus a short cache of previously directed variables. Weather Underground provides a more suitable API for this purpose. This application was intended for modelling and research purposes only.

Applications & Implementation ideas:

  • (originally) trajectory prediction for weather balloons & payloads
  • Access weather conditions via forecast (weather model, not sensors) for nearly any point on planet.
  • Access wave conditions for a majority of the water on the planet (weather model, not sensors)
  • Visualize weather conditions for an entire country at once. Quite interesting seeing this on poorer countries.
  • Potientally create a forecast broadcast system for small countries with a small decoding device.

GrADS is a beast of a server to access. I've worked on this code for several years now and finally am comfortable that I'm doing it right.

Usage

Coming soon!

Basically:

var grads = new Grads( lat, lon, alt(m) );

grads.fetch('temperature', function( values, config ) {
    var tempInKelvin = values[0][0][0];
});

TODO

This is based off some code I wrote years ago so it's pretty simple for now. Eventually, it'd be nice to have the following features:

  • Working/selectable time ranges
  • Auto-selection of most "valuable" model

In the Future

Some cool data for the intended use case (physics simulation) would be to implement the following available datasets (from http://ruc.noaa.gov/rr/RAP_var_diagnosis.html) -

  • Vertical Velocity

Notes

* I'm not sure if this breaks a NOAA "term of service".

Keywords

FAQs

Package last updated on 06 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc