Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 5 new columns ({'issued_date', 'forecast_date', 'daq_forecast_area', 'action', 'severity'}) and 7 missing columns ({'window_days', 'n', 'bias', 'region', 'mae', 'model', 'horizon_h'}).
This happened while the csv dataset builder was generating data using
hf://datasets/itstheryguy/aq-utah-forecasts/latest/daq_forecast.csv (at revision f6365bd62175ffcfada882c7e3ec5179c2842c04), ['hf://datasets/itstheryguy/aq-utah-forecasts@f6365bd62175ffcfada882c7e3ec5179c2842c04/latest/accuracy.csv', 'hf://datasets/itstheryguy/aq-utah-forecasts@f6365bd62175ffcfada882c7e3ec5179c2842c04/latest/daq_forecast.csv', 'hf://datasets/itstheryguy/aq-utah-forecasts@f6365bd62175ffcfada882c7e3ec5179c2842c04/latest/forecasts.csv', 'hf://datasets/itstheryguy/aq-utah-forecasts@f6365bd62175ffcfada882c7e3ec5179c2842c04/latest/history.csv', 'hf://datasets/itstheryguy/aq-utah-forecasts@f6365bd62175ffcfada882c7e3ec5179c2842c04/latest/stations.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1856, in _prepare_split_single
writer.write_table(table)
~~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 811, in write_table
self._write_table(pa_table, writer_batch_size=writer_batch_size)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 822, in _write_table
pa_table = table_cast(pa_table, self._schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2381, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2309, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
daq_forecast_area: string
forecast_date: string
issued_date: string
severity: string
action: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 888
to
{'model': Value('string'), 'horizon_h': Value('int64'), 'window_days': Value('int64'), 'region': Value('string'), 'n': Value('int64'), 'mae': Value('float64'), 'bias': Value('float64')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1379, in compute_config_parquet_and_info_response
parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
~~~~~~~~~~~~~~~~~~~~~~~~~^
builder, max_dataset_size_bytes=max_dataset_size_bytes
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 956, in stream_convert_to_parquet
builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
~~~~~~~~~~~~~~~~~~~~~~~~~~^
gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
):
^
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1858, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
...<4 lines>...
)
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 5 new columns ({'issued_date', 'forecast_date', 'daq_forecast_area', 'action', 'severity'}) and 7 missing columns ({'window_days', 'n', 'bias', 'region', 'mae', 'model', 'horizon_h'}).
This happened while the csv dataset builder was generating data using
hf://datasets/itstheryguy/aq-utah-forecasts/latest/daq_forecast.csv (at revision f6365bd62175ffcfada882c7e3ec5179c2842c04), ['hf://datasets/itstheryguy/aq-utah-forecasts@f6365bd62175ffcfada882c7e3ec5179c2842c04/latest/accuracy.csv', 'hf://datasets/itstheryguy/aq-utah-forecasts@f6365bd62175ffcfada882c7e3ec5179c2842c04/latest/daq_forecast.csv', 'hf://datasets/itstheryguy/aq-utah-forecasts@f6365bd62175ffcfada882c7e3ec5179c2842c04/latest/forecasts.csv', 'hf://datasets/itstheryguy/aq-utah-forecasts@f6365bd62175ffcfada882c7e3ec5179c2842c04/latest/history.csv', 'hf://datasets/itstheryguy/aq-utah-forecasts@f6365bd62175ffcfada882c7e3ec5179c2842c04/latest/stations.csv']
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
model string | horizon_h int64 | window_days int64 | region string | n int64 | mae float64 | bias float64 |
|---|---|---|---|---|---|---|
gru | 24 | 7 | all | 988 | 2.641 | -1.357 |
lightgbm | 24 | 7 | all | 988 | 2.555 | -0.622 |
linear | 24 | 7 | all | 962 | 2.917 | -1.362 |
persistence | 24 | 7 | all | 988 | 2.827 | -0.681 |
gru | 48 | 7 | all | 754 | 2.979 | -1.43 |
lightgbm | 48 | 7 | all | 754 | 2.985 | -1.384 |
linear | 48 | 7 | all | 728 | 3.73 | -1.965 |
persistence | 48 | 7 | all | 754 | 3.484 | -1.011 |
gru | 72 | 7 | all | 545 | 3.06 | -1.757 |
lightgbm | 72 | 7 | all | 545 | 3.06 | -1.335 |
linear | 72 | 7 | all | 519 | 4.161 | -2.249 |
persistence | 72 | 7 | all | 545 | 3.754 | -1.374 |
gru | 24 | 30 | all | 988 | 2.641 | -1.357 |
lightgbm | 24 | 30 | all | 988 | 2.555 | -0.622 |
linear | 24 | 30 | all | 962 | 2.917 | -1.362 |
persistence | 24 | 30 | all | 988 | 2.827 | -0.681 |
gru | 48 | 30 | all | 754 | 2.979 | -1.43 |
lightgbm | 48 | 30 | all | 754 | 2.985 | -1.384 |
linear | 48 | 30 | all | 728 | 3.73 | -1.965 |
persistence | 48 | 30 | all | 754 | 3.484 | -1.011 |
gru | 72 | 30 | all | 545 | 3.06 | -1.757 |
lightgbm | 72 | 30 | all | 545 | 3.06 | -1.335 |
linear | 72 | 30 | all | 519 | 4.161 | -2.249 |
persistence | 72 | 30 | all | 545 | 3.754 | -1.374 |
gru | 24 | 7 | wasatch_front | 646 | 2.9 | -1.581 |
lightgbm | 24 | 7 | wasatch_front | 646 | 2.841 | -0.874 |
linear | 24 | 7 | wasatch_front | 629 | 3.403 | -2.18 |
persistence | 24 | 7 | wasatch_front | 646 | 3.165 | -1.053 |
gru | 48 | 7 | wasatch_front | 493 | 3.42 | -1.63 |
lightgbm | 48 | 7 | wasatch_front | 493 | 3.42 | -1.861 |
linear | 48 | 7 | wasatch_front | 476 | 4.434 | -3.323 |
persistence | 48 | 7 | wasatch_front | 493 | 3.892 | -1.774 |
gru | 72 | 7 | wasatch_front | 356 | 3.656 | -2.214 |
lightgbm | 72 | 7 | wasatch_front | 356 | 3.593 | -2.082 |
linear | 72 | 7 | wasatch_front | 339 | 5.095 | -4.016 |
persistence | 72 | 7 | wasatch_front | 356 | 4.235 | -2.601 |
gru | 24 | 30 | wasatch_front | 646 | 2.9 | -1.581 |
lightgbm | 24 | 30 | wasatch_front | 646 | 2.841 | -0.874 |
linear | 24 | 30 | wasatch_front | 629 | 3.403 | -2.18 |
persistence | 24 | 30 | wasatch_front | 646 | 3.165 | -1.053 |
gru | 48 | 30 | wasatch_front | 493 | 3.42 | -1.63 |
lightgbm | 48 | 30 | wasatch_front | 493 | 3.42 | -1.861 |
linear | 48 | 30 | wasatch_front | 476 | 4.434 | -3.323 |
persistence | 48 | 30 | wasatch_front | 493 | 3.892 | -1.774 |
gru | 72 | 30 | wasatch_front | 356 | 3.656 | -2.214 |
lightgbm | 72 | 30 | wasatch_front | 356 | 3.593 | -2.082 |
linear | 72 | 30 | wasatch_front | 339 | 5.095 | -4.016 |
persistence | 72 | 30 | wasatch_front | 356 | 4.235 | -2.601 |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
persistence | 24 | null | null | null | null | null |
persistence | 24 | null | null | null | null | null |
persistence | 24 | null | null | null | null | null |
persistence | 24 | null | null | null | null | null |
persistence | 24 | null | null | null | null | null |
persistence | 24 | null | null | null | null | null |
persistence | 24 | null | null | null | null | null |
persistence | 24 | null | null | null | null | null |
persistence | 24 | null | null | null | null | null |
persistence | 24 | null | null | null | null | null |
End of preview.
Utah PM2.5 forecasts
Batch forecasts of hourly PM2.5 (µg/m³) 24, 48, and 72 hours ahead for Utah's regulatory air quality monitors, refreshed every few hours by a Databricks pipeline. The Utah PM2.5 Forecast Space reads these files. Code and design: github.com/itstheryguy/aq_utah_project.
latest/ is overwritten on each run. The repo's commit history keeps every earlier version.
| File | One row per | Columns |
|---|---|---|
latest/forecasts.csv |
station × model × horizon | station_id, hour_utc (newest reading the forecast starts from), model (lightgbm, gru, linear (ridge), persistence), model_version, horizon_h, target_hour_utc, predicted_pm25, input_age_h |
latest/history.csv |
station × hour, last 7 days | station_id, hour_utc, pm25_ugm3 |
latest/accuracy.csv |
model × horizon × window × region | Live MAE and bias of past forecasts against the readings that later arrived. window_days is 7 or 30. |
latest/stations.csv |
station | station_id, name, latitude, longitude, county, daq_forecast_area, wasatch_front |
latest/daq_forecast.csv |
forecast area × day | Utah DAQ's own forecast category and burn-restriction action, for comparison |
latest/meta.json |
as_of_utc, generated_at_utc, champion model versions |
Times are UTC, and hour_utc is the start of the hour. Readings are provisional (not yet quality-assured).
Sources: Utah Division of Air Quality, AirNow (via OpenAQ), EPA AirData, Open-Meteo. Forecasts are model output and aren't an official forecast.
- Downloads last month
- 553