The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
id: string
title: string
code_file: string
language: string
kernel_type: string
is_private: bool
enable_gpu: bool
enable_tpu: bool
enable_internet: bool
dataset_sources: list<item: string>
child 0, item: string
isPrivate: bool
subtitle: string
licenses: list<item: struct<name: string>>
child 0, item: struct<name: string>
child 0, name: string
keywords: list<item: string>
child 0, item: string
resources: list<item: struct<path: string, description: string, schema: struct<fields: list<item: struct<name: (... 46 chars omitted)
child 0, item: struct<path: string, description: string, schema: struct<fields: list<item: struct<name: string, typ (... 34 chars omitted)
child 0, path: string
child 1, description: string
child 2, schema: struct<fields: list<item: struct<name: string, type: string, description: string>>>
child 0, fields: list<item: struct<name: string, type: string, description: string>>
child 0, item: struct<name: string, type: string, description: string>
child 0, name: string
child 1, type: string
child 2, description: string
description: string
to
{'title': Value('string'), 'id': Value('string'), 'subtitle': Value('string'), 'description': Value('string'), 'isPrivate': Value('bool'), 'licenses': List({'name': Value('string')}), 'keywords': List(Value('string')), 'resources': List({'path': Value('string'), 'description': Value('string'), 'schema': {'fields': List({'name': Value('string'), 'type': Value('string'), 'description': Value('string')})}})}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 149, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 274, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 129, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 544, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3074, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2578, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2603, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 577, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 459, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 373, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2394, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2322, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
id: string
title: string
code_file: string
language: string
kernel_type: string
is_private: bool
enable_gpu: bool
enable_tpu: bool
enable_internet: bool
dataset_sources: list<item: string>
child 0, item: string
isPrivate: bool
subtitle: string
licenses: list<item: struct<name: string>>
child 0, item: struct<name: string>
child 0, name: string
keywords: list<item: string>
child 0, item: string
resources: list<item: struct<path: string, description: string, schema: struct<fields: list<item: struct<name: (... 46 chars omitted)
child 0, item: struct<path: string, description: string, schema: struct<fields: list<item: struct<name: string, typ (... 34 chars omitted)
child 0, path: string
child 1, description: string
child 2, schema: struct<fields: list<item: struct<name: string, type: string, description: string>>>
child 0, fields: list<item: struct<name: string, type: string, description: string>>
child 0, item: struct<name: string, type: string, description: string>
child 0, name: string
child 1, type: string
child 2, description: string
description: string
to
{'title': Value('string'), 'id': Value('string'), 'subtitle': Value('string'), 'description': Value('string'), 'isPrivate': Value('bool'), 'licenses': List({'name': Value('string')}), 'keywords': List(Value('string')), 'resources': List({'path': Value('string'), 'description': Value('string'), 'schema': {'fields': List({'name': Value('string'), 'type': Value('string'), 'description': Value('string')})}})}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
YAML Metadata Warning:The task_categories "tabular" is not in the official list: text-classification, token-classification, table-question-answering, question-answering, zero-shot-classification, translation, summarization, feature-extraction, text-generation, fill-mask, sentence-similarity, text-to-speech, text-to-audio, automatic-speech-recognition, audio-to-audio, audio-classification, audio-text-to-text, voice-activity-detection, depth-estimation, image-classification, object-detection, image-segmentation, text-to-image, image-to-text, image-to-image, image-to-video, unconditional-image-generation, video-classification, reinforcement-learning, robotics, tabular-classification, tabular-regression, tabular-to-text, table-to-text, multiple-choice, text-ranking, text-retrieval, time-series-forecasting, text-to-video, image-text-to-text, image-text-to-image, image-text-to-video, visual-question-answering, document-question-answering, zero-shot-image-classification, graph-ml, mask-generation, zero-shot-object-detection, text-to-3d, image-to-3d, image-feature-extraction, video-text-to-text, keypoint-detection, visual-document-retrieval, any-to-any, video-to-video, other
Global Weather Station Network
Subtitle: 133,041 GHCN-Daily stations with coordinates, elevation & network data
Tags: tabular, weather, climate
Dataset File: weather_stations.csv (133,041 rows, 35 columns, 28.0 MB)
Provenance & Source: NOAA NCEI GHCN-Daily Database (noaa.gov)
Expected Update Frequency: annually
π Description
The global weather-station network
NOAA's Global Historical Climatology Network β Daily (GHCN-Daily) aggregates station observations worldwide. This dataset combines its 133,041 stations across 218 countries with the inventory of what each station measures, giving 35 parameters.
- Identity β station id, name, country code and name, U.S. state, GSN/HCN flags and WMO id.
- Position β latitude, longitude, elevation, hemisphere and coordinate bands.
- Measurement inventory β element codes and count, first and last year, record length, and precipitation/temperature/snow/wind availability flags.
- Derived β active-in-2025 and long-record flags, station age, high-elevation and coastal-lowland flags, name and country coverage.
43,689 stations have data reaching 2025 and 985 belong to the Global Surface Network. The file is a ready-made station metadata table for any GHCN-Daily analysis or climate-data pipeline.
π§Ύ Columns (35)
station_id, name, latitude, longitude, elevation_m, state, country_code, country_name, gsn_flag, hcn_flag, wmo_id, hemisphere, latitude_band, longitude_band, is_us, has_state, has_wmo, is_gsn, is_hcn, name_length, name_word_count, element_count, elements, first_year, last_year, record_years, is_active_2025, is_long_record, has_precipitation, has_temperature, has_snow, has_wind, station_age, is_high_elevation, is_coastal_lowland
π‘ Ideas for using this data
- Network coverage β station density by country and latitude band.
- Record length β which regions have long, continuous climate records?
- Measurement gaps β stations with temperature but no precipitation, and vice versa.
- Elevation bias β high-elevation stations are sparse; quantify the gap.
- Active vs retired β map stations that stopped reporting.
- GSN/HCN β reference-network coverage by country.
- Climate analysis prep β join this metadata to GHCN-Daily observations.
- Station naming β name patterns and duplicate names.
- Country comparison β stations per country vs land area (external join).
π Files
| File | What it is |
|---|---|
weather_stations.csv |
133,041 stations x 35 parameters. |
data_dictionary.csv |
Column / type / description for every field. |
notebook.ipynb |
Starter notebook that loads the CSV and analyses it. |
dataset-metadata.json |
Kaggle API metadata. |
about.md |
Plain-text About block. |
π·οΈ Tags
weather, climate, noaa, ghcn, stations, geospatial, infrastructure
π Provenance
- Source: NOAA NCEI GHCN-Daily metadata files,
ghcnd-stations.txt,ghcnd-countries.txtandghcnd-inventory.txtunderhttps://www.ncei.noaa.gov/pub/data/ghcn/daily/. - Processing: fixed-width station records parsed, country names joined, inventory aggregated to one row per station (element set, first and last year), derived flags and bands added.
- Snapshot date: 22 November 2026.
π Update frequency
Daily. GHCN-Daily and its metadata files are refreshed each day.
β οΈ Caveats
- Station metadata describes the station, not the observations; no daily values are included.
- Inventory years describe data availability in GHCN-Daily, not the station's operational life.
- The country code is a GHCN/FIPS-style prefix and may differ from ISO codes.
- Elevation is station elevation, not necessarily representative of the surrounding area.
- Some stations have no inventory entry and therefore blank element/year fields.
- GSN/HCN flags are network memberships that change slowly.
- Station names and coordinates contain historical inconsistencies.
π Licence
U.S. Government work (NOAA/NCEI) β public domain.
π Column Definitions & File Header
| # | Column Name | Data Type | Description |
|---|---|---|---|
| 1 | station_id |
string |
GHCN station identifier (first two characters are the country code). |
| 2 | name |
string |
Station name. |
| 3 | latitude |
number |
Latitude (decimal degrees). |
| 4 | longitude |
number |
Longitude (decimal degrees). |
| 5 | elevation_m |
number |
Elevation in metres. |
| 6 | state |
string |
Two-letter state code (U.S. stations only). |
| 7 | country_code |
string |
FIPS-like country code from the station id prefix. |
| 8 | country_name |
string |
Country name from the GHCN country list. |
| 9 | gsn_flag |
string |
Global Surface Network flag. |
| 10 | hcn_flag |
string |
U.S. Historical Climatology Network flag. |
| 11 | wmo_id |
number |
WMO station number, where assigned. |
| 12 | hemisphere |
string |
N/S + E/W hemisphere pair. |
| 13 | latitude_band |
string |
10-degree latitude band. |
| 14 | longitude_band |
string |
15-degree longitude band. |
| 15 | is_us |
boolean |
true for U.S. stations. |
| 16 | has_state |
boolean |
true when a state code is present. |
| 17 | has_wmo |
boolean |
true when a WMO id is present. |
| 18 | is_gsn |
boolean |
true for GSN stations. |
| 19 | is_hcn |
boolean |
true for HCN stations. |
| 20 | name_length |
number |
Characters in the station name. |
| 21 | name_word_count |
number |
Words in the station name. |
| 22 | element_count |
number |
Number of distinct daily elements measured. |
| 23 | elements |
string |
Element codes measured (semicolon-joined). |
| 24 | first_year |
number |
First year with data in the inventory. |
| 25 | last_year |
number |
Last year with data in the inventory. |
| 26 | record_years |
number |
last_year - first_year + 1. |
| 27 | is_active_2025 |
boolean |
true when data reach 2025 or later. |
| 28 | is_long_record |
boolean |
true for records of 50 years or more. |
| 29 | has_precipitation |
boolean |
true when PRCP is measured. |
| 30 | has_temperature |
boolean |
true when TMAX or TMIN is measured. |
| 31 | has_snow |
boolean |
true when SNOW or SNWD is measured. |
| 32 | has_wind |
boolean |
true when AWND is measured. |
| 33 | station_age |
number |
Years since the first inventory year. |
| 34 | is_high_elevation |
boolean |
true above 2,000 m. |
| 35 | is_coastal_lowland |
boolean |
true below 10 m elevation. |
π Support & Community
If you find this dataset valuable for your research, machine learning projects, or data explorations, please give it an upvote (π) on Kaggle! Feedback, questions, and community notebook submissions are warmly welcomed in the Discussions tab.
- Downloads last month
- 26