Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    CastError
Message:      Couldn't cast
dataset: string
description: string
method: string
method_version: string
selected_cities: list<item: string>
  child 0, item: string
uhi_methods: list<item: string>
  child 0, item: string
data_sources: struct<uhi: string, rural_masks: string>
  child 0, uhi: string
  child 1, rural_masks: string
files: struct<selected_city_list_json: string, selected_city_list_csv: string, selected_city_catalog: strin (... 2 chars omitted)
  child 0, selected_city_list_json: string
  child 1, selected_city_list_csv: string
  child 2, selected_city_catalog: string
n_cities: int64
requested_cities: list<item: string>
  child 0, item: string
cities: list<item: struct<city_key: string, city: string, country: string, ghsl_id: string, representative_l (... 489 chars omitted)
  child 0, item: struct<city_key: string, city: string, country: string, ghsl_id: string, representative_lon: double, (... 477 chars omitted)
      child 0, city_key: string
      child 1, city: string
      child 2, country: string
      child 3, ghsl_id: string
      child 4, representative_lon: double
      child 5, representative_lat: double
      child 6, ghsl_grid_cells: int64
      child 7, modmask_target_cells: int64
      child 8, successful_uhi_cells: int64
      child 9, failed_rural_search_cells: int64
      child 10, non_modmask_target_ghsl_cells: int64
      child 11, city_mask_source: string
      child 12, rural_reference_cells_UHI_px: int64
      child 13, rural_reference_cells_UHI_LR100: int64
      child 14, rural_reference_cells_UHI_LR200: int64
      child 15, rural_reference_cells_UHI_LR300: int64
      child 16, rural_reference_cells_UHI_LR500: int64
      child 17, uhi_success_percent_of_targets: double
      child 18, eligible_for_full_export: bool
to
{'description': Value('string'), 'n_cities': Value('int64'), 'requested_cities': List(Value('string')), 'cities': List({'city_key': Value('string'), 'city': Value('string'), 'country': Value('string'), 'ghsl_id': Value('string'), 'representative_lon': Value('float64'), 'representative_lat': Value('float64'), 'ghsl_grid_cells': Value('int64'), 'modmask_target_cells': Value('int64'), 'successful_uhi_cells': Value('int64'), 'failed_rural_search_cells': Value('int64'), 'non_modmask_target_ghsl_cells': Value('int64'), 'city_mask_source': Value('string'), 'rural_reference_cells_UHI_px': Value('int64'), 'rural_reference_cells_UHI_LR100': Value('int64'), 'rural_reference_cells_UHI_LR200': Value('int64'), 'rural_reference_cells_UHI_LR300': Value('int64'), 'rural_reference_cells_UHI_LR500': Value('int64'), 'uhi_success_percent_of_targets': Value('float64'), 'eligible_for_full_export': Value('bool')})}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 147, 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 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 127, 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 483, 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 2840, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2373, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2398, 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 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 343, 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 2378, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              dataset: string
              description: string
              method: string
              method_version: string
              selected_cities: list<item: string>
                child 0, item: string
              uhi_methods: list<item: string>
                child 0, item: string
              data_sources: struct<uhi: string, rural_masks: string>
                child 0, uhi: string
                child 1, rural_masks: string
              files: struct<selected_city_list_json: string, selected_city_list_csv: string, selected_city_catalog: strin (... 2 chars omitted)
                child 0, selected_city_list_json: string
                child 1, selected_city_list_csv: string
                child 2, selected_city_catalog: string
              n_cities: int64
              requested_cities: list<item: string>
                child 0, item: string
              cities: list<item: struct<city_key: string, city: string, country: string, ghsl_id: string, representative_l (... 489 chars omitted)
                child 0, item: struct<city_key: string, city: string, country: string, ghsl_id: string, representative_lon: double, (... 477 chars omitted)
                    child 0, city_key: string
                    child 1, city: string
                    child 2, country: string
                    child 3, ghsl_id: string
                    child 4, representative_lon: double
                    child 5, representative_lat: double
                    child 6, ghsl_grid_cells: int64
                    child 7, modmask_target_cells: int64
                    child 8, successful_uhi_cells: int64
                    child 9, failed_rural_search_cells: int64
                    child 10, non_modmask_target_ghsl_cells: int64
                    child 11, city_mask_source: string
                    child 12, rural_reference_cells_UHI_px: int64
                    child 13, rural_reference_cells_UHI_LR100: int64
                    child 14, rural_reference_cells_UHI_LR200: int64
                    child 15, rural_reference_cells_UHI_LR300: int64
                    child 16, rural_reference_cells_UHI_LR500: int64
                    child 17, uhi_success_percent_of_targets: double
                    child 18, eligible_for_full_export: bool
              to
              {'description': Value('string'), 'n_cities': Value('int64'), 'requested_cities': List(Value('string')), 'cities': List({'city_key': Value('string'), 'city': Value('string'), 'country': Value('string'), 'ghsl_id': Value('string'), 'representative_lon': Value('float64'), 'representative_lat': Value('float64'), 'ghsl_grid_cells': Value('int64'), 'modmask_target_cells': Value('int64'), 'successful_uhi_cells': Value('int64'), 'failed_rural_search_cells': Value('int64'), 'non_modmask_target_ghsl_cells': Value('int64'), 'city_mask_source': Value('string'), 'rural_reference_cells_UHI_px': Value('int64'), 'rural_reference_cells_UHI_LR100': Value('int64'), 'rural_reference_cells_UHI_LR200': Value('int64'), 'rural_reference_cells_UHI_LR300': Value('int64'), 'rural_reference_cells_UHI_LR500': Value('int64'), 'uhi_success_percent_of_targets': Value('float64'), 'eligible_for_full_export': Value('bool')})}
              because column names don't match

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.

MODMask Selected Cities

This repository defines a curated set of cities used as reference cases for exploration and visualization of MOD_Mask urban heat island products.

Selected cities

  • Paris
  • Grenoble
  • Dijon
  • Lyon
  • Geneva
  • Chambéry
  • Toulouse

MOD_Mask

Method version: MOD_Mask v2.0.1

Available UHI definitions:

  • UHI_px
  • UHI_LR100
  • UHI_LR200
  • UHI_LR300
  • UHI_LR500

Related repositories

Urban heat island data

MayeulQ/MODMask-all-cities-UHI

Contains:

  • city geometries
  • MOD_Mask urban grid cells
  • monthly mean UHI
  • mean diurnal UHI cycle
  • MOD_Mask diagnostics

Rural-reference masks

MayeulQ/MODMask-all-cities-rural-masks

Contains:

  • rural grid geometry
  • city-specific rural-reference membership
  • method-specific rural masks
  • rural-reference reconstruction QC

Purpose

This repository provides a lightweight curated entry point for selected reference cities while avoiding unnecessary duplication of the full UHI and rural-mask datasets.

Downloads last month
197

Space using MayeulQ/MODMask-selected-cities 1