Git Product home page Git Product logo

3rww / rainfall Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 2.0 36.61 MB

Search, visualize, and download real-time and historic hyper-local rainfall data in Allegheny County, PA

Home Page: https://3rww.github.io/rainfall/

License: Apache License 2.0

JavaScript 96.85% HTML 0.93% Shell 0.09% SCSS 2.12%
animation bootstrap calibrated gauges geodata historic mapbox radar rainfall react spatial temporal visualization

rainfall's People

Contributors

gassc avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

rainfall's Issues

Excel-compatible timestamp formatting for rainfall results

Currently, timestamps (including timezone offset) are returned using the RFC 3339 standard (ISO-8061 format). Excel doesn't automatically parse this out, requiring an extra step for end-users of the CSV download. We can return a spec that Excel will automatically parse.

Active vs. inactive gauges

Need to make the distinction between active and inactive gauges in the various download contexts.

  • Real-time rainfall should only be able to download from active gauges.
  • Historic should handle both active and inactive (because we have data for previous gauges).
  • The map symbology and labeling should make it clear what is active/inactive.

Update rain gauge and pixel sources

Two gauges were moved this spring.

  • Bell Acres >>> West Deer
  • Pitt >>> Schenley

This has been updated in the 3RWW API. However, this app uses static copies of that data.

Change that so we use the dynamic sources.

Historic rainfall charts

On map hover or click, in a map pop-up, show charts for:

  • Year-to-date
  • Annual averages for last 5 10, and 20 years
  • Amount for last recorded rainfall event
  • ???

Having any of this summary data at the ready will require

  • some new API endpoints,
  • semi-regularly updated materialized views in the database, since the queries behind these stats would be massive

Realtime rainfall charts

On hover or click, withing a map pop-up, show a chart for:

  • rainfall over the last 12 hours
  • ???

Realtime rainfall animations+playback

  • Mimic playback presets available in the legacy site
  • Include playback controls
  • Have a "quick" download option available
  • Auto-request this data with the page load
  • Make a killer animation!

Question about the Calibrated Radar Rainfall Data

Hello Christian,
How are you.
Very pleased to read about your work, very fascinating. I have a question, how do you correct the radar data? Is there a description of the method, or a relevant published article?

best wishes,
Xing WANG

Re-shapeable results table

Enable the ability to convert from the current long format to a wide format, where sensors and metadata are in columns (like the legacy site)

new "Explorer" tab

Create a new context/view that is:

  • unifies the workflow for provisional and qa/qc'd data; a "best of"
  • puts the rainfall events front-and-center
  • emphasizes visualization of stats between sensors and over time
  • enables comparison and diffing between different events.
  • by default has no geographic constraints: all gauges, all pixels

This would use a lot of the existing and planned components under the hood, but re-arrange them to support a new, exploratory workflow.

This could also possibly be done (or at least prototyped) in a Dash app.

rainfall events search - dates, locations, characteristics, names

A key feature of this viewer is providing shortcuts to date-time ranges of known rainfall events. This information comes from Vieux (we just need to pull it into the database and provide through rainfall-api.

From that data, and with other data attributes on storm events (e.g., we know the name of the storm was Hurricane Ivan, or we know there was flooding reported), have text-based and visual ways to search and select events (e.g. timeline).

Legend w/ dynamic symbology updater

Create a map legend component; Control it with preset scale options and maybe a few color options--control in the nav bar.

Consider being able to switch from showing rainfall totals to DDF.

3D results

Get those rainfall results showing in 3D! Need to work-around the transparency issue for pixels with no-data (simply by eliminating those geometries for results, which means separating the results and hover layers in the stylesheet)

Longer term: consider using color and height to represent different things: e.g., DDF for a default return period (or a comparable one if we have an event on record) for color, and height for rainfall

Mobile adaptivity

Need to update the layout classes to adjust for appropriate screen breakpoints.

Check on RTRR vs RTRG timestamp conversion

Timestamps are showing a 3 hour difference between rain gauges and radar pixels (real-time data only).

image

This is likely an error in the timezone conversion on the real-time gauge data (it comes in as PST).

decimal places

Investigate results with many, many decimal places (many zeroes). Shouldn't be more than what Datawise and Vieux show. This may be happening in the API, but at the very least we should truncate for download.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.