The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
Error code: DatasetGenerationError
Exception: CastError
Message: Couldn't cast
files_found: int64
files_read: int64
total_records: int64
total_size_bytes: int64
coordinate_tolerance: double
global_bounds: struct<x_min: double, x_max: double, y_min: double, y_max: double>
child 0, x_min: double
child 1, x_max: double
child 2, y_min: double
child 3, y_max: double
validation_totals: struct<nonfinite_records: int64, unclosed_records: int64, nonrectangular_records: int64, nondefault_ (... 99 chars omitted)
child 0, nonfinite_records: int64
child 1, unclosed_records: int64
child 2, nonrectangular_records: int64
child 3, nondefault_vertex_order_records: int64
child 4, nonstandard_size_records: int64
child 5, outside_lonlat_bounds_records: int64
all_ids_sequential: bool
errors: list<item: null>
child 0, item: null
files: list<item: struct<file: string, file_number: int64, size_bytes: int64, records: int64, id_dtype: str (... 473 chars omitted)
child 0, item: struct<file: string, file_number: int64, size_bytes: int64, records: int64, id_dtype: string, pile_d (... 461 chars omitted)
child 0, file: string
child 1, file_number: int64
child 2, size_bytes: int64
child 3, records: int64
child 4, id_dtype: string
child 5, pile_dtype: string
child 6, pile_shape: string
child 7, x_min: double
child 8, x_max: double
child 9, y_min: double
child 10, y_max: double
child 11, width_min: double
child 12, width_max: double
child 13, height_min: double
child 14, height_max: double
child 15, nonfinite_records: int64
child 16, unclosed_records: int64
child 17, nonrectangular_records: int64
child 18, nondefault_vertex_order_records: int64
child 19, nonstandard_size_records: int64
child 20, outside_lonlat_bounds_records: int64
child 21, sequential_ids: bool
child 22, first_id: string
child 23, last_id: string
child 24, datasets: string
child 25, has_attributes: bool
to
{'file': Value('string'), 'IDname': Value('string'), 'pile': List(List(Value('float64')))}
because column names don't match
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 791, in read_json
json_reader = JsonReader(
path_or_buf,
...<16 lines>...
engine=engine,
)
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 905, in __init__
self.data = self._preprocess_data(data)
~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 917, in _preprocess_data
data = data.read()
File "/usr/local/lib/python3.14/site-packages/datasets/utils/file_utils.py", line 844, in read_with_retries
out = read(*args, **kwargs)
File "<frozen codecs>", line 325, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 0: invalid start byte
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1827, in _prepare_split_single
for key, table in generator:
^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
for item in generator(*args, **kwargs):
~~~~~~~~~^^^^^^^^^^^^^^^^^
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
File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
raise convert_status(status)
pyarrow.lib.ArrowInvalid: JSON parse error: Invalid value. in row 0
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1869, in _prepare_split_single
num_examples, num_bytes = writer.finalize()
~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 781, in finalize
self.write_rows_on_file()
~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 663, in write_rows_on_file
self._write_table(table)
~~~~~~~~~~~~~~~~~^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/arrow_writer.py", line 773, in _write_table
pa_table = table_cast(pa_table, self._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
files_found: int64
files_read: int64
total_records: int64
total_size_bytes: int64
coordinate_tolerance: double
global_bounds: struct<x_min: double, x_max: double, y_min: double, y_max: double>
child 0, x_min: double
child 1, x_max: double
child 2, y_min: double
child 3, y_max: double
validation_totals: struct<nonfinite_records: int64, unclosed_records: int64, nonrectangular_records: int64, nondefault_ (... 99 chars omitted)
child 0, nonfinite_records: int64
child 1, unclosed_records: int64
child 2, nonrectangular_records: int64
child 3, nondefault_vertex_order_records: int64
child 4, nonstandard_size_records: int64
child 5, outside_lonlat_bounds_records: int64
all_ids_sequential: bool
errors: list<item: null>
child 0, item: null
files: list<item: struct<file: string, file_number: int64, size_bytes: int64, records: int64, id_dtype: str (... 473 chars omitted)
child 0, item: struct<file: string, file_number: int64, size_bytes: int64, records: int64, id_dtype: string, pile_d (... 461 chars omitted)
child 0, file: string
child 1, file_number: int64
child 2, size_bytes: int64
child 3, records: int64
child 4, id_dtype: string
child 5, pile_dtype: string
child 6, pile_shape: string
child 7, x_min: double
child 8, x_max: double
child 9, y_min: double
child 10, y_max: double
child 11, width_min: double
child 12, width_max: double
child 13, height_min: double
child 14, height_max: double
child 15, nonfinite_records: int64
child 16, unclosed_records: int64
child 17, nonrectangular_records: int64
child 18, nondefault_vertex_order_records: int64
child 19, nonstandard_size_records: int64
child 20, outside_lonlat_bounds_records: int64
child 21, sequential_ids: bool
child 22, first_id: string
child 23, last_id: string
child 24, datasets: string
child 25, has_attributes: bool
to
{'file': Value('string'), 'IDname': Value('string'), 'pile': List(List(Value('float64')))}
because column names don't match
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, 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 948, 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 1694, 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 1880, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
file string | IDname string | pile list |
|---|---|---|
1fishnet.h5 | Area1_1 | [
[
-180,
-89.9999999999
],
[
-180,
-89.95
],
[
-179.95,
-89.95
],
[
-179.95,
-89.9999999999
],
[
-180,
-89.9999999999
]
] |
1fishnet.h5 | Area1_2 | [
[
-179.95,
-89.9999999999
],
[
-179.95,
-89.95
],
[
-179.9,
-89.95
],
[
-179.9,
-89.9999999999
],
[
-179.95,
-89.9999999999
]
] |
1fishnet.h5 | Area1_3 | [
[
-179.9,
-89.9999999999
],
[
-179.9,
-89.95
],
[
-179.85,
-89.95
],
[
-179.85,
-89.9999999999
],
[
-179.9,
-89.9999999999
]
] |
2fishnet.h5 | Area2_1 | [
[
-150,
-89.9999999999
],
[
-150,
-89.95
],
[
-149.95,
-89.95
],
[
-149.95,
-89.9999999999
],
[
-150,
-89.9999999999
]
] |
2fishnet.h5 | Area2_2 | [
[
-149.95,
-89.9999999999
],
[
-149.95,
-89.95
],
[
-149.9,
-89.95
],
[
-149.9,
-89.9999999999
],
[
-149.95,
-89.9999999999
]
] |
2fishnet.h5 | Area2_3 | [
[
-149.9,
-89.9999999999
],
[
-149.9,
-89.95
],
[
-149.85,
-89.95
],
[
-149.85,
-89.9999999999
],
[
-149.9,
-89.9999999999
]
] |
3fishnet.h5 | Area3_1 | [
[
-120,
-89.9999999999
],
[
-120,
-89.95
],
[
-119.95,
-89.95
],
[
-119.95,
-89.9999999999
],
[
-120,
-89.9999999999
]
] |
3fishnet.h5 | Area3_2 | [
[
-119.95,
-89.9999999999
],
[
-119.95,
-89.95
],
[
-119.9,
-89.95
],
[
-119.9,
-89.9999999999
],
[
-119.95,
-89.9999999999
]
] |
3fishnet.h5 | Area3_3 | [
[
-119.9,
-89.9999999999
],
[
-119.9,
-89.95
],
[
-119.85,
-89.95
],
[
-119.85,
-89.9999999999
],
[
-119.9,
-89.9999999999
]
] |
4fishnet.h5 | Area4_1 | [
[
-89.9999999999,
-89.9999999999
],
[
-89.9999999999,
-89.95
],
[
-89.95,
-89.95
],
[
-89.95,
-89.9999999999
],
[
-89.9999999999,
-89.9999999999
]
] |
4fishnet.h5 | Area4_2 | [
[
-89.95,
-89.9999999999
],
[
-89.95,
-89.95
],
[
-89.9000000001,
-89.95
],
[
-89.9000000001,
-89.9999999999
],
[
-89.95,
-89.9999999999
]
] |
4fishnet.h5 | Area4_3 | [
[
-89.9000000001,
-89.9999999999
],
[
-89.9000000001,
-89.95
],
[
-89.8500000002,
-89.95
],
[
-89.8500000002,
-89.9999999999
],
[
-89.9000000001,
-89.9999999999
]
] |
5fishnet.h5 | Area5_1 | [
[
-59.9999999996,
-89.9999999999
],
[
-59.9999999996,
-89.95
],
[
-59.9499999997,
-89.95
],
[
-59.9499999997,
-89.9999999999
],
[
-59.9999999996,
-89.9999999999
]
] |
5fishnet.h5 | Area5_2 | [
[
-59.9499999997,
-89.9999999999
],
[
-59.9499999997,
-89.95
],
[
-59.8999999998,
-89.95
],
[
-59.8999999998,
-89.9999999999
],
[
-59.9499999997,
-89.9999999999
]
] |
5fishnet.h5 | Area5_3 | [
[
-59.8999999998,
-89.9999999999
],
[
-59.8999999998,
-89.95
],
[
-59.8499999999,
-89.95
],
[
-59.8499999999,
-89.9999999999
],
[
-59.8999999998,
-89.9999999999
]
] |
10fishnet.h5 | Area10_1 | [
[
90.0000000001,
-89.9999999999
],
[
90.0000000001,
-89.95
],
[
90.05,
-89.95
],
[
90.05,
-89.9999999999
],
[
90.0000000001,
-89.9999999999
]
] |
10fishnet.h5 | Area10_2 | [
[
90.05,
-89.9999999999
],
[
90.05,
-89.95
],
[
90.0999999999,
-89.95
],
[
90.0999999999,
-89.9999999999
],
[
90.05,
-89.9999999999
]
] |
10fishnet.h5 | Area10_3 | [
[
90.0999999999,
-89.9999999999
],
[
90.0999999999,
-89.95
],
[
90.1499999998,
-89.95
],
[
90.1499999998,
-89.9999999999
],
[
90.0999999999,
-89.9999999999
]
] |
11fishnet.h5 | Area11_1 | [
[
120,
-89.9999999999
],
[
120,
-89.95
],
[
120.05,
-89.95
],
[
120.05,
-89.9999999999
],
[
120,
-89.9999999999
]
] |
11fishnet.h5 | Area11_2 | [
[
120.05,
-89.9999999999
],
[
120.05,
-89.95
],
[
120.1,
-89.95
],
[
120.1,
-89.9999999999
],
[
120.05,
-89.9999999999
]
] |
11fishnet.h5 | Area11_3 | [
[
120.1,
-89.9999999999
],
[
120.1,
-89.95
],
[
120.15,
-89.95
],
[
120.15,
-89.9999999999
],
[
120.1,
-89.9999999999
]
] |
12fishnet.h5 | Area12_1 | [
[
150,
-89.9999999999
],
[
150,
-89.95
],
[
150.05,
-89.95
],
[
150.05,
-89.9999999999
],
[
150,
-89.9999999999
]
] |
12fishnet.h5 | Area12_2 | [
[
150.05,
-89.9999999999
],
[
150.05,
-89.95
],
[
150.1,
-89.95
],
[
150.1,
-89.9999999999
],
[
150.05,
-89.9999999999
]
] |
12fishnet.h5 | Area12_3 | [
[
150.1,
-89.9999999999
],
[
150.1,
-89.95
],
[
150.15,
-89.95
],
[
150.15,
-89.9999999999
],
[
150.1,
-89.9999999999
]
] |
13fishnet.h5 | Area13_1 | [
[
-176.6,
-44.1499999998
],
[
-176.6,
-44.0999999999
],
[
-176.55,
-44.0999999999
],
[
-176.55,
-44.1499999998
],
[
-176.6,
-44.1499999998
]
] |
13fishnet.h5 | Area13_2 | [
[
-176.55,
-44.1499999998
],
[
-176.55,
-44.0999999999
],
[
-176.5,
-44.0999999999
],
[
-176.5,
-44.1499999998
],
[
-176.55,
-44.1499999998
]
] |
13fishnet.h5 | Area13_3 | [
[
-176.5,
-44.1499999998
],
[
-176.5,
-44.0999999999
],
[
-176.45,
-44.0999999999
],
[
-176.45,
-44.1499999998
],
[
-176.5,
-44.1499999998
]
] |
16fishnet.h5 | Area16_1 | [
[
-68.1499999995,
-55.75
],
[
-68.1499999995,
-55.6999999992
],
[
-68.0999999996,
-55.6999999992
],
[
-68.0999999996,
-55.75
],
[
-68.1499999995,
-55.75
]
] |
16fishnet.h5 | Area16_2 | [
[
-68.0999999996,
-55.75
],
[
-68.0999999996,
-55.6999999992
],
[
-68.0499999997,
-55.6999999992
],
[
-68.0499999997,
-55.75
],
[
-68.0999999996,
-55.75
]
] |
16fishnet.h5 | Area16_3 | [
[
-68.0499999997,
-55.75
],
[
-68.0499999997,
-55.6999999992
],
[
-67.9999999998,
-55.6999999992
],
[
-67.9999999998,
-55.75
],
[
-68.0499999997,
-55.75
]
] |
17fishnet.h5 | Area17_1 | [
[
-36.1499999996,
-54.8999999999
],
[
-36.1499999996,
-54.85
],
[
-36.0999999997,
-54.85
],
[
-36.0999999997,
-54.8999999999
],
[
-36.1499999996,
-54.8999999999
]
] |
17fishnet.h5 | Area17_2 | [
[
-36.0999999997,
-54.8999999999
],
[
-36.0999999997,
-54.85
],
[
-36.0499999998,
-54.85
],
[
-36.0499999998,
-54.8999999999
],
[
-36.0999999997,
-54.8999999999
]
] |
17fishnet.h5 | Area17_3 | [
[
-36.0499999998,
-54.8999999999
],
[
-36.0499999998,
-54.85
],
[
-35.9999999999,
-54.85
],
[
-35.9999999999,
-54.8999999999
],
[
-36.0499999998,
-54.8999999999
]
] |
19fishnet.h5 | Area19_1 | [
[
19.8999999999,
-34.8499999995
],
[
19.8999999999,
-34.7999999996
],
[
19.9499999998,
-34.7999999996
],
[
19.9499999998,
-34.8499999995
],
[
19.8999999999,
-34.8499999995
]
] |
19fishnet.h5 | Area19_2 | [
[
19.9499999998,
-34.8499999995
],
[
19.9499999998,
-34.7999999996
],
[
19.9999999997,
-34.7999999996
],
[
19.9999999997,
-34.8499999995
],
[
19.9499999998,
-34.8499999995
]
] |
19fishnet.h5 | Area19_3 | [
[
19.9999999997,
-34.8499999995
],
[
19.9999999997,
-34.7999999996
],
[
20.0500000005,
-34.7999999996
],
[
20.0500000005,
-34.8499999995
],
[
19.9999999997,
-34.8499999995
]
] |
20fishnet.h5 | Area20_1 | [
[
30.0000000004,
-31.2999999994
],
[
30.0000000004,
-31.2499999995
],
[
30.0500000003,
-31.2499999995
],
[
30.0500000003,
-31.2999999994
],
[
30.0000000004,
-31.2999999994
]
] |
20fishnet.h5 | Area20_2 | [
[
30.0000000004,
-31.2499999995
],
[
30.0000000004,
-31.1999999996
],
[
30.0500000003,
-31.1999999996
],
[
30.0500000003,
-31.2499999995
],
[
30.0000000004,
-31.2499999995
]
] |
20fishnet.h5 | Area20_3 | [
[
30.0500000003,
-31.2499999995
],
[
30.0500000003,
-31.1999999996
],
[
30.1000000002,
-31.1999999996
],
[
30.1000000002,
-31.2499999995
],
[
30.0500000003,
-31.2499999995
]
] |
21fishnet.h5 | Area21_1 | [
[
73.4,
-53.1999999997
],
[
73.4,
-53.1499999998
],
[
73.4499999999,
-53.1499999998
],
[
73.4499999999,
-53.1999999997
],
[
73.4,
-53.1999999997
]
] |
21fishnet.h5 | Area21_2 | [
[
73.4499999999,
-53.1999999997
],
[
73.4499999999,
-53.1499999998
],
[
73.4999999998,
-53.1499999998
],
[
73.4999999998,
-53.1999999997
],
[
73.4499999999,
-53.1999999997
]
] |
21fishnet.h5 | Area21_3 | [
[
73.4999999998,
-53.1999999997
],
[
73.4999999998,
-53.1499999998
],
[
73.5499999997,
-53.1499999998
],
[
73.5499999997,
-53.1999999997
],
[
73.4999999998,
-53.1999999997
]
] |
22fishnet.h5 | Area22_1 | [
[
117.5,
-35.1499999998
],
[
117.5,
-35.0999999999
],
[
117.55,
-35.0999999999
],
[
117.55,
-35.1499999998
],
[
117.5,
-35.1499999998
]
] |
22fishnet.h5 | Area22_2 | [
[
117.55,
-35.1499999998
],
[
117.55,
-35.0999999999
],
[
117.6,
-35.0999999999
],
[
117.6,
-35.1499999998
],
[
117.55,
-35.1499999998
]
] |
22fishnet.h5 | Area22_3 | [
[
117.6,
-35.1499999998
],
[
117.6,
-35.0999999999
],
[
117.65,
-35.0999999999
],
[
117.65,
-35.1499999998
],
[
117.6,
-35.1499999998
]
] |
23fishnet.h5 | Area23_1 | [
[
146.7,
-43.6499999999
],
[
146.7,
-43.6
],
[
146.75,
-43.6
],
[
146.75,
-43.6499999999
],
[
146.7,
-43.6499999999
]
] |
23fishnet.h5 | Area23_2 | [
[
146.75,
-43.6499999999
],
[
146.75,
-43.6
],
[
146.800000001,
-43.6
],
[
146.800000001,
-43.6499999999
],
[
146.75,
-43.6499999999
]
] |
23fishnet.h5 | Area23_3 | [
[
146.800000001,
-43.6499999999
],
[
146.800000001,
-43.6
],
[
146.850000001,
-43.6
],
[
146.850000001,
-43.6499999999
],
[
146.800000001,
-43.6499999999
]
] |
24fishnet.h5 | Area24_1 | [
[
165.85,
-50.8999999998
],
[
165.85,
-50.8499999999
],
[
165.9,
-50.8499999999
],
[
165.9,
-50.8999999998
],
[
165.85,
-50.8999999998
]
] |
24fishnet.h5 | Area24_2 | [
[
165.9,
-50.8999999998
],
[
165.9,
-50.8499999999
],
[
165.949999999,
-50.8499999999
],
[
165.949999999,
-50.8999999998
],
[
165.9,
-50.8999999998
]
] |
24fishnet.h5 | Area24_3 | [
[
166.15,
-50.8999999998
],
[
166.15,
-50.8499999999
],
[
166.2,
-50.8499999999
],
[
166.2,
-50.8999999998
],
[
166.15,
-50.8999999998
]
] |
25fishnet.h5 | Area25_1 | [
[
-174.95,
-21.5000000001
],
[
-174.95,
-21.4500000002
],
[
-174.9,
-21.4500000002
],
[
-174.9,
-21.5000000001
],
[
-174.95,
-21.5000000001
]
] |
25fishnet.h5 | Area25_2 | [
[
-175,
-21.4500000002
],
[
-175,
-21.4000000003
],
[
-174.95,
-21.4000000003
],
[
-174.95,
-21.4500000002
],
[
-175,
-21.4500000002
]
] |
25fishnet.h5 | Area25_3 | [
[
-174.95,
-21.4500000002
],
[
-174.95,
-21.4000000003
],
[
-174.9,
-21.4000000003
],
[
-174.9,
-21.4500000002
],
[
-174.95,
-21.4500000002
]
] |
26fishnet.h5 | Area26_1 | [
[
-149.299999999,
-17.9000000001
],
[
-149.299999999,
-17.8500000002
],
[
-149.249999999,
-17.8500000002
],
[
-149.249999999,
-17.9000000001
],
[
-149.299999999,
-17.9000000001
]
] |
26fishnet.h5 | Area26_2 | [
[
-149.249999999,
-17.9000000001
],
[
-149.249999999,
-17.8500000002
],
[
-149.199999999,
-17.8500000002
],
[
-149.199999999,
-17.9000000001
],
[
-149.249999999,
-17.9000000001
]
] |
26fishnet.h5 | Area26_3 | [
[
-149.199999999,
-17.9000000001
],
[
-149.199999999,
-17.8500000002
],
[
-149.15,
-17.8500000002
],
[
-149.15,
-17.9000000001
],
[
-149.199999999,
-17.9000000001
]
] |
27fishnet.h5 | Area27_1 | [
[
-91.4500000006,
-1.0500000005
],
[
-91.4500000006,
-1.0000000006
],
[
-91.3999999998,
-1.0000000006
],
[
-91.3999999998,
-1.0500000005
],
[
-91.4500000006,
-1.0500000005
]
] |
27fishnet.h5 | Area27_2 | [
[
-91.3999999998,
-1.0500000005
],
[
-91.3999999998,
-1.0000000006
],
[
-91.3499999999,
-1.0000000006
],
[
-91.3499999999,
-1.0500000005
],
[
-91.3999999998,
-1.0500000005
]
] |
27fishnet.h5 | Area27_3 | [
[
-91.3499999999,
-1.0500000005
],
[
-91.3499999999,
-1.0000000006
],
[
-91.3,
-1.0000000006
],
[
-91.3,
-1.0500000005
],
[
-91.3499999999,
-1.0500000005
]
] |
28fishnet.h5 | Area28_1 | [
[
-71.4500000001,
-30.0000000002
],
[
-71.4500000001,
-29.9500000003
],
[
-71.4000000002,
-29.9500000003
],
[
-71.4000000002,
-30.0000000002
],
[
-71.4500000001,
-30.0000000002
]
] |
28fishnet.h5 | Area28_2 | [
[
-71.4000000002,
-30.0000000002
],
[
-71.4000000002,
-29.9500000003
],
[
-71.3500000003,
-29.9500000003
],
[
-71.3500000003,
-30.0000000002
],
[
-71.4000000002,
-30.0000000002
]
] |
28fishnet.h5 | Area28_3 | [
[
-71.3500000003,
-30.0000000002
],
[
-71.3500000003,
-29.9500000003
],
[
-71.2999999995,
-29.9500000003
],
[
-71.2999999995,
-30.0000000002
],
[
-71.3500000003,
-30.0000000002
]
] |
29fishnet.h5 | Area29_1 | [
[
-59.9999999996,
-30.0000000002
],
[
-59.9999999996,
-29.9500000003
],
[
-59.9499999997,
-29.9500000003
],
[
-59.9499999997,
-30.0000000002
],
[
-59.9999999996,
-30.0000000002
]
] |
29fishnet.h5 | Area29_2 | [
[
-59.9499999997,
-30.0000000002
],
[
-59.9499999997,
-29.9500000003
],
[
-59.8999999998,
-29.9500000003
],
[
-59.8999999998,
-30.0000000002
],
[
-59.9499999997,
-30.0000000002
]
] |
29fishnet.h5 | Area29_3 | [
[
-59.8999999998,
-30.0000000002
],
[
-59.8999999998,
-29.9500000003
],
[
-59.8499999999,
-29.9500000003
],
[
-59.8499999999,
-30.0000000002
],
[
-59.8999999998,
-30.0000000002
]
] |
31fishnet.h5 | Area31_1 | [
[
17.1000000001,
-30.0000000002
],
[
17.1000000001,
-29.9500000003
],
[
17.15,
-29.9500000003
],
[
17.15,
-30.0000000002
],
[
17.1000000001,
-30.0000000002
]
] |
31fishnet.h5 | Area31_2 | [
[
17.15,
-30.0000000002
],
[
17.15,
-29.9500000003
],
[
17.1999999999,
-29.9500000003
],
[
17.1999999999,
-30.0000000002
],
[
17.15,
-30.0000000002
]
] |
31fishnet.h5 | Area31_3 | [
[
17.1999999999,
-30.0000000002
],
[
17.1999999999,
-29.9500000003
],
[
17.2499999998,
-29.9500000003
],
[
17.2499999998,
-30.0000000002
],
[
17.1999999999,
-30.0000000002
]
] |
32fishnet.h5 | Area32_1 | [
[
30.0000000004,
-30.0000000002
],
[
30.0000000004,
-29.9500000003
],
[
30.0500000003,
-29.9500000003
],
[
30.0500000003,
-30.0000000002
],
[
30.0000000004,
-30.0000000002
]
] |
32fishnet.h5 | Area32_2 | [
[
30.0500000003,
-30.0000000002
],
[
30.0500000003,
-29.9500000003
],
[
30.1000000002,
-29.9500000003
],
[
30.1000000002,
-30.0000000002
],
[
30.0500000003,
-30.0000000002
]
] |
32fishnet.h5 | Area32_3 | [
[
30.1000000002,
-30.0000000002
],
[
30.1000000002,
-29.9500000003
],
[
30.1500000001,
-29.9500000003
],
[
30.1500000001,
-30.0000000002
],
[
30.1000000002,
-30.0000000002
]
] |
33fishnet.h5 | Area33_1 | [
[
73.0999999997,
-0.7000000003
],
[
73.0999999997,
-0.6500000004
],
[
73.1499999996,
-0.6500000004
],
[
73.1499999996,
-0.7000000003
],
[
73.0999999997,
-0.7000000003
]
] |
33fishnet.h5 | Area33_2 | [
[
73.1499999996,
-0.7000000003
],
[
73.1499999996,
-0.6500000004
],
[
73.1999999995,
-0.6500000004
],
[
73.1999999995,
-0.7000000003
],
[
73.1499999996,
-0.7000000003
]
] |
33fishnet.h5 | Area33_3 | [
[
73.1999999995,
-0.7000000003
],
[
73.1999999995,
-0.6500000004
],
[
73.2499999994,
-0.6500000004
],
[
73.2499999994,
-0.7000000003
],
[
73.1999999995,
-0.7000000003
]
] |
34fishnet.h5 | Area34_1 | [
[
114.9,
-30.0000000002
],
[
114.9,
-29.9500000003
],
[
114.95,
-29.9500000003
],
[
114.95,
-30.0000000002
],
[
114.9,
-30.0000000002
]
] |
34fishnet.h5 | Area34_2 | [
[
114.95,
-30.0000000002
],
[
114.95,
-29.9500000003
],
[
115,
-29.9500000003
],
[
115,
-30.0000000002
],
[
114.95,
-30.0000000002
]
] |
34fishnet.h5 | Area34_3 | [
[
115,
-30.0000000002
],
[
115,
-29.9500000003
],
[
115.05,
-29.9500000003
],
[
115.05,
-30.0000000002
],
[
115,
-30.0000000002
]
] |
35fishnet.h5 | Area35_1 | [
[
120,
-30.0000000002
],
[
120,
-29.9500000003
],
[
120.05,
-29.9500000003
],
[
120.05,
-30.0000000002
],
[
120,
-30.0000000002
]
] |
35fishnet.h5 | Area35_2 | [
[
120.05,
-30.0000000002
],
[
120.05,
-29.9500000003
],
[
120.1,
-29.9500000003
],
[
120.1,
-30.0000000002
],
[
120.05,
-30.0000000002
]
] |
35fishnet.h5 | Area35_3 | [
[
120.1,
-30.0000000002
],
[
120.1,
-29.9500000003
],
[
120.15,
-29.9500000003
],
[
120.15,
-30.0000000002
],
[
120.1,
-30.0000000002
]
] |
36fishnet.h5 | Area36_1 | [
[
150,
-30.0000000002
],
[
150,
-29.9500000003
],
[
150.05,
-29.9500000003
],
[
150.05,
-30.0000000002
],
[
150,
-30.0000000002
]
] |
36fishnet.h5 | Area36_2 | [
[
150.05,
-30.0000000002
],
[
150.05,
-29.9500000003
],
[
150.1,
-29.9500000003
],
[
150.1,
-30.0000000002
],
[
150.05,
-30.0000000002
]
] |
36fishnet.h5 | Area36_3 | [
[
150.1,
-30.0000000002
],
[
150.1,
-29.9500000003
],
[
150.15,
-29.9500000003
],
[
150.15,
-30.0000000002
],
[
150.1,
-30.0000000002
]
] |
37fishnet.h5 | Area37_1 | [
[
-157.35,
1.7000000003
],
[
-157.35,
1.7500000002
],
[
-157.3,
1.7500000002
],
[
-157.3,
1.7000000003
],
[
-157.35,
1.7000000003
]
] |
37fishnet.h5 | Area37_2 | [
[
-157.3,
1.7000000003
],
[
-157.3,
1.7500000002
],
[
-157.25,
1.7500000002
],
[
-157.25,
1.7000000003
],
[
-157.3,
1.7000000003
]
] |
37fishnet.h5 | Area37_3 | [
[
-157.25,
1.7000000003
],
[
-157.25,
1.7500000002
],
[
-157.2,
1.7500000002
],
[
-157.2,
1.7000000003
],
[
-157.25,
1.7000000003
]
] |
39fishnet.h5 | Area39_1 | [
[
-91.6500000002,
1e-10
],
[
-91.6500000002,
0.05
],
[
-91.6000000003,
0.05
],
[
-91.6000000003,
1e-10
],
[
-91.6500000002,
1e-10
]
] |
39fishnet.h5 | Area39_2 | [
[
-91.6000000003,
1e-10
],
[
-91.6000000003,
0.05
],
[
-91.5500000004,
0.05
],
[
-91.5500000004,
1e-10
],
[
-91.6000000003,
1e-10
]
] |
39fishnet.h5 | Area39_3 | [
[
-91.5500000004,
1e-10
],
[
-91.5500000004,
0.05
],
[
-91.5000000005,
0.05
],
[
-91.5000000005,
1e-10
],
[
-91.5500000004,
1e-10
]
] |
40fishnet.h5 | Area40_1 | [
[
-80.1499999998,
1e-10
],
[
-80.1499999998,
0.05
],
[
-80.0999999999,
0.05
],
[
-80.0999999999,
1e-10
],
[
-80.1499999998,
1e-10
]
] |
40fishnet.h5 | Area40_2 | [
[
-80.0999999999,
1e-10
],
[
-80.0999999999,
0.05
],
[
-80.05,
0.05
],
[
-80.05,
1e-10
],
[
-80.0999999999,
1e-10
]
] |
40fishnet.h5 | Area40_3 | [
[
-80.05,
1e-10
],
[
-80.05,
0.05
],
[
-80.0000000001,
0.05
],
[
-80.0000000001,
1e-10
],
[
-80.05,
1e-10
]
] |
41fishnet.h5 | Area41_1 | [
[
-59.9999999996,
1e-10
],
[
-59.9999999996,
0.05
],
[
-59.9499999997,
0.05
],
[
-59.9499999997,
1e-10
],
[
-59.9999999996,
1e-10
]
] |
41fishnet.h5 | Area41_2 | [
[
-59.9499999997,
1e-10
],
[
-59.9499999997,
0.05
],
[
-59.8999999998,
0.05
],
[
-59.8999999998,
1e-10
],
[
-59.9499999997,
1e-10
]
] |
41fishnet.h5 | Area41_3 | [
[
-59.8999999998,
1e-10
],
[
-59.8999999998,
0.05
],
[
-59.8499999999,
0.05
],
[
-59.8499999999,
1e-10
],
[
-59.8999999998,
1e-10
]
] |
42fishnet.h5 | Area42_1 | [
[
-7.5000000002,
4.3000000005
],
[
-7.5000000002,
4.3500000004
],
[
-7.4500000003,
4.3500000004
],
[
-7.4500000003,
4.3000000005
],
[
-7.5000000002,
4.3000000005
]
] |
42fishnet.h5 | Area42_2 | [
[
-7.4500000003,
4.3000000005
],
[
-7.4500000003,
4.3500000004
],
[
-7.4000000004,
4.3500000004
],
[
-7.4000000004,
4.3000000005
],
[
-7.4500000003,
4.3000000005
]
] |
42fishnet.h5 | Area42_3 | [
[
-7.8000000005,
4.3500000004
],
[
-7.8000000005,
4.4000000003
],
[
-7.7500000006,
4.4000000003
],
[
-7.7500000006,
4.3500000004
],
[
-7.8000000005,
4.3500000004
]
] |
43fishnet.h5 | Area43_1 | [
[
6.4999999997,
1e-10
],
[
6.4999999997,
0.05
],
[
6.5500000005,
0.05
],
[
6.5500000005,
1e-10
],
[
6.4999999997,
1e-10
]
] |
WorldFishNet:全球 0.05° 网格分区
本数据集将空间网格按地理分区存储为 60 个 HDF5(.h5)文件,共包含 7,680,636 条记录。每条记录包含网格编号和一个约 0.05° × 0.05° 的闭合方格坐标,可用于空间索引、区域筛选和网格统计。
当前文件仅包含网格几何和编号,没有鱼类物种、丰度、捕捞量或时间等观测字段。
全球分区预览
数字对应文件编号,例如 **57 → 57fishnet.h5**。颜色仅用于区分文件;浅灰色表示当前文件未覆盖的区域,不能据此判断为海洋。小岛分区使用引线标注。图中采用经纬度等距圆柱展示,高纬度区域的视觉面积会放大。
数据概览
| 项目 | 当前版本 |
|---|---|
| 存储格式 | HDF5,每个文件包含 IDname 和 pile |
| 文件数量 | 60 |
| 记录总数 | 7,680,636,包含分区边界的重复位置 |
| 唯一网格位置 | 7,659,139,按 0.05° 网格索引去重 |
| 网格间隔 | 约 0.05° × 0.05°,并非等面积网格 |
| 名义分区大小 | 约 30° 经度 × 30° 纬度 |
| X 坐标范围 | −180 至 180 |
| Y 坐标范围 | 约 −90 至 83.65 |
| H5 文件总大小 | 712,695,293 字节,约 712.7 MB / 679.7 MiB |
| 最小分区 | 33fishnet.h5,12 条记录 |
| 最大分区 | 57fishnet.h5,361,201 条记录 |
根据坐标取值和网格结构,以下示例将 X、Y 分别作为经度、纬度处理。原始文件没有 CRS / EPSG 元数据,尚不能确认具体坐标参考系。
快速开始
安装依赖
建议使用 Python 3.9 或更新版本。
python -m pip install h5py numpy huggingface_hub
从 Hugging Face 下载并读取一个分区
将 YOUR_USERNAME/YOUR_DATASET 替换为本数据集的实际仓库 ID。示例假定 H5 文件位于仓库的 worldfishnet_h5/ 目录中。使用 hf_hub_download 下载文件后,以只读方式交给 h5py 打开。
import h5py
from huggingface_hub import hf_hub_download
REPO_ID = "YOUR_USERNAME/YOUR_DATASET"
file_path = hf_hub_download(
repo_id=REPO_ID,
repo_type="dataset",
filename="worldfishnet_h5/57fishnet.h5",
)
with h5py.File(file_path, "r") as f:
print("数据集:", list(f.keys()))
print("IDname 形状:", f["IDname"].shape)
print("pile 形状:", f["pile"].shape)
# 只读取前 3 条,避免载入整个文件。
ids = f["IDname"].asstr()[:3]
polygons = f["pile"][:3]
print(ids)
print(polygons[0].round(2))
输出示例:
数据集: ['IDname', 'pile']
IDname 形状: (361201,)
pile 形状: (361201, 5, 2)
['Area57_1' 'Area57_2' 'Area57_3']
[[60. 30. ]
[60. 30.05]
[60.05 30.05]
[60.05 30. ]
[60. 30. ]]
读取本地文件
已下载数据时,可以直接指定本地路径。以下代码在包含 worldfishnet_h5/ 的目录中运行。
from pathlib import Path
import h5py
file_path = Path("worldfishnet_h5/57fishnet.h5")
with h5py.File(file_path, "r") as f:
ids = f["IDname"].asstr()[:] # 解码为字符串
polygons = f["pile"][:] # NumPy 数组,形状为 (N, 5, 2)
print(f"读取 {len(ids):,} 个网格")
字段说明
| 字段 | 形状 | 数据类型 | 含义 |
|---|---|---|---|
IDname |
(N,) |
定长字节字符串,长度因文件而异 | 编号格式为 Area{分区号}_{记录序号},序号从 1 开始 |
pile |
(N, 5, 2) |
float64 |
每个网格的 5 个坐标点;每点按 [x, y] 排列 |
pile[i] 的前 4 个点描述方格边界,第 5 个点重复第 1 个点以闭合多边形。IDname[i] 与 pile[i] 一一对应。文件未提供其他属性或训练、验证、测试集划分。
常见用法
计算中心点并筛选区域
下面是可独立运行的本地示例:从第 57 分区选出中心点位于 70–80°E、35–40°N 范围内的网格。
import h5py
with h5py.File("worldfishnet_h5/57fishnet.h5", "r") as f:
ids = f["IDname"].asstr()[:]
polygons = f["pile"][:]
# 根据四个不同顶点求方格中心,排除闭合时重复的第 5 个点。
centers = polygons[:, :4, :].mean(axis=1)
lon, lat = centers[:, 0], centers[:, 1]
west, east, south, north = 70, 80, 35, 40
mask = (
(lon >= west) & (lon < east)
& (lat >= south) & (lat < north)
)
selected_ids = ids[mask]
selected_polygons = polygons[mask]
selected_centers = centers[mask]
print(f"筛选得到 {len(selected_ids):,} 个网格")
这里采用“中心点落入范围”的规则,并使用左闭右开边界;这与多边形相交筛选不同。示例范围不跨越 ±180° 日期变更线。
下载全部分区并分块读取
snapshot_download 可以通过 allow_patterns 仅下载 H5 文件。下面每次读取最多 50,000 条,不会一次性将全部数据装入内存。
from pathlib import Path
import h5py
from huggingface_hub import snapshot_download
REPO_ID = "YOUR_USERNAME/YOUR_DATASET"
local_root = Path(snapshot_download(
repo_id=REPO_ID,
repo_type="dataset",
allow_patterns=["worldfishnet_h5/*.h5"],
))
files = sorted(
(local_root / "worldfishnet_h5").glob("*fishnet.h5"),
key=lambda p: int(p.stem.removesuffix("fishnet")),
)
if not files:
raise FileNotFoundError("未找到 H5 文件,请检查仓库中的目录结构。")
batch_size = 50_000
total = 0
for path in files:
with h5py.File(path, "r") as f:
n = f["pile"].shape[0]
for start in range(0, n, batch_size):
stop = min(start + batch_size, n)
batch_ids = f["IDname"].asstr()[start:stop]
batch_polygons = f["pile"][start:stop]
batch_centers = batch_polygons[:, :4, :].mean(axis=1)
# 在这里执行筛选、统计或导出。
total += len(batch_ids)
print(f"文件数:{len(files)};记录总数:{total:,}")
# 当前版本:文件数:60;记录总数:7,680,636
分区布局与覆盖范围
分区编号整体符合每行 12 个、从西向东再从南向北的 30° × 30° 布局。根据现有坐标归纳,编号 k 的名义西界和南界为:
west = -180 + ((k - 1) % 12) * 30
south = -90 + ((k - 1) // 12) * 30
这个公式用于定位名义分区,不能替代实际网格筛选:每个文件只保存部分空间位置,一些文件在东侧或北侧边界还包含一整格,实际顶点范围可能多出 0.05°。
- 当前文件号为 1–70,其中没有 6、7、8、9、14、15、18、30、38、48。
- 若按上述规则扩展至完整的 72 个全球分区,当前版本也未提供 71、72。
- 因此,当前数据并未完整覆盖整个地球,尤其缺少部分南极区域以及 120–180°E、60–90°N 的高纬区域。
使用时需要注意
- 边界重复:60 个文件共有 7,680,636 条记录,对应 7,659,139 个唯一网格位置,即存在 21,497 条位置重复的额外记录。按
IDname去重不能消除几何重复;跨分区汇总时可按下界坐标转换的 0.05° 网格索引去重。全球图对共享位置采用较小文件号的颜色。 - 日期变更线:
12fishnet.h5还包含 −180° 一侧的 234 个网格,与第 1 分区重合。因此不能将该文件的整体经度最小值和最大值之间全部视为覆盖区。 - 顶点顺序:这 234 条记录的起始顶点不同,不能假定第一个点总是左下角。计算包围盒应使用
polygons.min(axis=1)和polygons.max(axis=1);计算中心点应排除重复的闭合点。 - 数值精度:部分坐标存在约
1e-9°的误差。当前几何检查采用1e-8的绝对容差,未发现非有限坐标、未闭合网格或非矩形。 - 面积与坐标系:0.05° 表示角度间隔,不代表全球统一的距离或面积。计算距离、面积或叠加其他 GIS 数据前,应先确认源坐标系。
仓库文件
.
├── README.md
├── worldfishnet_h5/
│ ├── 1fishnet.h5
│ ├── 2fishnet.h5
│ ├── ...
│ └── 70fishnet.h5
├── inspect_h5.py
├── plot_world_partitions.py
└── h5_inspection/
├── world_partitions.png
├── world_partitions.pdf
├── file_summary.csv
├── summary.json
├── samples.json
└── map_diagnostics.json
逐文件汇总提供每个分区的记录数、坐标范围与检查结果;数据样本包含每个文件前 3 条记录。地图统计记录去重后的覆盖格数和绘图规则。
在包含数据的仓库目录中,可使用 inspect_h5.py 重新生成检查结果:
python inspect_h5.py
数据来源与许可
当前提供的 H5 文件和压缩包中没有附带原始来源、制作方法、许可证或正式引用信息,因此此处未指定许可证或论文引用。本页中的数据结构、统计和覆盖图均基于当前 60 个文件的直接读取结果。
- Downloads last month
- 84
