Skip to content

About

Examples for working with the FloodNet NYC data.

Topics

Resources

Stars

9 stars

Watchers

1 watching

Forks

Latest commit

 

History

108 Commits

Folders and files

Repository files navigation

FloodNet NYC Tutorials

Author: Mark Bauer

Disclaimer

This analysis uses the FloodNet NYC datasets on NYC Open Data, but is not endorsed by The City of New York. The City of New York cannot vouch for the data or analyses derived from these data after the data have been retrieved from NYC Open Data or related websites.


FloodNet NYC Data

FloodNet NYC consists of two datasets, both can be found on NYC Open Data:

  • Street Flooding Events Measured by FloodNet Sensors: Data presented here were collected by the FloodNet project, which is a collaboration between researchers at academic institutions (New York University and the City University of New York) and NYC government agencies (NYC Department of Environmental Protection, Mayor's Office of Climate & Environmental Justice, Office of Technology & Innovation), working with NYC residents. Data on flood water depth were collected by FloodNet sensors in one minute intervals, then analyzed to develop the flood event summary statistics presented here. A flood event is defined as a series of water depth measurements greater than 10 mm; all measured flood events presented here have undergone QC by a member of the FloodNet team.

  • Sensor Deployment Metadata: This data consists of metadata for each FloodNet sensor including its location. This data can be used to associate FloodNet sensor metadata with Flood Events in the ""FloodNet: Street Flooding Events Measured by FloodNet Sensors"" dataset. The ""Sensor ID"" column in each dataset should be used to make the association.

From NYC Open Data:

See attached data description document for more details on data collection, analysis & the publication to cite if using the data or including it in any publication or public presentation.

More information on the FloodNet project can be found here: https://www.floodnet.nyc

Visualization of the data in an online data dashboard can be found here: https://dataviz.floodnet.nyc

1. Introduction

FloodNet NYC is a network of low-cost sensors that measure hyperlocal, street-level flooding across New York City in near real time. These tutorials walk through downloading, inspecting, and analyzing the two FloodNet datasets published on NYC Open Data, from a first look at the raw data through sensor rankings and detailed flood-event profiles. They are written for anyone interested in flooding in New York City, and no engineering background is assumed. The questions and methods are steered toward urban hydrology and stormwater engineering: where and when streets flood, how its timing points to rain or tide, and what the observations can and can't tell us about why.

Goals

The goal of this project is to show how FloodNet's street-level observations can improve our understanding of urban flooding and support engineering investigations, while keeping the data and methods open to anyone who wants to use them. The FloodNet NYC program is one of my favorite programs in New York City, and I hope you find these tutorials helpful in advancing the study and analysis of flood risk.

2. Tutorials

  • 00-download-data.ipynb: How to download the FloodNet NYC data from NYC Open Data.

  • 01-load-inspect.ipynb: Demonstrates how to inspect both the Sensor Metadata and Flood Events datasets.

  • 02-sensor-rankings.ipynb: Ranks sensors and flood events by various statistics (e.g., max flood depth).

  • 03-flood-profiles.ipynb: Teaches how to read and plot flood profiles (depth over time), time how fast events reach a depth, and compare sensors during notable storms.

  • 04-latest-refresh.ipynb: Shows the flood events added in the most recent data refresh and how they rank against every event on record.

  • 05-temporal-patterns.ipynb: Explores when rain-driven flooding happens, and how to count it: separating tidal from rain-driven flooding, depth thresholds, grouping events into storm episodes, why raw counts mislead, seasonality, time of day, and widespread storms, with "what not to do" notes and the limits of what this data can tell us.

  • 06-rain-episodes.ipynb: Checks the rain-episode grouping introduced in notebook 05: a storm walked through event by event, why the gap is measured against a running maximum, how sensitive the results are to the 6-hour threshold, and what the grouping produced across the whole record.

  • 07-rise-and-peak-depth.ipynb: Asks whether water that rises faster also gets deeper: how often flooding reaches 12 inches, time and rate of rise to a foot of water at tidal vs. non-tidal sensors, rank correlation on skewed data, and two checks on that correlation (measuring the rise away from the peak, and separating storm from site).

  • 08-tidal-flooding.ipynb: Looks at tidal sensors on their own, using flood timing alone: how the tidal network grew and how much a few sensors dominate it, one event that spans two high tides, gaps between events that follow the 12.4-hour tide, flooding through the spring-neap cycle, and tidal floods by calendar month.

  • 09-single-sensor.ipynb: An introduction to the data from one sensor, and a good place to start: it stands on its own and needs only notebook 00. Works for any non-tidal sensor: what its metadata says, including its height above the street's low point, what each column of an event means, how one event's depth readings produce its published numbers, every event over time by depth, the shape of each flood, and its basic statistics in one place: counts, rates, totals, a typical flood, events by year and month, and how its flood rate compares with other non-tidal sensors.

Planned: rainfall and tide notebooks. These notebooks use only FloodNet's two datasets (plus borough boundaries for maps), so notebooks 05, 06 and 08 infer rain and tide from when sensors flooded, a stand-in for measuring them directly. Rain stations and tide gauges measure rain and tide themselves at nearby locations; FloodNet recommends NYS Mesonet / NYC Micronet 5-minute stations for rain and NOAA and USGS tide gauges for tides. They are a better basis for defining storms, matching floods to high tides and checking events against the conditions around them. Notebooks that use them are planned, and storms defined from rainfall would likely supersede the rain-episode grouping in notebooks 05 and 06.

Re-running the notebooks. With floodnet_env active, make notebooks re-runs notebooks 01–09 in order on the data already in data/. make refresh first downloads new data with notebook 00, then re-runs the rest. Both stop at the first notebook that fails.

3. Data

Methods and data caveats. Definitions, parameters, data caveats and time-zone handling are in METHODS.md. Read it before building your own analysis on this data.

AI assistance. I used Claude (Anthropic's Claude Code) to help write the code, notebooks and documentation in this repo. I reviewed the work and am responsible for it. The assistant's configuration files (CLAUDE.md, .claude/) are personal setup and aren't included. The one exception is METHODS.md: the assistant's instructions load it directly, so the definitions and caveats you read there are the ones the AI worked under. If you analyze this data with an AI assistant, consider giving it METHODS.md too. The assistant also works under a project scope document (PROJECT_SCOPE.md) that sets the project's mission and the engineering questions it aims to address; it isn't published for now.

4. FloodNet Resources

Start here to understand the FloodNet sensor network, datasets, methodology, quality control, and applications of hyperlocal street-flood measurements in New York City.

Foundational Research

Community Engagement

  • FloodNet Community Engagement — Through the integration of a designated community engagement (CE) team, FloodNet NYC aims to foster sustainable impact within communities most at risk. Informed by community-based participation research methodology and implementation frameworks, our CE strategy has three prongs--community outreach, community education, and community action--and leverages a public health lens to ground our approach in both theory and practice.

FloodNet Project & Methodology

5. NYC Engineering Reference Library

Official NYC resources for understanding stormwater runoff, sewer hydraulics, drainage infrastructure and modeled flood risk.

  1. NYC DEP — 2021 Stormwater Resiliency Plan — Methodology behind NYC's Stormwater Flood Maps, including coupled 1D–2D hydraulic modeling and design-storm scenarios. Read the modeling methodology section and Appendix B.

  2. NYC DEP — 2024 Stormwater Analysis — Citywide hydraulic modeling, 86 priority drainage areas and neighborhood flood-risk assessments.

  3. NYC Stormwater Flood Maps — Modeled rainfall-driven flood extents and depths for comparison with FloodNet observations under appropriate conditions.

  4. NYC DEP — InfoWorks Citywide Recalibration Report — Technical documentation of NYC's sewer-system modeling, including subcatchments, runoff and hydraulic calibration.

  5. NYC Stormwater Manual — Design criteria and sizing methods for stormwater retention, detention and green infrastructure.

  6. NYC DEP Sewer Design Standards (2025) — Standard engineering drawings and details for sewers, manholes, catch basins and related infrastructure.

  7. NYC Stormwater Management Program Plan (MS4) — NYC's separate storm sewer program, drainage mapping and stormwater management requirements.

  8. DEP Standard Sewer and Water Main Specifications (2022) — Construction specifications for sewer and water-main materials, installation and associated infrastructure.

6. Applied Case Studies

NYC engineering studies and academic research illustrating how hydrology, hydraulics and drainage infrastructure influence urban flooding.

NYC Case Studies

Academic Case Studies

7. National Engineering References

Federal engineering manuals, modeling documentation and precipitation data for urban stormwater analysis and drainage design.

  1. EPA Storm Water Management Model (SWMM) — Official software and documentation for urban runoff and drainage-network modeling.

  2. EPA SWMM Fact Sheet — Brief overview of SWMM's capabilities and engineering applications.

  3. SWMM 5.2 User's Manual — Practical guide to building, running and interpreting SWMM models.

  4. SWMM Reference Manual, Volume I — Hydrology (2016) — Mathematical foundations of rainfall–runoff modeling, infiltration and subcatchment routing.

  5. SWMM Reference Manual, Volume II — Hydraulics (2017) — Hydraulic methods for pipe flow, dynamic-wave routing, backwater, surcharge and flooding.

  6. FHWA HEC-22: Urban Drainage Design, Fourth Edition (2024) — Engineering methods for runoff estimation, gutter hydraulics, inlet interception and storm-drain design.

  7. NOAA Atlas 14 — Location-specific precipitation-frequency estimates for rainfall analysis and design-storm development.

8. Related Projects

9. Say Hello!

Feel free to reach out.

About

Examples for working with the FloodNet NYC data.

Topics

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages