Datasets:
The dataset viewer is not available for this split.
Error code: FeaturesError
Exception: ArrowInvalid
Message: JSON parse error: Missing a name for object member. in row 0
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 324, in _generate_tables
df = pandas_read_json(f)
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 38, in pandas_read_json
return pd.read_json(path_or_buf, **kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 815, in read_json
return json_reader.read()
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1014, in read
obj = self._get_object_parser(self.data)
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1040, in _get_object_parser
obj = FrameParser(json, **kwargs).parse()
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1176, in parse
self._parse()
~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1391, in _parse
self.obj = DataFrame(
~~~~~~~~~^
ujson_loads(json, precise_float=self.precise_float), dtype=None
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.14/site-packages/pandas/core/frame.py", line 782, in __init__
mgr = dict_to_mgr(data, index, columns, dtype=dtype, copy=copy, typ=manager)
File "/usr/local/lib/python3.14/site-packages/pandas/core/internals/construction.py", line 503, in dict_to_mgr
return arrays_to_mgr(arrays, columns, index, dtype=dtype, typ=typ, consolidate=copy)
File "/usr/local/lib/python3.14/site-packages/pandas/core/internals/construction.py", line 114, in arrays_to_mgr
index = _extract_index(arrays)
File "/usr/local/lib/python3.14/site-packages/pandas/core/internals/construction.py", line 677, in _extract_index
raise ValueError("All arrays must be of the same length")
ValueError: All arrays must be of the same length
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 249, in compute_first_rows_from_streaming_response
iterable_dataset = iterable_dataset._resolve_features()
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 4379, in _resolve_features
features = _infer_features_from_batch(self.with_format(None)._head())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2661, in _head
return next(iter(self.iter(batch_size=n)))
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2839, in iter
for key, pa_table in ex_iterable.iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2377, in _iter_arrow
yield from self.ex_iterable._iter_arrow()
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 536, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 419, 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 327, in _generate_tables
raise e
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 290, in _generate_tables
pa_table = paj.read_json(
io.BytesIO(batch), read_options=paj.ReadOptions(block_size=block_size)
)
File "pyarrow/_json.pyx", line 342, in pyarrow._json.read_json
File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
return check_status(status)
File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
raise convert_status(status)
pyarrow.lib.ArrowInvalid: JSON parse error: Missing a name for object member. in row 0Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
CanFireCast Dataset (Paper Reproduction Sample)
This repository hosts a sampled release used to reproduce the experiments in CanFireCast for Canada Nationwide Wildfire Activity Forecasting with Multisource Spatiotemporal Modeling.
Important: This is not the full nationwide corpus.
The complete dataset (raw products, intermediate layers, annual HDF5 archives, and derived caches) exceeds 10 TB and cannot be redistributed through online platforms.
Access to the full dataset may be requested from the authors after the anonymity period ends (see Full Dataset Access).
Companion code: CanFireCast
What This Release Contains
This Hugging Face package provides the paper-reproduction sample / training cache used with --json F (cache_F) in the CanFireCast codebase. Approximate contents (~65 GB):
| File | Description |
|---|---|
windows_*.h5 |
Sampled spatiotemporal training windows for train / validation / test |
samples_variant_F.json |
Sampling metadata for variant F |
norm_stats.npz |
Train-only normalization statistics (reuse for validation and test) |
These files are sufficient to fully reproduce the paper training and evaluation pipeline. They are a carefully constructed subsample of the nationwide data cube, not a dump of every grid cell and day.
Task Definition
Next-day wildfire activity forecasting on a 5 km grid over the Canadian land area.
For each target cell, the model receives 10 days of environmental history in a local 13 × 13 patch ending on the issue date, and predicts the probability of a high-confidence active-fire observation at the center cell on the following day.
Each sample is:
[ \mathbf{X}_i \in \mathbb{R}^{54 \times 10 \times 13 \times 13}, \quad y_i \in {0,1} ]
Temporal splits (strict year-based, no leakage across years):
| Split | Years |
|---|---|
| Train | 2000–2019 |
| Validation | 2020–2022 |
| Test | 2023–2025 |
The test set uses a positive-to-negative ratio of 1:2 to avoid extreme class imbalance.
Multisource Inputs
Inputs combine weather and land state, fire-danger indices, vegetation and fuel proxies, terrain, land cover, and human-activity context. Products are spatially interpolated and temporally aligned onto a daily 5 km grid. Cloud-affected, low-quality, or missing remote-sensing observations are filled with the latest valid observation before the target date.
Variable groups
| Group | Contents | Main sources |
|---|---|---|
| W | Weather, land meteorology, CFFDRS indices, VPD | ERA5-Land; derived FWI System indices |
| F | Soil moisture, vegetation, satellite land-surface variables, land cover | ERA5-Land; MODIS Terra/Aqua (e.g., MOD/MYD09GA, MCD15A3H, MOD/MYD11A1, MCD12Q1) |
| B | Water, terrain, and terrain-derived variables | ASTER DEM; OpenStreetMap-derived water density |
| I | Human-activity variables | WorldPop; OpenStreetMap-derived road / powerline / building density |
| Label | High-confidence active-fire detection at the center cell | MOD/MYD14A1 |
Variable summary
Click to expand the variable list
W — weather / meteorology / fire danger
- Temperature 2m (mean, max), Dewpoint Temperature 2m, Skin Temperature Max
- Wind 10m (U, V), Precipitation, Snow Cover, Surface Pressure
- Surface Latent Heat Flux, Net Solar Radiation
- Total / Potential Evaporation, Skin Reservoir Content
- VPD (derived)
- FFMC, DMC, DC, ISI, BUI, FWI (Canadian FWI System, derived)
F — fuel / vegetation / satellite land surface
- Soil Water Layers 1–4 (ERA5-Land)
- Reflectance bands 1, 2, 3, 7 (MOD/MYD09GA)
- NDVI, EVI; LAI, FPAR (MCD15A3H)
- LST Day / Night; Emis 31 / 32 (MOD/MYD11A1)
- Brightness temperature bands 20, 21, 31, 32 (MOD/MYD09CMG)
- Land Cover Types (MCD12Q1)
B — terrain / water
- DEM; Slope; Aspect (sin, cos)
- Hillshade, TPI, TWI
- Water Density (OSM-derived)
I — human activity
- Population (WorldPop)
- Road, Powerline, Building Density (OSM-derived)
Label
- Fire Detection (MOD/MYD14A1 high-confidence active fire)
Sampling Notice
Please read this carefully before citing or redistributing this repository:
- This release is a sampled subset designed for paper reproduction (training windows + metadata + normalization stats).
- It does not include the full daily nationwide 5 km data cube, all intermediate geospatial products, or every candidate location outside the paper sampling protocol.
- Results reported in the paper were obtained with this sampling protocol and the associated
cache_Fconfiguration. - If you need the complete >10 TB corpus for other research uses, request it from the authors after anonymity ends (below).
Quick Start
Download
pip install -U "huggingface_hub[cli]"
huggingface-cli download Anonymous4AISI/CanFireCast_Dataset \
--repo-type dataset \
--local-dir ./CanFireCast_Dataset
Use with the CanFireCast code
- Clone the code: https://anonymous.4open.science/r/CanFireCast4AAAI-AISI
- Set
h5_dirinprepare_data_loaders()intrain_all_h5.pyto the extracted dataset directory. - Train / evaluate with
--json Fso the loader uses this sample cache. - Keep
norm_stats.npzunchanged for validation and test (train-only statistics).
Example:
export MODEL_SAVE_DIR=./checkpoints/canfirecast
python train_single_model_h5.py \
--model CanFireCast \
--json F \
--gpu 0 \
--log-dir ./outputs/canfirecast
Full Dataset Access
The full nationwide corpus exceeds 10 TB and is not hosted here.
After the anonymity / review period ends, researchers may contact the corresponding author to request access to the complete dataset. Please include:
- name and institution
- intended research use
- which components are needed (raw products / annual HDF5 / caches / etc.)
Access and transfer arrangements may depend on storage capacity and the licenses of the original source products (ERA5-Land, MODIS, ASTER DEM, WorldPop, OpenStreetMap, and derived CFFDRS variables).
Author contact details will be added here after the anonymity period.
License and Source Acknowledgments
This release redistributes derived research samples assembled from third-party environmental products. Users remain responsible for complying with the licenses and citation requirements of the original sources, including but not limited to:
- ERA5-Land (ECMWF / Copernicus)
- MODIS Terra and Aqua products (NASA)
- ASTER GDEM
- WorldPop
- OpenStreetMap contributors
- Canadian Forest Fire Danger Rating System (CFFDRS) / FWI System indices derived from weather inputs
The dataset license field is set to other because redistribution terms of the derived sample follow both this research release and the upstream product policies.
- Downloads last month
- 62