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 ({'daq_forecast_area', 'forecast_date', 'severity', 'action', 'issued_date'}) and 7 missing columns ({'model', 'region', 'horizon_h', 'window_days', 'bias', 'n', 'mae'}).
This happened while the csv dataset builder was generating data using
hf://datasets/itstheryguy/aq-utah-forecasts/latest/daq_forecast.csv (at revision 953a25578cbef7f64cda14d1d40e70efe20e207f), ['hf://datasets/itstheryguy/aq-utah-forecasts@953a25578cbef7f64cda14d1d40e70efe20e207f/latest/accuracy.csv', 'hf://datasets/itstheryguy/aq-utah-forecasts@953a25578cbef7f64cda14d1d40e70efe20e207f/latest/daq_forecast.csv', 'hf://datasets/itstheryguy/aq-utah-forecasts@953a25578cbef7f64cda14d1d40e70efe20e207f/latest/forecasts.csv', 'hf://datasets/itstheryguy/aq-utah-forecasts@953a25578cbef7f64cda14d1d40e70efe20e207f/latest/history.csv', 'hf://datasets/itstheryguy/aq-utah-forecasts@953a25578cbef7f64cda14d1d40e70efe20e207f/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 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
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 ({'daq_forecast_area', 'forecast_date', 'severity', 'action', 'issued_date'}) and 7 missing columns ({'model', 'region', 'horizon_h', 'window_days', 'bias', 'n', 'mae'}).
This happened while the csv dataset builder was generating data using
hf://datasets/itstheryguy/aq-utah-forecasts/latest/daq_forecast.csv (at revision 953a25578cbef7f64cda14d1d40e70efe20e207f), ['hf://datasets/itstheryguy/aq-utah-forecasts@953a25578cbef7f64cda14d1d40e70efe20e207f/latest/accuracy.csv', 'hf://datasets/itstheryguy/aq-utah-forecasts@953a25578cbef7f64cda14d1d40e70efe20e207f/latest/daq_forecast.csv', 'hf://datasets/itstheryguy/aq-utah-forecasts@953a25578cbef7f64cda14d1d40e70efe20e207f/latest/forecasts.csv', 'hf://datasets/itstheryguy/aq-utah-forecasts@953a25578cbef7f64cda14d1d40e70efe20e207f/latest/history.csv', 'hf://datasets/itstheryguy/aq-utah-forecasts@953a25578cbef7f64cda14d1d40e70efe20e207f/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 | 364 | 2.855 | -1.313 |
lightgbm | 24 | 7 | all | 364 | 2.826 | -0.858 |
linear | 24 | 7 | all | 364 | 3.696 | -2.157 |
persistence | 24 | 7 | all | 364 | 4.075 | -1.395 |
gru | 48 | 7 | all | 363 | 3.032 | -1.846 |
lightgbm | 48 | 7 | all | 363 | 2.902 | -1.576 |
linear | 48 | 7 | all | 363 | 3.9 | -2.915 |
persistence | 48 | 7 | all | 363 | 4.027 | -2.504 |
gru | 72 | 7 | all | 360 | 3.134 | -2.093 |
lightgbm | 72 | 7 | all | 360 | 3.053 | -1.954 |
linear | 72 | 7 | all | 360 | 4.186 | -3.273 |
persistence | 72 | 7 | all | 360 | 4.62 | -3.565 |
gru | 24 | 30 | all | 3,078 | 2.406 | 0.031 |
lightgbm | 24 | 30 | all | 3,079 | 2.408 | 0.52 |
linear | 24 | 30 | all | 3,053 | 2.684 | -0.078 |
persistence | 24 | 30 | all | 3,079 | 3.121 | 0.457 |
gru | 48 | 30 | all | 3,020 | 2.44 | 0.084 |
lightgbm | 48 | 30 | all | 3,021 | 2.437 | 0.205 |
linear | 48 | 30 | all | 2,994 | 2.826 | -0.224 |
persistence | 48 | 30 | all | 3,021 | 3.534 | 0.739 |
gru | 72 | 30 | all | 2,965 | 2.605 | 0.276 |
lightgbm | 72 | 30 | all | 2,965 | 2.54 | 0.485 |
linear | 72 | 30 | all | 2,940 | 3.055 | 0.044 |
persistence | 72 | 30 | all | 2,966 | 3.753 | 1.045 |
gru | 24 | 7 | wasatch_front | 238 | 3.188 | -1.535 |
lightgbm | 24 | 7 | wasatch_front | 238 | 3.188 | -1.083 |
linear | 24 | 7 | wasatch_front | 238 | 4.379 | -2.895 |
persistence | 24 | 7 | wasatch_front | 238 | 4.813 | -1.607 |
gru | 48 | 7 | wasatch_front | 237 | 3.427 | -2.329 |
lightgbm | 48 | 7 | wasatch_front | 237 | 3.263 | -1.976 |
linear | 48 | 7 | wasatch_front | 237 | 4.586 | -4.025 |
persistence | 48 | 7 | wasatch_front | 237 | 4.48 | -3.132 |
gru | 72 | 7 | wasatch_front | 236 | 3.533 | -2.574 |
lightgbm | 72 | 7 | wasatch_front | 236 | 3.429 | -2.47 |
linear | 72 | 7 | wasatch_front | 236 | 5.034 | -4.442 |
persistence | 72 | 7 | wasatch_front | 236 | 5.311 | -4.364 |
gru | 24 | 30 | wasatch_front | 2,012 | 2.604 | 0.22 |
lightgbm | 24 | 30 | wasatch_front | 2,013 | 2.613 | 0.657 |
linear | 24 | 30 | wasatch_front | 1,996 | 2.93 | -0.35 |
persistence | 24 | 30 | wasatch_front | 2,013 | 3.405 | 0.512 |
gru | 48 | 30 | wasatch_front | 1,977 | 2.665 | 0.267 |
lightgbm | 48 | 30 | wasatch_front | 1,978 | 2.665 | 0.282 |
linear | 48 | 30 | wasatch_front | 1,960 | 3.059 | -0.688 |
persistence | 48 | 30 | wasatch_front | 1,978 | 3.747 | 0.709 |
gru | 72 | 30 | wasatch_front | 1,941 | 2.919 | 0.433 |
lightgbm | 72 | 30 | wasatch_front | 1,942 | 2.817 | 0.572 |
linear | 72 | 30 | wasatch_front | 1,925 | 3.361 | -0.427 |
persistence | 72 | 30 | wasatch_front | 1,942 | 4.028 | 1.026 |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | null | null | null | null | null |
null | null | 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
- 1,226