Upload noaa-tide-stations dataset files with full metadata
Browse files- KAGGLE.md +144 -0
- README.md +153 -0
- about.md +21 -0
- data_dictionary.csv +41 -0
- dataset-metadata.json +235 -0
- kernel-metadata.json +14 -0
- noaa_stations.csv +0 -0
- notebook.ipynb +199 -0
KAGGLE.md
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# NOAA Tide & Current Station Network
|
| 2 |
+
|
| 3 |
+
**Subtitle:** 3,707 U.S. coastal stations with capabilities, coordinates & metadata
|
| 4 |
+
|
| 5 |
+
**Tags:** `tabular`, `oceanography`, `climate`
|
| 6 |
+
|
| 7 |
+
**Dataset File:** `noaa_stations.csv` (3,707 rows, 40 columns, 752.5 KB)
|
| 8 |
+
|
| 9 |
+
**Provenance & Source:** NOAA CO-OPS Metadata API (tidesandcurrents.noaa.gov)
|
| 10 |
+
|
| 11 |
+
**Expected Update Frequency:** `annually`
|
| 12 |
+
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
## 📖 Description
|
| 16 |
+
|
| 17 |
+
### The U.S. tide, current and weather station network
|
| 18 |
+
|
| 19 |
+
NOAA's Center for Operational Oceanographic Products and Services operates a national network of
|
| 20 |
+
coastal and Great Lakes stations. This dataset contains **3,707 stations** across
|
| 21 |
+
**35 states/territories**, with **40 parameters** each.
|
| 22 |
+
|
| 23 |
+
- **Identity** — station id, name, state, territory, Census region, type, reference id.
|
| 24 |
+
- **Position and time** — latitude, longitude, time zone, UTC offset and local time meridian.
|
| 25 |
+
- **Codes** — SHEF code, port code, affiliations and the metadata API URL.
|
| 26 |
+
- **Capabilities** — product count and product names, tide prediction, currents, meteorology,
|
| 27 |
+
water level, storm surge, observed water level and harmonic constituent flags.
|
| 28 |
+
- **Derived** — coordinate bands, hemisphere, coastal/territory flags, name lengths and a product
|
| 29 |
+
completeness percentage.
|
| 30 |
+
|
| 31 |
+
**0 stations publish tide predictions** and **0 publish meteorological data**. The
|
| 32 |
+
capability columns make it easy to map where each type of observation is available along the U.S.
|
| 33 |
+
coastline, Great Lakes and territories.
|
| 34 |
+
|
| 35 |
+
## 🧾 Columns (40)
|
| 36 |
+
|
| 37 |
+
`station_id`, `name`, `state`, `country`, `state_region`, `latitude`, `longitude`, `type`, `timezone`, `timezone_offset`, `time_meridian`, `reference_id`, `shef_code`, `port_code`, `affiliations`, `station_url`, `has_shef`, `has_port_code`, `has_affiliations`, `product_count`, `products`, `disclaimer_count`, `notice_count`, `has_disclaimer`, `has_notice`, `is_tide_station`, `is_current_station`, `is_met_station`, `is_water_level_station`, `has_storm_surge`, `has_observed_water_level`, `has_harmonic_constituents`, `latitude_band`, `longitude_band`, `hemisphere`, `is_coastal_us`, `is_territory`, `name_length`, `name_word_count`, `product_completeness`
|
| 38 |
+
|
| 39 |
+
## 💡 Ideas for using this data
|
| 40 |
+
|
| 41 |
+
1. **Network coverage** — station density by state and coastline segment.
|
| 42 |
+
2. **Capability gaps** — stretches of coast with water-level but no meteorological data.
|
| 43 |
+
3. **Products** — which product combinations are standard, and which stations are unusual?
|
| 44 |
+
4. **Reference network** — map reference stations and their subordinate stations.
|
| 45 |
+
5. **Territories** — compare station capabilities in territories vs the mainland.
|
| 46 |
+
6. **Map making** — plot the network with capability colours.
|
| 47 |
+
7. **Time zones** — station distribution across time zones and meridians.
|
| 48 |
+
8. **Data availability** — build a manifest of downloadable products per station.
|
| 49 |
+
9. **Metadata quality** — missing SHEF/port codes by region.
|
| 50 |
+
|
| 51 |
+
## 📁 Files
|
| 52 |
+
|
| 53 |
+
| File | What it is |
|
| 54 |
+
|---|---|
|
| 55 |
+
| `noaa_stations.csv` | 3,707 stations x 40 parameters. |
|
| 56 |
+
| `data_dictionary.csv` | Column / type / description for every field. |
|
| 57 |
+
| `notebook.ipynb` | Starter notebook that loads the CSV and analyses it. |
|
| 58 |
+
| `dataset-metadata.json` | Kaggle API metadata. |
|
| 59 |
+
| `about.md` | Plain-text About block. |
|
| 60 |
+
|
| 61 |
+
## 🏷️ Tags
|
| 62 |
+
|
| 63 |
+
`noaa`, `tides`, `oceanography`, `stations`, `coastal`, `geospatial`, `infrastructure`
|
| 64 |
+
|
| 65 |
+
## 🔗 Provenance
|
| 66 |
+
|
| 67 |
+
- **Source:** **NOAA CO-OPS Metadata API**,
|
| 68 |
+
`https://api.tidesandcurrents.noaa.gov/mdapi/prod/webapi/stations.json`.
|
| 69 |
+
- **Scope:** every station returned by the metadata endpoint (tide, current, met and water-level
|
| 70 |
+
stations).
|
| 71 |
+
- **Processing:** station records flattened, product names extracted from their URLs, capability and
|
| 72 |
+
geography flags derived.
|
| 73 |
+
- **Snapshot date:** 22 November 2026.
|
| 74 |
+
|
| 75 |
+
## 🔄 Update frequency
|
| 76 |
+
|
| 77 |
+
**As stations change.** NOAA updates the metadata API when stations are added or retired.
|
| 78 |
+
|
| 79 |
+
## ⚠️ Caveats
|
| 80 |
+
|
| 81 |
+
- The metadata API describes stations, not the observations themselves.
|
| 82 |
+
- Capability flags reflect the products published in the metadata at snapshot time.
|
| 83 |
+
- Station ids are strings and can have leading zeros.
|
| 84 |
+
- Coordinates are station locations, not necessarily the exact sensor position.
|
| 85 |
+
- Only U.S. stations and territories are covered.
|
| 86 |
+
- Some fields (port code, affiliations, SHEF) are absent for many stations.
|
| 87 |
+
- Product completeness uses 12 as an arbitrary denominator, for comparison only.
|
| 88 |
+
|
| 89 |
+
## 📜 Licence
|
| 90 |
+
|
| 91 |
+
U.S. Government work (NOAA) — public domain.
|
| 92 |
+
|
| 93 |
+
### 📋 Column Definitions & File Header
|
| 94 |
+
|
| 95 |
+
| # | Column Name | Data Type | Description |
|
| 96 |
+
|---|---|---|---|
|
| 97 |
+
| 1 | `station_id` | `string` | NOAA station identifier. |
|
| 98 |
+
| 2 | `name` | `string` | Station name. |
|
| 99 |
+
| 3 | `state` | `string` | Two-letter state/territory code. |
|
| 100 |
+
| 4 | `country` | `string` | Territory name for non-state stations. |
|
| 101 |
+
| 5 | `state_region` | `string` | U.S. Census region. |
|
| 102 |
+
| 6 | `latitude` | `number` | Latitude (decimal degrees). |
|
| 103 |
+
| 7 | `longitude` | `number` | Longitude (decimal degrees). |
|
| 104 |
+
| 8 | `type` | `string` | Station type code (S = tide/water level, etc.). |
|
| 105 |
+
| 9 | `timezone` | `string` | Time zone name. |
|
| 106 |
+
| 10 | `timezone_offset` | `number` | Offset from UTC in hours. |
|
| 107 |
+
| 11 | `time_meridian` | `number` | Local time meridian. |
|
| 108 |
+
| 12 | `reference_id` | `number` | NOAA reference station id. |
|
| 109 |
+
| 13 | `shef_code` | `string` | SHEF location code. |
|
| 110 |
+
| 14 | `port_code` | `string` | Port code used by marine services. |
|
| 111 |
+
| 15 | `affiliations` | `string` | Partner affiliations. |
|
| 112 |
+
| 16 | `station_url` | `string` | Metadata API URL for the station. |
|
| 113 |
+
| 17 | `has_shef` | `boolean` | true when a SHEF code exists. |
|
| 114 |
+
| 18 | `has_port_code` | `boolean` | true when a port code exists. |
|
| 115 |
+
| 19 | `has_affiliations` | `boolean` | true when affiliations are listed. |
|
| 116 |
+
| 20 | `product_count` | `number` | Number of data products offered. |
|
| 117 |
+
| 21 | `products` | `string` | Product names (semicolon-joined). |
|
| 118 |
+
| 22 | `disclaimer_count` | `number` | Number of disclaimers. |
|
| 119 |
+
| 23 | `notice_count` | `number` | Number of active notices. |
|
| 120 |
+
| 24 | `has_disclaimer` | `boolean` | true when a disclaimer exists. |
|
| 121 |
+
| 25 | `has_notice` | `boolean` | true when a notice exists. |
|
| 122 |
+
| 26 | `is_tide_station` | `boolean` | true when tide predictions are offered. |
|
| 123 |
+
| 27 | `is_current_station` | `boolean` | true when current data are offered. |
|
| 124 |
+
| 28 | `is_met_station` | `boolean` | true when meteorological data are offered. |
|
| 125 |
+
| 29 | `is_water_level_station` | `boolean` | true when water-level data are offered. |
|
| 126 |
+
| 30 | `has_storm_surge` | `boolean` | true when storm-surge data are offered. |
|
| 127 |
+
| 31 | `has_observed_water_level` | `boolean` | true when observed water levels are available. |
|
| 128 |
+
| 32 | `has_harmonic_constituents` | `boolean` | true when harmonic constituents are published. |
|
| 129 |
+
| 33 | `latitude_band` | `string` | 5-degree latitude band. |
|
| 130 |
+
| 34 | `longitude_band` | `string` | 10-degree longitude band. |
|
| 131 |
+
| 35 | `hemisphere` | `string` | N/S + E/W hemisphere pair. |
|
| 132 |
+
| 36 | `is_coastal_us` | `boolean` | true for U.S. coastal states. |
|
| 133 |
+
| 37 | `is_territory` | `boolean` | true for U.S. territories and freely associated states. |
|
| 134 |
+
| 38 | `name_length` | `number` | Characters in the station name. |
|
| 135 |
+
| 39 | `name_word_count` | `number` | Words in the station name. |
|
| 136 |
+
| 40 | `product_completeness` | `number` | product_count as a percentage of 12. |
|
| 137 |
+
|
| 138 |
+
|
| 139 |
+
|
| 140 |
+
---
|
| 141 |
+
|
| 142 |
+
## 🌟 Support & Community
|
| 143 |
+
If you find this dataset valuable for your research, machine learning projects, or data explorations, **please give it an upvote (👍) on Kaggle!**
|
| 144 |
+
Feedback, questions, and community notebook submissions are warmly welcomed in the Discussions tab.
|
README.md
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc0-1.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- tabular
|
| 5 |
+
tags:
|
| 6 |
+
- tabular
|
| 7 |
+
pretty_name: NOAA Tide & Current Station Network
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
# NOAA Tide & Current Station Network
|
| 11 |
+
|
| 12 |
+
**Subtitle:** 3,707 U.S. coastal stations with capabilities, coordinates & metadata
|
| 13 |
+
|
| 14 |
+
**Tags:** `tabular`, `oceanography`, `climate`
|
| 15 |
+
|
| 16 |
+
**Dataset File:** `noaa_stations.csv` (3,707 rows, 40 columns, 752.5 KB)
|
| 17 |
+
|
| 18 |
+
**Provenance & Source:** NOAA CO-OPS Metadata API (tidesandcurrents.noaa.gov)
|
| 19 |
+
|
| 20 |
+
**Expected Update Frequency:** `annually`
|
| 21 |
+
|
| 22 |
+
---
|
| 23 |
+
|
| 24 |
+
## 📖 Description
|
| 25 |
+
|
| 26 |
+
### The U.S. tide, current and weather station network
|
| 27 |
+
|
| 28 |
+
NOAA's Center for Operational Oceanographic Products and Services operates a national network of
|
| 29 |
+
coastal and Great Lakes stations. This dataset contains **3,707 stations** across
|
| 30 |
+
**35 states/territories**, with **40 parameters** each.
|
| 31 |
+
|
| 32 |
+
- **Identity** — station id, name, state, territory, Census region, type, reference id.
|
| 33 |
+
- **Position and time** — latitude, longitude, time zone, UTC offset and local time meridian.
|
| 34 |
+
- **Codes** — SHEF code, port code, affiliations and the metadata API URL.
|
| 35 |
+
- **Capabilities** — product count and product names, tide prediction, currents, meteorology,
|
| 36 |
+
water level, storm surge, observed water level and harmonic constituent flags.
|
| 37 |
+
- **Derived** — coordinate bands, hemisphere, coastal/territory flags, name lengths and a product
|
| 38 |
+
completeness percentage.
|
| 39 |
+
|
| 40 |
+
**0 stations publish tide predictions** and **0 publish meteorological data**. The
|
| 41 |
+
capability columns make it easy to map where each type of observation is available along the U.S.
|
| 42 |
+
coastline, Great Lakes and territories.
|
| 43 |
+
|
| 44 |
+
## 🧾 Columns (40)
|
| 45 |
+
|
| 46 |
+
`station_id`, `name`, `state`, `country`, `state_region`, `latitude`, `longitude`, `type`, `timezone`, `timezone_offset`, `time_meridian`, `reference_id`, `shef_code`, `port_code`, `affiliations`, `station_url`, `has_shef`, `has_port_code`, `has_affiliations`, `product_count`, `products`, `disclaimer_count`, `notice_count`, `has_disclaimer`, `has_notice`, `is_tide_station`, `is_current_station`, `is_met_station`, `is_water_level_station`, `has_storm_surge`, `has_observed_water_level`, `has_harmonic_constituents`, `latitude_band`, `longitude_band`, `hemisphere`, `is_coastal_us`, `is_territory`, `name_length`, `name_word_count`, `product_completeness`
|
| 47 |
+
|
| 48 |
+
## 💡 Ideas for using this data
|
| 49 |
+
|
| 50 |
+
1. **Network coverage** — station density by state and coastline segment.
|
| 51 |
+
2. **Capability gaps** — stretches of coast with water-level but no meteorological data.
|
| 52 |
+
3. **Products** — which product combinations are standard, and which stations are unusual?
|
| 53 |
+
4. **Reference network** — map reference stations and their subordinate stations.
|
| 54 |
+
5. **Territories** — compare station capabilities in territories vs the mainland.
|
| 55 |
+
6. **Map making** — plot the network with capability colours.
|
| 56 |
+
7. **Time zones** — station distribution across time zones and meridians.
|
| 57 |
+
8. **Data availability** — build a manifest of downloadable products per station.
|
| 58 |
+
9. **Metadata quality** — missing SHEF/port codes by region.
|
| 59 |
+
|
| 60 |
+
## 📁 Files
|
| 61 |
+
|
| 62 |
+
| File | What it is |
|
| 63 |
+
|---|---|
|
| 64 |
+
| `noaa_stations.csv` | 3,707 stations x 40 parameters. |
|
| 65 |
+
| `data_dictionary.csv` | Column / type / description for every field. |
|
| 66 |
+
| `notebook.ipynb` | Starter notebook that loads the CSV and analyses it. |
|
| 67 |
+
| `dataset-metadata.json` | Kaggle API metadata. |
|
| 68 |
+
| `about.md` | Plain-text About block. |
|
| 69 |
+
|
| 70 |
+
## 🏷️ Tags
|
| 71 |
+
|
| 72 |
+
`noaa`, `tides`, `oceanography`, `stations`, `coastal`, `geospatial`, `infrastructure`
|
| 73 |
+
|
| 74 |
+
## 🔗 Provenance
|
| 75 |
+
|
| 76 |
+
- **Source:** **NOAA CO-OPS Metadata API**,
|
| 77 |
+
`https://api.tidesandcurrents.noaa.gov/mdapi/prod/webapi/stations.json`.
|
| 78 |
+
- **Scope:** every station returned by the metadata endpoint (tide, current, met and water-level
|
| 79 |
+
stations).
|
| 80 |
+
- **Processing:** station records flattened, product names extracted from their URLs, capability and
|
| 81 |
+
geography flags derived.
|
| 82 |
+
- **Snapshot date:** 22 November 2026.
|
| 83 |
+
|
| 84 |
+
## 🔄 Update frequency
|
| 85 |
+
|
| 86 |
+
**As stations change.** NOAA updates the metadata API when stations are added or retired.
|
| 87 |
+
|
| 88 |
+
## ⚠️ Caveats
|
| 89 |
+
|
| 90 |
+
- The metadata API describes stations, not the observations themselves.
|
| 91 |
+
- Capability flags reflect the products published in the metadata at snapshot time.
|
| 92 |
+
- Station ids are strings and can have leading zeros.
|
| 93 |
+
- Coordinates are station locations, not necessarily the exact sensor position.
|
| 94 |
+
- Only U.S. stations and territories are covered.
|
| 95 |
+
- Some fields (port code, affiliations, SHEF) are absent for many stations.
|
| 96 |
+
- Product completeness uses 12 as an arbitrary denominator, for comparison only.
|
| 97 |
+
|
| 98 |
+
## 📜 Licence
|
| 99 |
+
|
| 100 |
+
U.S. Government work (NOAA) — public domain.
|
| 101 |
+
|
| 102 |
+
### 📋 Column Definitions & File Header
|
| 103 |
+
|
| 104 |
+
| # | Column Name | Data Type | Description |
|
| 105 |
+
|---|---|---|---|
|
| 106 |
+
| 1 | `station_id` | `string` | NOAA station identifier. |
|
| 107 |
+
| 2 | `name` | `string` | Station name. |
|
| 108 |
+
| 3 | `state` | `string` | Two-letter state/territory code. |
|
| 109 |
+
| 4 | `country` | `string` | Territory name for non-state stations. |
|
| 110 |
+
| 5 | `state_region` | `string` | U.S. Census region. |
|
| 111 |
+
| 6 | `latitude` | `number` | Latitude (decimal degrees). |
|
| 112 |
+
| 7 | `longitude` | `number` | Longitude (decimal degrees). |
|
| 113 |
+
| 8 | `type` | `string` | Station type code (S = tide/water level, etc.). |
|
| 114 |
+
| 9 | `timezone` | `string` | Time zone name. |
|
| 115 |
+
| 10 | `timezone_offset` | `number` | Offset from UTC in hours. |
|
| 116 |
+
| 11 | `time_meridian` | `number` | Local time meridian. |
|
| 117 |
+
| 12 | `reference_id` | `number` | NOAA reference station id. |
|
| 118 |
+
| 13 | `shef_code` | `string` | SHEF location code. |
|
| 119 |
+
| 14 | `port_code` | `string` | Port code used by marine services. |
|
| 120 |
+
| 15 | `affiliations` | `string` | Partner affiliations. |
|
| 121 |
+
| 16 | `station_url` | `string` | Metadata API URL for the station. |
|
| 122 |
+
| 17 | `has_shef` | `boolean` | true when a SHEF code exists. |
|
| 123 |
+
| 18 | `has_port_code` | `boolean` | true when a port code exists. |
|
| 124 |
+
| 19 | `has_affiliations` | `boolean` | true when affiliations are listed. |
|
| 125 |
+
| 20 | `product_count` | `number` | Number of data products offered. |
|
| 126 |
+
| 21 | `products` | `string` | Product names (semicolon-joined). |
|
| 127 |
+
| 22 | `disclaimer_count` | `number` | Number of disclaimers. |
|
| 128 |
+
| 23 | `notice_count` | `number` | Number of active notices. |
|
| 129 |
+
| 24 | `has_disclaimer` | `boolean` | true when a disclaimer exists. |
|
| 130 |
+
| 25 | `has_notice` | `boolean` | true when a notice exists. |
|
| 131 |
+
| 26 | `is_tide_station` | `boolean` | true when tide predictions are offered. |
|
| 132 |
+
| 27 | `is_current_station` | `boolean` | true when current data are offered. |
|
| 133 |
+
| 28 | `is_met_station` | `boolean` | true when meteorological data are offered. |
|
| 134 |
+
| 29 | `is_water_level_station` | `boolean` | true when water-level data are offered. |
|
| 135 |
+
| 30 | `has_storm_surge` | `boolean` | true when storm-surge data are offered. |
|
| 136 |
+
| 31 | `has_observed_water_level` | `boolean` | true when observed water levels are available. |
|
| 137 |
+
| 32 | `has_harmonic_constituents` | `boolean` | true when harmonic constituents are published. |
|
| 138 |
+
| 33 | `latitude_band` | `string` | 5-degree latitude band. |
|
| 139 |
+
| 34 | `longitude_band` | `string` | 10-degree longitude band. |
|
| 140 |
+
| 35 | `hemisphere` | `string` | N/S + E/W hemisphere pair. |
|
| 141 |
+
| 36 | `is_coastal_us` | `boolean` | true for U.S. coastal states. |
|
| 142 |
+
| 37 | `is_territory` | `boolean` | true for U.S. territories and freely associated states. |
|
| 143 |
+
| 38 | `name_length` | `number` | Characters in the station name. |
|
| 144 |
+
| 39 | `name_word_count` | `number` | Words in the station name. |
|
| 145 |
+
| 40 | `product_completeness` | `number` | product_count as a percentage of 12. |
|
| 146 |
+
|
| 147 |
+
|
| 148 |
+
|
| 149 |
+
---
|
| 150 |
+
|
| 151 |
+
## 🌟 Support & Community
|
| 152 |
+
If you find this dataset valuable for your research, machine learning projects, or data explorations, **please give it an upvote (👍) on Kaggle!**
|
| 153 |
+
Feedback, questions, and community notebook submissions are warmly welcomed in the Discussions tab.
|
about.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
NOAA Tide & Current Station Network
|
| 2 |
+
|
| 3 |
+
### The U.S. tide, current and weather station network
|
| 4 |
+
|
| 5 |
+
NOAA's Center for Operational Oceanographic Products and Services operates a national network of
|
| 6 |
+
coastal and Great Lakes stations. This dataset contains **3,707 stations** across
|
| 7 |
+
**35 states/territories**, with **40 parameters** each.
|
| 8 |
+
|
| 9 |
+
- **Identity** — station id, name, state, territory, Census region, type, reference id.
|
| 10 |
+
- **Position and time** — latitude, longitude, time zone, UTC offset and local time meridian.
|
| 11 |
+
- **Codes** — SHEF code, port code, affiliations and the metadata API URL.
|
| 12 |
+
- **Capabilities** — product count and product names, tide prediction, currents, meteorology,
|
| 13 |
+
water level, storm surge, observed water level and harmonic constituent flags.
|
| 14 |
+
- **Derived** — coordinate bands, hemisphere, coastal/territory flags, name lengths and a product
|
| 15 |
+
completeness percentage.
|
| 16 |
+
|
| 17 |
+
**0 stations publish tide predictions** and **0 publish meteorological data**. The
|
| 18 |
+
capability columns make it easy to map where each type of observation is available along the U.S.
|
| 19 |
+
coastline, Great Lakes and territories.
|
| 20 |
+
|
| 21 |
+
40 columns; 3,707 stations x 40 parameters.
|
data_dictionary.csv
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
column,data_type,description
|
| 2 |
+
station_id,string,NOAA station identifier.
|
| 3 |
+
name,string,Station name.
|
| 4 |
+
state,string,Two-letter state/territory code.
|
| 5 |
+
country,string,Territory name for non-state stations.
|
| 6 |
+
state_region,string,U.S. Census region.
|
| 7 |
+
latitude,number,Latitude (decimal degrees).
|
| 8 |
+
longitude,number,Longitude (decimal degrees).
|
| 9 |
+
type,string,"Station type code (S = tide/water level, etc.)."
|
| 10 |
+
timezone,string,Time zone name.
|
| 11 |
+
timezone_offset,number,Offset from UTC in hours.
|
| 12 |
+
time_meridian,number,Local time meridian.
|
| 13 |
+
reference_id,number,NOAA reference station id.
|
| 14 |
+
shef_code,string,SHEF location code.
|
| 15 |
+
port_code,string,Port code used by marine services.
|
| 16 |
+
affiliations,string,Partner affiliations.
|
| 17 |
+
station_url,string,Metadata API URL for the station.
|
| 18 |
+
has_shef,boolean,true when a SHEF code exists.
|
| 19 |
+
has_port_code,boolean,true when a port code exists.
|
| 20 |
+
has_affiliations,boolean,true when affiliations are listed.
|
| 21 |
+
product_count,number,Number of data products offered.
|
| 22 |
+
products,string,Product names (semicolon-joined).
|
| 23 |
+
disclaimer_count,number,Number of disclaimers.
|
| 24 |
+
notice_count,number,Number of active notices.
|
| 25 |
+
has_disclaimer,boolean,true when a disclaimer exists.
|
| 26 |
+
has_notice,boolean,true when a notice exists.
|
| 27 |
+
is_tide_station,boolean,true when tide predictions are offered.
|
| 28 |
+
is_current_station,boolean,true when current data are offered.
|
| 29 |
+
is_met_station,boolean,true when meteorological data are offered.
|
| 30 |
+
is_water_level_station,boolean,true when water-level data are offered.
|
| 31 |
+
has_storm_surge,boolean,true when storm-surge data are offered.
|
| 32 |
+
has_observed_water_level,boolean,true when observed water levels are available.
|
| 33 |
+
has_harmonic_constituents,boolean,true when harmonic constituents are published.
|
| 34 |
+
latitude_band,string,5-degree latitude band.
|
| 35 |
+
longitude_band,string,10-degree longitude band.
|
| 36 |
+
hemisphere,string,N/S + E/W hemisphere pair.
|
| 37 |
+
is_coastal_us,boolean,true for U.S. coastal states.
|
| 38 |
+
is_territory,boolean,true for U.S. territories and freely associated states.
|
| 39 |
+
name_length,number,Characters in the station name.
|
| 40 |
+
name_word_count,number,Words in the station name.
|
| 41 |
+
product_completeness,number,product_count as a percentage of 12.
|
dataset-metadata.json
ADDED
|
@@ -0,0 +1,235 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"title": "NOAA Tide & Current Station Network",
|
| 3 |
+
"id": "edudev-commons-org/noaa-tide-stations",
|
| 4 |
+
"subtitle": "3,707 U.S. coastal stations with capabilities, coordinates & metadata",
|
| 5 |
+
"description": "# NOAA Tide & Current Station Network\n\n**Subtitle:** 3,707 U.S. coastal stations with capabilities, coordinates & metadata\n\n**Tags:** `tabular`, `oceanography`, `climate`\n\n**Dataset File:** `noaa_stations.csv` (3,707 rows, 40 columns, 752.5 KB)\n\n**Provenance & Source:** NOAA CO-OPS Metadata API (tidesandcurrents.noaa.gov)\n\n**Expected Update Frequency:** `annually`\n\n---\n\n## \ud83d\udcd6 Description\n\n### The U.S. tide, current and weather station network\n\nNOAA's Center for Operational Oceanographic Products and Services operates a national network of\ncoastal and Great Lakes stations. This dataset contains **3,707 stations** across\n**35 states/territories**, with **40 parameters** each.\n\n- **Identity** \u2014 station id, name, state, territory, Census region, type, reference id.\n- **Position and time** \u2014 latitude, longitude, time zone, UTC offset and local time meridian.\n- **Codes** \u2014 SHEF code, port code, affiliations and the metadata API URL.\n- **Capabilities** \u2014 product count and product names, tide prediction, currents, meteorology,\n water level, storm surge, observed water level and harmonic constituent flags.\n- **Derived** \u2014 coordinate bands, hemisphere, coastal/territory flags, name lengths and a product\n completeness percentage.\n\n**0 stations publish tide predictions** and **0 publish meteorological data**. The\ncapability columns make it easy to map where each type of observation is available along the U.S.\ncoastline, Great Lakes and territories.\n\n## \ud83e\uddfe Columns (40)\n\n`station_id`, `name`, `state`, `country`, `state_region`, `latitude`, `longitude`, `type`, `timezone`, `timezone_offset`, `time_meridian`, `reference_id`, `shef_code`, `port_code`, `affiliations`, `station_url`, `has_shef`, `has_port_code`, `has_affiliations`, `product_count`, `products`, `disclaimer_count`, `notice_count`, `has_disclaimer`, `has_notice`, `is_tide_station`, `is_current_station`, `is_met_station`, `is_water_level_station`, `has_storm_surge`, `has_observed_water_level`, `has_harmonic_constituents`, `latitude_band`, `longitude_band`, `hemisphere`, `is_coastal_us`, `is_territory`, `name_length`, `name_word_count`, `product_completeness`\n\n## \ud83d\udca1 Ideas for using this data\n\n1. **Network coverage** \u2014 station density by state and coastline segment.\n2. **Capability gaps** \u2014 stretches of coast with water-level but no meteorological data.\n3. **Products** \u2014 which product combinations are standard, and which stations are unusual?\n4. **Reference network** \u2014 map reference stations and their subordinate stations.\n5. **Territories** \u2014 compare station capabilities in territories vs the mainland.\n6. **Map making** \u2014 plot the network with capability colours.\n7. **Time zones** \u2014 station distribution across time zones and meridians.\n8. **Data availability** \u2014 build a manifest of downloadable products per station.\n9. **Metadata quality** \u2014 missing SHEF/port codes by region.\n\n## \ud83d\udcc1 Files\n\n| File | What it is |\n|---|---|\n| `noaa_stations.csv` | 3,707 stations x 40 parameters. |\n| `data_dictionary.csv` | Column / type / description for every field. |\n| `notebook.ipynb` | Starter notebook that loads the CSV and analyses it. |\n| `dataset-metadata.json` | Kaggle API metadata. |\n| `about.md` | Plain-text About block. |\n\n## \ud83c\udff7\ufe0f Tags\n\n`noaa`, `tides`, `oceanography`, `stations`, `coastal`, `geospatial`, `infrastructure`\n\n## \ud83d\udd17 Provenance\n\n- **Source:** **NOAA CO-OPS Metadata API**,\n `https://api.tidesandcurrents.noaa.gov/mdapi/prod/webapi/stations.json`.\n- **Scope:** every station returned by the metadata endpoint (tide, current, met and water-level\n stations).\n- **Processing:** station records flattened, product names extracted from their URLs, capability and\n geography flags derived.\n- **Snapshot date:** 22 November 2026.\n\n## \ud83d\udd04 Update frequency\n\n**As stations change.** NOAA updates the metadata API when stations are added or retired.\n\n## \u26a0\ufe0f Caveats\n\n- The metadata API describes stations, not the observations themselves.\n- Capability flags reflect the products published in the metadata at snapshot time.\n- Station ids are strings and can have leading zeros.\n- Coordinates are station locations, not necessarily the exact sensor position.\n- Only U.S. stations and territories are covered.\n- Some fields (port code, affiliations, SHEF) are absent for many stations.\n- Product completeness uses 12 as an arbitrary denominator, for comparison only.\n\n## \ud83d\udcdc Licence\n\nU.S. Government work (NOAA) \u2014 public domain.\n\n### \ud83d\udccb Column Definitions & File Header\n\n| # | Column Name | Data Type | Description |\n|---|---|---|---|\n| 1 | `station_id` | `string` | NOAA station identifier. |\n| 2 | `name` | `string` | Station name. |\n| 3 | `state` | `string` | Two-letter state/territory code. |\n| 4 | `country` | `string` | Territory name for non-state stations. |\n| 5 | `state_region` | `string` | U.S. Census region. |\n| 6 | `latitude` | `number` | Latitude (decimal degrees). |\n| 7 | `longitude` | `number` | Longitude (decimal degrees). |\n| 8 | `type` | `string` | Station type code (S = tide/water level, etc.). |\n| 9 | `timezone` | `string` | Time zone name. |\n| 10 | `timezone_offset` | `number` | Offset from UTC in hours. |\n| 11 | `time_meridian` | `number` | Local time meridian. |\n| 12 | `reference_id` | `number` | NOAA reference station id. |\n| 13 | `shef_code` | `string` | SHEF location code. |\n| 14 | `port_code` | `string` | Port code used by marine services. |\n| 15 | `affiliations` | `string` | Partner affiliations. |\n| 16 | `station_url` | `string` | Metadata API URL for the station. |\n| 17 | `has_shef` | `boolean` | true when a SHEF code exists. |\n| 18 | `has_port_code` | `boolean` | true when a port code exists. |\n| 19 | `has_affiliations` | `boolean` | true when affiliations are listed. |\n| 20 | `product_count` | `number` | Number of data products offered. |\n| 21 | `products` | `string` | Product names (semicolon-joined). |\n| 22 | `disclaimer_count` | `number` | Number of disclaimers. |\n| 23 | `notice_count` | `number` | Number of active notices. |\n| 24 | `has_disclaimer` | `boolean` | true when a disclaimer exists. |\n| 25 | `has_notice` | `boolean` | true when a notice exists. |\n| 26 | `is_tide_station` | `boolean` | true when tide predictions are offered. |\n| 27 | `is_current_station` | `boolean` | true when current data are offered. |\n| 28 | `is_met_station` | `boolean` | true when meteorological data are offered. |\n| 29 | `is_water_level_station` | `boolean` | true when water-level data are offered. |\n| 30 | `has_storm_surge` | `boolean` | true when storm-surge data are offered. |\n| 31 | `has_observed_water_level` | `boolean` | true when observed water levels are available. |\n| 32 | `has_harmonic_constituents` | `boolean` | true when harmonic constituents are published. |\n| 33 | `latitude_band` | `string` | 5-degree latitude band. |\n| 34 | `longitude_band` | `string` | 10-degree longitude band. |\n| 35 | `hemisphere` | `string` | N/S + E/W hemisphere pair. |\n| 36 | `is_coastal_us` | `boolean` | true for U.S. coastal states. |\n| 37 | `is_territory` | `boolean` | true for U.S. territories and freely associated states. |\n| 38 | `name_length` | `number` | Characters in the station name. |\n| 39 | `name_word_count` | `number` | Words in the station name. |\n| 40 | `product_completeness` | `number` | product_count as a percentage of 12. |\n\n\n\n---\n\n## \ud83c\udf1f Support & Community\nIf you find this dataset valuable for your research, machine learning projects, or data explorations, **please give it an upvote (\ud83d\udc4d) on Kaggle!**\nFeedback, questions, and community notebook submissions are warmly welcomed in the Discussions tab.\n",
|
| 6 |
+
"isPrivate": false,
|
| 7 |
+
"licenses": [
|
| 8 |
+
{
|
| 9 |
+
"name": "CC0-1.0"
|
| 10 |
+
}
|
| 11 |
+
],
|
| 12 |
+
"keywords": [
|
| 13 |
+
"tabular",
|
| 14 |
+
"oceanography",
|
| 15 |
+
"climate"
|
| 16 |
+
],
|
| 17 |
+
"resources": [
|
| 18 |
+
{
|
| 19 |
+
"path": "noaa_stations.csv",
|
| 20 |
+
"description": "Primary dataset file containing 3,707 records across 40 parameters.",
|
| 21 |
+
"schema": {
|
| 22 |
+
"fields": [
|
| 23 |
+
{
|
| 24 |
+
"name": "station_id",
|
| 25 |
+
"type": "string",
|
| 26 |
+
"description": "NOAA station identifier."
|
| 27 |
+
},
|
| 28 |
+
{
|
| 29 |
+
"name": "name",
|
| 30 |
+
"type": "string",
|
| 31 |
+
"description": "Station name."
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"name": "state",
|
| 35 |
+
"type": "string",
|
| 36 |
+
"description": "Two-letter state/territory code."
|
| 37 |
+
},
|
| 38 |
+
{
|
| 39 |
+
"name": "country",
|
| 40 |
+
"type": "string",
|
| 41 |
+
"description": "Territory name for non-state stations."
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"name": "state_region",
|
| 45 |
+
"type": "string",
|
| 46 |
+
"description": "U.S. Census region."
|
| 47 |
+
},
|
| 48 |
+
{
|
| 49 |
+
"name": "latitude",
|
| 50 |
+
"type": "number",
|
| 51 |
+
"description": "Latitude (decimal degrees)."
|
| 52 |
+
},
|
| 53 |
+
{
|
| 54 |
+
"name": "longitude",
|
| 55 |
+
"type": "number",
|
| 56 |
+
"description": "Longitude (decimal degrees)."
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"name": "type",
|
| 60 |
+
"type": "string",
|
| 61 |
+
"description": "Station type code (S = tide/water level, etc.)."
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"name": "timezone",
|
| 65 |
+
"type": "string",
|
| 66 |
+
"description": "Time zone name."
|
| 67 |
+
},
|
| 68 |
+
{
|
| 69 |
+
"name": "timezone_offset",
|
| 70 |
+
"type": "number",
|
| 71 |
+
"description": "Offset from UTC in hours."
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"name": "time_meridian",
|
| 75 |
+
"type": "number",
|
| 76 |
+
"description": "Local time meridian."
|
| 77 |
+
},
|
| 78 |
+
{
|
| 79 |
+
"name": "reference_id",
|
| 80 |
+
"type": "number",
|
| 81 |
+
"description": "NOAA reference station id."
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"name": "shef_code",
|
| 85 |
+
"type": "string",
|
| 86 |
+
"description": "SHEF location code."
|
| 87 |
+
},
|
| 88 |
+
{
|
| 89 |
+
"name": "port_code",
|
| 90 |
+
"type": "string",
|
| 91 |
+
"description": "Port code used by marine services."
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"name": "affiliations",
|
| 95 |
+
"type": "string",
|
| 96 |
+
"description": "Partner affiliations."
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"name": "station_url",
|
| 100 |
+
"type": "string",
|
| 101 |
+
"description": "Metadata API URL for the station."
|
| 102 |
+
},
|
| 103 |
+
{
|
| 104 |
+
"name": "has_shef",
|
| 105 |
+
"type": "boolean",
|
| 106 |
+
"description": "true when a SHEF code exists."
|
| 107 |
+
},
|
| 108 |
+
{
|
| 109 |
+
"name": "has_port_code",
|
| 110 |
+
"type": "boolean",
|
| 111 |
+
"description": "true when a port code exists."
|
| 112 |
+
},
|
| 113 |
+
{
|
| 114 |
+
"name": "has_affiliations",
|
| 115 |
+
"type": "boolean",
|
| 116 |
+
"description": "true when affiliations are listed."
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"name": "product_count",
|
| 120 |
+
"type": "number",
|
| 121 |
+
"description": "Number of data products offered."
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"name": "products",
|
| 125 |
+
"type": "string",
|
| 126 |
+
"description": "Product names (semicolon-joined)."
|
| 127 |
+
},
|
| 128 |
+
{
|
| 129 |
+
"name": "disclaimer_count",
|
| 130 |
+
"type": "number",
|
| 131 |
+
"description": "Number of disclaimers."
|
| 132 |
+
},
|
| 133 |
+
{
|
| 134 |
+
"name": "notice_count",
|
| 135 |
+
"type": "number",
|
| 136 |
+
"description": "Number of active notices."
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"name": "has_disclaimer",
|
| 140 |
+
"type": "boolean",
|
| 141 |
+
"description": "true when a disclaimer exists."
|
| 142 |
+
},
|
| 143 |
+
{
|
| 144 |
+
"name": "has_notice",
|
| 145 |
+
"type": "boolean",
|
| 146 |
+
"description": "true when a notice exists."
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"name": "is_tide_station",
|
| 150 |
+
"type": "boolean",
|
| 151 |
+
"description": "true when tide predictions are offered."
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"name": "is_current_station",
|
| 155 |
+
"type": "boolean",
|
| 156 |
+
"description": "true when current data are offered."
|
| 157 |
+
},
|
| 158 |
+
{
|
| 159 |
+
"name": "is_met_station",
|
| 160 |
+
"type": "boolean",
|
| 161 |
+
"description": "true when meteorological data are offered."
|
| 162 |
+
},
|
| 163 |
+
{
|
| 164 |
+
"name": "is_water_level_station",
|
| 165 |
+
"type": "boolean",
|
| 166 |
+
"description": "true when water-level data are offered."
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"name": "has_storm_surge",
|
| 170 |
+
"type": "boolean",
|
| 171 |
+
"description": "true when storm-surge data are offered."
|
| 172 |
+
},
|
| 173 |
+
{
|
| 174 |
+
"name": "has_observed_water_level",
|
| 175 |
+
"type": "boolean",
|
| 176 |
+
"description": "true when observed water levels are available."
|
| 177 |
+
},
|
| 178 |
+
{
|
| 179 |
+
"name": "has_harmonic_constituents",
|
| 180 |
+
"type": "boolean",
|
| 181 |
+
"description": "true when harmonic constituents are published."
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"name": "latitude_band",
|
| 185 |
+
"type": "string",
|
| 186 |
+
"description": "5-degree latitude band."
|
| 187 |
+
},
|
| 188 |
+
{
|
| 189 |
+
"name": "longitude_band",
|
| 190 |
+
"type": "string",
|
| 191 |
+
"description": "10-degree longitude band."
|
| 192 |
+
},
|
| 193 |
+
{
|
| 194 |
+
"name": "hemisphere",
|
| 195 |
+
"type": "string",
|
| 196 |
+
"description": "N/S + E/W hemisphere pair."
|
| 197 |
+
},
|
| 198 |
+
{
|
| 199 |
+
"name": "is_coastal_us",
|
| 200 |
+
"type": "boolean",
|
| 201 |
+
"description": "true for U.S. coastal states."
|
| 202 |
+
},
|
| 203 |
+
{
|
| 204 |
+
"name": "is_territory",
|
| 205 |
+
"type": "boolean",
|
| 206 |
+
"description": "true for U.S. territories and freely associated states."
|
| 207 |
+
},
|
| 208 |
+
{
|
| 209 |
+
"name": "name_length",
|
| 210 |
+
"type": "number",
|
| 211 |
+
"description": "Characters in the station name."
|
| 212 |
+
},
|
| 213 |
+
{
|
| 214 |
+
"name": "name_word_count",
|
| 215 |
+
"type": "number",
|
| 216 |
+
"description": "Words in the station name."
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"name": "product_completeness",
|
| 220 |
+
"type": "number",
|
| 221 |
+
"description": "product_count as a percentage of 12."
|
| 222 |
+
}
|
| 223 |
+
]
|
| 224 |
+
}
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"path": "data_dictionary.csv",
|
| 228 |
+
"description": "Field-level data dictionary detailing column names, data types, and semantic definitions."
|
| 229 |
+
},
|
| 230 |
+
{
|
| 231 |
+
"path": "notebook.ipynb",
|
| 232 |
+
"description": "Jupyter starter notebook providing exploratory data analysis and baseline visualizations."
|
| 233 |
+
}
|
| 234 |
+
]
|
| 235 |
+
}
|
kernel-metadata.json
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"id": "samyakrajbayar/noaa-tide-stations-analysis",
|
| 3 |
+
"title": "NOAA Tide & Current Station Network Analysis",
|
| 4 |
+
"code_file": "notebook.ipynb",
|
| 5 |
+
"language": "python",
|
| 6 |
+
"kernel_type": "notebook",
|
| 7 |
+
"is_private": false,
|
| 8 |
+
"enable_gpu": false,
|
| 9 |
+
"enable_tpu": false,
|
| 10 |
+
"enable_internet": true,
|
| 11 |
+
"dataset_sources": [
|
| 12 |
+
"edudev-commons-org/noaa-tide-stations"
|
| 13 |
+
]
|
| 14 |
+
}
|
noaa_stations.csv
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
notebook.ipynb
ADDED
|
@@ -0,0 +1,199 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cells": [
|
| 3 |
+
{
|
| 4 |
+
"cell_type": "markdown",
|
| 5 |
+
"id": "45fad200",
|
| 6 |
+
"metadata": {},
|
| 7 |
+
"source": [
|
| 8 |
+
"# NOAA Tide & Current Station Network\n",
|
| 9 |
+
"\n",
|
| 10 |
+
"Starter notebook for the Kaggle dataset in this folder. It loads `noaa_stations.csv` with pandas and walks through quality checks and a first piece of analysis.\n",
|
| 11 |
+
"\n",
|
| 12 |
+
"**Files:** `noaa_stations.csv`, `data_dictionary.csv`."
|
| 13 |
+
]
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"cell_type": "markdown",
|
| 17 |
+
"id": "0000f7f2",
|
| 18 |
+
"metadata": {},
|
| 19 |
+
"source": [
|
| 20 |
+
"## 1. Load the data"
|
| 21 |
+
]
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"cell_type": "code",
|
| 25 |
+
"id": "8dd2b41b",
|
| 26 |
+
"metadata": {},
|
| 27 |
+
"execution_count": null,
|
| 28 |
+
"outputs": [],
|
| 29 |
+
"source": [
|
| 30 |
+
"import pandas as pd\n",
|
| 31 |
+
"\n",
|
| 32 |
+
"df = pd.read_csv(\"noaa_stations.csv\", dtype={\"station_id\": str}, low_memory=False)\n",
|
| 33 |
+
"print(df.shape)"
|
| 34 |
+
]
|
| 35 |
+
},
|
| 36 |
+
{
|
| 37 |
+
"cell_type": "markdown",
|
| 38 |
+
"id": "325de123",
|
| 39 |
+
"metadata": {},
|
| 40 |
+
"source": [
|
| 41 |
+
"## 2. Shape, types and missing values"
|
| 42 |
+
]
|
| 43 |
+
},
|
| 44 |
+
{
|
| 45 |
+
"cell_type": "code",
|
| 46 |
+
"id": "6eb42bc8",
|
| 47 |
+
"metadata": {},
|
| 48 |
+
"execution_count": null,
|
| 49 |
+
"outputs": [],
|
| 50 |
+
"source": [
|
| 51 |
+
"print(f\"{df.shape[0]:,} rows x {df.shape[1]} columns\")\n",
|
| 52 |
+
"\n",
|
| 53 |
+
"missing = df.isna().mean().mul(100).sort_values(ascending=False)\n",
|
| 54 |
+
"missing[missing > 0].round(1).to_frame(\"missing_%\").head(15)"
|
| 55 |
+
]
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"cell_type": "markdown",
|
| 59 |
+
"id": "f2d963fe",
|
| 60 |
+
"metadata": {},
|
| 61 |
+
"source": [
|
| 62 |
+
"## 3. Numeric summary"
|
| 63 |
+
]
|
| 64 |
+
},
|
| 65 |
+
{
|
| 66 |
+
"cell_type": "code",
|
| 67 |
+
"id": "aa2f8fd4",
|
| 68 |
+
"metadata": {},
|
| 69 |
+
"execution_count": null,
|
| 70 |
+
"outputs": [],
|
| 71 |
+
"source": [
|
| 72 |
+
"df.describe(include='number').T.round(2).head(20)"
|
| 73 |
+
]
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"cell_type": "markdown",
|
| 77 |
+
"id": "093a0973",
|
| 78 |
+
"metadata": {},
|
| 79 |
+
"source": [
|
| 80 |
+
"## 4. Stations by state"
|
| 81 |
+
]
|
| 82 |
+
},
|
| 83 |
+
{
|
| 84 |
+
"cell_type": "code",
|
| 85 |
+
"id": "63d17c11",
|
| 86 |
+
"metadata": {},
|
| 87 |
+
"execution_count": null,
|
| 88 |
+
"outputs": [],
|
| 89 |
+
"source": [
|
| 90 |
+
"df[\"state\"].value_counts().head(15).to_frame(\"stations\")"
|
| 91 |
+
]
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"cell_type": "markdown",
|
| 95 |
+
"id": "ff02a59b",
|
| 96 |
+
"metadata": {},
|
| 97 |
+
"source": [
|
| 98 |
+
"## 5. Capability mix"
|
| 99 |
+
]
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"cell_type": "code",
|
| 103 |
+
"id": "b907d04a",
|
| 104 |
+
"metadata": {},
|
| 105 |
+
"execution_count": null,
|
| 106 |
+
"outputs": [],
|
| 107 |
+
"source": [
|
| 108 |
+
"for c in [\"is_tide_station\", \"is_current_station\", \"is_met_station\", \"is_water_level_station\"]:\n",
|
| 109 |
+
" print(c, int((df[c].astype(str).str.lower() == \"true\").sum()))"
|
| 110 |
+
]
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"cell_type": "markdown",
|
| 114 |
+
"id": "ab9a9708",
|
| 115 |
+
"metadata": {},
|
| 116 |
+
"source": [
|
| 117 |
+
"## 6. Products per station"
|
| 118 |
+
]
|
| 119 |
+
},
|
| 120 |
+
{
|
| 121 |
+
"cell_type": "code",
|
| 122 |
+
"id": "0422ba11",
|
| 123 |
+
"metadata": {},
|
| 124 |
+
"execution_count": null,
|
| 125 |
+
"outputs": [],
|
| 126 |
+
"source": [
|
| 127 |
+
"df[\"product_count\"].value_counts().sort_index().to_frame(\"stations\")"
|
| 128 |
+
]
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"cell_type": "markdown",
|
| 132 |
+
"id": "c25c9a59",
|
| 133 |
+
"metadata": {},
|
| 134 |
+
"source": [
|
| 135 |
+
"## 7. Map"
|
| 136 |
+
]
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"cell_type": "code",
|
| 140 |
+
"id": "7e793e8d",
|
| 141 |
+
"metadata": {},
|
| 142 |
+
"execution_count": null,
|
| 143 |
+
"outputs": [],
|
| 144 |
+
"source": [
|
| 145 |
+
"sub = df.dropna(subset=[\"latitude\", \"longitude\"])\n",
|
| 146 |
+
"sub.plot.scatter(x=\"longitude\", y=\"latitude\", s=8, alpha=0.6, figsize=(10, 6))"
|
| 147 |
+
]
|
| 148 |
+
},
|
| 149 |
+
{
|
| 150 |
+
"cell_type": "markdown",
|
| 151 |
+
"id": "2d933d41",
|
| 152 |
+
"metadata": {},
|
| 153 |
+
"source": [
|
| 154 |
+
"## 8. Region summary"
|
| 155 |
+
]
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"cell_type": "code",
|
| 159 |
+
"id": "fa873574",
|
| 160 |
+
"metadata": {},
|
| 161 |
+
"execution_count": null,
|
| 162 |
+
"outputs": [],
|
| 163 |
+
"source": [
|
| 164 |
+
"df.groupby(\"state_region\")[\"product_count\"].agg([\"count\", \"mean\"]).round(2)"
|
| 165 |
+
]
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"cell_type": "markdown",
|
| 169 |
+
"id": "6e43770c",
|
| 170 |
+
"metadata": {},
|
| 171 |
+
"source": [
|
| 172 |
+
"## Next steps\n",
|
| 173 |
+
"\n",
|
| 174 |
+
"See `KAGGLE.md` for analysis ideas, caveats and provenance."
|
| 175 |
+
]
|
| 176 |
+
}
|
| 177 |
+
],
|
| 178 |
+
"metadata": {
|
| 179 |
+
"kernelspec": {
|
| 180 |
+
"display_name": "Python 3",
|
| 181 |
+
"language": "python",
|
| 182 |
+
"name": "python3"
|
| 183 |
+
},
|
| 184 |
+
"language_info": {
|
| 185 |
+
"name": "python",
|
| 186 |
+
"version": "3.11",
|
| 187 |
+
"mimetype": "text/x-python",
|
| 188 |
+
"file_extension": ".py",
|
| 189 |
+
"codemirror_mode": {
|
| 190 |
+
"name": "ipython",
|
| 191 |
+
"version": 3
|
| 192 |
+
},
|
| 193 |
+
"pygments_lexer": "ipython3",
|
| 194 |
+
"nbconvert_exporter": "python"
|
| 195 |
+
}
|
| 196 |
+
},
|
| 197 |
+
"nbformat": 4,
|
| 198 |
+
"nbformat_minor": 5
|
| 199 |
+
}
|