CEA Open Data
Collection
https://www.ceaforum.org/ceaod • 8 items • Updated
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 50 new columns ({'int_farred_vip', 'PipeGrow', 'Rhair', 'water_sup_intervals_vip_min', 'int_farred_sp', 't_rail_min_vip', 'BlackScr', 'int_blue_vip', '%time', 'int_red_sp', 'AssimLight', 'int_white_sp', 't_heat_sp', 't_rail_min_sp', 'window_pos_lee_sp', 't_ventwind_vip', 'co2_dos', 'water_sup_intervals_sp_min', 'Ventwind', 'Cum_irr', 'PipeLow', 'scr_blck_vip', 'scr_enrg_sp', 'VentLee', 'int_white_vip', 'Tair', 'int_blue_sp', 'CO2air', 't_vent_sp', 'Tot_PAR_Lamps', 't_grow_min_sp', 'dx_vip', 'scr_enrg_vip', 'pH_drain_PC', 'Tot_PAR', 'assim_sp', 'int_red_vip', 'EC_drain_PC', 'scr_blck_sp', 't_grow_min_vip', 'water_sup', 'co2_vip', 'window_pos_lee_vip', 'co2_sp', 't_heat_vip', 'dx_sp', 'assim_vip', 'EnScr', 't_ventlee_vip', 'HumDef'}) and 6 missing columns ({'stem_dens ', '%Time', 'Cum_trusses', 'Stem_thick', 'plant_dens', 'Stem_elong'}).
This happened while the csv dataset builder was generating data using
hf://datasets/koidra/GH_Tomato/GH_Tomato/AutonomousGreenhouseChallenge2019/AICU/GreenhouseClimate.csv (at revision adf82cb9295f0da23b901e4df6bd9155b502c303)
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 "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1831, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 644, in write_table
pa_table = table_cast(pa_table, self._schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
%time: double
AssimLight: int64
BlackScr: int64
CO2air: int64
Cum_irr: double
EC_drain_PC: double
EnScr: int64
HumDef: double
PipeGrow: double
PipeLow: double
Rhair: double
Tair: double
Tot_PAR: int64
Tot_PAR_Lamps: int64
VentLee: int64
Ventwind: int64
assim_sp: string
assim_vip: int64
co2_dos: string
co2_sp: string
co2_vip: int64
dx_sp: string
dx_vip: double
int_blue_sp: string
int_blue_vip: string
int_farred_sp: string
int_farred_vip: string
int_red_sp: string
int_red_vip: string
int_white_sp: string
int_white_vip: string
pH_drain_PC: double
scr_blck_sp: string
scr_blck_vip: int64
scr_enrg_sp: string
scr_enrg_vip: int64
t_grow_min_sp: string
t_grow_min_vip: double
t_heat_sp: string
t_heat_vip: double
t_rail_min_sp: string
t_rail_min_vip: double
t_vent_sp: string
t_ventlee_vip: double
t_ventwind_vip: double
water_sup: double
water_sup_intervals_sp_min: string
water_sup_intervals_vip_min: int64
window_pos_lee_sp: string
window_pos_lee_vip: double
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 6289
to
{'%Time': Value('int64'), 'Stem_elong': Value('string'), 'Stem_thick': Value('float64'), 'Cum_trusses': Value('float64'), 'stem_dens ': Value('float64'), 'plant_dens': 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 1456, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1055, in convert_to_parquet
builder.download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 894, in download_and_prepare
self._download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 970, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1833, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
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 50 new columns ({'int_farred_vip', 'PipeGrow', 'Rhair', 'water_sup_intervals_vip_min', 'int_farred_sp', 't_rail_min_vip', 'BlackScr', 'int_blue_vip', '%time', 'int_red_sp', 'AssimLight', 'int_white_sp', 't_heat_sp', 't_rail_min_sp', 'window_pos_lee_sp', 't_ventwind_vip', 'co2_dos', 'water_sup_intervals_sp_min', 'Ventwind', 'Cum_irr', 'PipeLow', 'scr_blck_vip', 'scr_enrg_sp', 'VentLee', 'int_white_vip', 'Tair', 'int_blue_sp', 'CO2air', 't_vent_sp', 'Tot_PAR_Lamps', 't_grow_min_sp', 'dx_vip', 'scr_enrg_vip', 'pH_drain_PC', 'Tot_PAR', 'assim_sp', 'int_red_vip', 'EC_drain_PC', 'scr_blck_sp', 't_grow_min_vip', 'water_sup', 'co2_vip', 'window_pos_lee_vip', 'co2_sp', 't_heat_vip', 'dx_sp', 'assim_vip', 'EnScr', 't_ventlee_vip', 'HumDef'}) and 6 missing columns ({'stem_dens ', '%Time', 'Cum_trusses', 'Stem_thick', 'plant_dens', 'Stem_elong'}).
This happened while the csv dataset builder was generating data using
hf://datasets/koidra/GH_Tomato/GH_Tomato/AutonomousGreenhouseChallenge2019/AICU/GreenhouseClimate.csv (at revision adf82cb9295f0da23b901e4df6bd9155b502c303)
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.
%Time int64 | Stem_elong string | Stem_thick float64 | Cum_trusses float64 | stem_dens float64 | plant_dens float64 |
|---|---|---|---|---|---|
43,823 | 18.7 | 8.3 | null | 3.6 | 1.8 |
43,830 | 29.9 | 11.7 | 1.3 | 3.6 | 1.8 |
43,838 | 35.8 | 13.6 | 3.2 | 3.6 | 1.8 |
43,845 | 35.1 | 13.5 | 4.7 | 3.6 | 1.8 |
43,852 | 34.7 | 12.6 | 5.8 | 3.6 | 1.8 |
43,859 | 32.4 | 11.3 | 6.9 | 3.6 | 1.8 |
43,866 | 29.4 | 10.9 | 8.1 | 3.6 | 1.8 |
43,873 | 30.8 | 10.7 | 9.2 | 3.6 | 1.8 |
43,880 | 29.1 | 11.3 | 10.4 | 3.6 | 1.8 |
43,887 | 36.5 | 11.2 | 11.6 | 3.6 | 1.8 |
43,894 | 33.9 | 10.6 | 13.1 | 3.6 | 1.8 |
43,901 | 36.5 | 11.7 | 14.5 | 3.6 | 1.8 |
43,908 | 33.7 | 11.3 | 15.9 | 4.5 | 1.8 |
43,915 | 35.8 | 11.4 | 17.1 | 4.5 | 1.8 |
43,922 | 34.9 | 11.7 | 18.5 | 4.5 | 1.8 |
43,929 | 35.7 | 11.3 | 19.7 | 4.5 | 1.8 |
43,936 | 30.3 | 10.8 | 21.3 | 4.5 | 1.8 |
43,943 | 14 | 9.8 | 22 | 4.5 | 1.8 |
43,950 | NaN | null | 22 | 4.5 | 1.8 |
43,957 | NaN | null | null | 4.5 | 1.8 |
43,964 | NaN | null | null | 4.5 | 1.8 |
43,971 | NaN | null | null | 4.5 | 1.8 |
43,978 | NaN | null | null | 4.5 | 1.8 |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
null | null | null | null | null | null |
No dataset card yet