npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

grads

v0.4.1

Published

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

Downloads

2

Readme

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".