Datasets:
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
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 2 new columns ({'vessels', 'hours'})
This happened while the csv dataset builder was generating data using
hf://datasets/DKU-STATS201-Autumn2026/Keyue_Li/panel_anchorage_F.csv (at revision 0166fc0e3deaa764cf4b54db587fecc67306949a), ['hf://datasets/DKU-STATS201-Autumn2026/Keyue_Li@0166fc0e3deaa764cf4b54db587fecc67306949a/panel_anchorage.csv', 'hf://datasets/DKU-STATS201-Autumn2026/Keyue_Li@0166fc0e3deaa764cf4b54db587fecc67306949a/panel_anchorage_F.csv', 'hf://datasets/DKU-STATS201-Autumn2026/Keyue_Li@0166fc0e3deaa764cf4b54db587fecc67306949a/panel_anchorage_G.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
date: string
vessels: double
hours: double
sar_pass_today: int64
det_28d: double
days_since_pass: double
last_pass_det: double
last_pass_matched: double
last_pass_unmatched: double
last_pass_vessels: double
n_lag1: double
n_lag7: double
n_mean7: double
n_mean14: double
n_mean28: double
n_std7: double
hours_lag1: double
cargo_share_lag1: double
tanker_share_lag1: double
dow: int64
month: int64
y: double
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 2910
to
{'n_lag1': Value('float64'), 'n_lag7': Value('float64'), 'n_mean7': Value('float64'), 'n_mean14': Value('float64'), 'n_mean28': Value('float64'), 'n_std7': Value('float64'), 'hours_lag1': Value('float64'), 'cargo_share_lag1': Value('float64'), 'tanker_share_lag1': Value('float64'), 'dow': Value('int64'), 'month': Value('int64'), 'sar_pass_today': Value('int64'), 'days_since_pass': Value('float64'), 'last_pass_det': Value('float64'), 'last_pass_matched': Value('float64'), 'last_pass_unmatched': Value('float64'), 'last_pass_vessels': Value('float64'), 'det_28d': Value('float64'), 'y': Value('float64'), 'date': Value('string')}
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 2 new columns ({'vessels', 'hours'})
This happened while the csv dataset builder was generating data using
hf://datasets/DKU-STATS201-Autumn2026/Keyue_Li/panel_anchorage_F.csv (at revision 0166fc0e3deaa764cf4b54db587fecc67306949a), ['hf://datasets/DKU-STATS201-Autumn2026/Keyue_Li@0166fc0e3deaa764cf4b54db587fecc67306949a/panel_anchorage.csv', 'hf://datasets/DKU-STATS201-Autumn2026/Keyue_Li@0166fc0e3deaa764cf4b54db587fecc67306949a/panel_anchorage_F.csv', 'hf://datasets/DKU-STATS201-Autumn2026/Keyue_Li@0166fc0e3deaa764cf4b54db587fecc67306949a/panel_anchorage_G.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.
n_lag1 float64 | n_lag7 float64 | n_mean7 float64 | n_mean14 float64 | n_mean28 float64 | n_std7 float64 | hours_lag1 float64 | cargo_share_lag1 float64 | tanker_share_lag1 float64 | dow int64 | month int64 | sar_pass_today int64 | days_since_pass float64 | last_pass_det float64 | last_pass_matched float64 | last_pass_unmatched float64 | last_pass_vessels float64 | det_28d float64 | y float64 | date string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7 | 9 | 10 | 9.357143 | 8.65 | 2.309401 | 116 | 0 | 0.857143 | 6 | 1 | 0 | 1 | 5 | 5 | 0 | 5 | 16 | 7 | 2024-01-21 |
9 | 12 | 10 | 9.642857 | 8.666667 | 2.309401 | 118 | 0 | 0.555556 | 0 | 1 | 0 | 2 | 5 | 5 | 0 | 5 | 16 | 7 | 2024-01-22 |
7 | 9 | 9.285714 | 9.428571 | 8.590909 | 2.360387 | 118 | 0.142857 | 0.857143 | 1 | 1 | 0 | 3 | 5 | 5 | 0 | 5 | 16 | 9 | 2024-01-23 |
7 | 10 | 9 | 9.285714 | 8.521739 | 2.516611 | 132 | 0 | 1 | 2 | 1 | 0 | 4 | 5 | 5 | 0 | 5 | 16 | 10 | 2024-01-24 |
9 | 9 | 8.857143 | 9.357143 | 8.541667 | 2.478479 | 142 | 0.111111 | 0.555556 | 3 | 1 | 0 | 5 | 5 | 5 | 0 | 5 | 16 | 8 | 2024-01-25 |
10 | 14 | 9 | 9.5 | 8.6 | 2.516611 | 114 | 0.3 | 0.6 | 4 | 1 | 0 | 6 | 5 | 5 | 0 | 5 | 16 | 12 | 2024-01-26 |
8 | 7 | 8.142857 | 9.428571 | 8.576923 | 1.214986 | 133 | 0.125 | 0.75 | 5 | 1 | 1 | 0 | 6 | 6 | 0 | 6 | 22 | 15 | 2024-01-27 |
12 | 9 | 8.857143 | 9.428571 | 8.703704 | 1.772811 | 99 | 0.083333 | 0.333333 | 6 | 1 | 0 | 1 | 6 | 6 | 0 | 6 | 22 | 15 | 2024-01-28 |
15 | 7 | 9.714286 | 9.857143 | 8.928571 | 2.9277 | 176 | 0.133333 | 0.466667 | 0 | 1 | 0 | 2 | 6 | 6 | 0 | 6 | 22 | 9 | 2024-01-29 |
15 | 7 | 10.857143 | 10.071429 | 9.142857 | 3.236694 | 119 | 0.066667 | 0.4 | 1 | 1 | 0 | 3 | 6 | 6 | 0 | 6 | 22 | 8 | 2024-01-30 |
9 | 9 | 11.142857 | 10.071429 | 9.178571 | 2.91139 | 112 | 0.222222 | 0.555556 | 2 | 1 | 0 | 4 | 6 | 6 | 0 | 6 | 18 | 5 | 2024-01-31 |
8 | 10 | 11 | 9.928571 | 9.285714 | 3.05505 | 103 | 0.25 | 0.375 | 3 | 2 | 1 | 0 | 2 | 2 | 0 | 2 | 20 | 5 | 2024-02-01 |
5 | 8 | 10.285714 | 9.642857 | 9.214286 | 3.817254 | 105 | 0.4 | 0.6 | 4 | 2 | 0 | 1 | 2 | 2 | 0 | 2 | 20 | 5 | 2024-02-02 |
5 | 12 | 9.857143 | 9 | 9.142857 | 4.259443 | 77 | 0.4 | 0.4 | 5 | 2 | 0 | 2 | 2 | 2 | 0 | 2 | 20 | 5 | 2024-02-03 |
5 | 15 | 8.857143 | 8.857143 | 9.107143 | 4.488079 | 63 | 0.4 | 0.2 | 6 | 2 | 0 | 3 | 2 | 2 | 0 | 2 | 20 | 6 | 2024-02-04 |
5 | 15 | 7.428571 | 8.571429 | 9.107143 | 3.735289 | 51 | 0.2 | 0.2 | 0 | 2 | 0 | 4 | 2 | 2 | 0 | 2 | 18 | 11 | 2024-02-05 |
6 | 9 | 6.142857 | 8.5 | 8.964286 | 1.676163 | 67 | 0.166667 | 0.833333 | 1 | 2 | 0 | 5 | 2 | 2 | 0 | 2 | 18 | 8 | 2024-02-06 |
11 | 8 | 6.428571 | 8.785714 | 9.035714 | 2.299068 | 164 | 0.181818 | 0.545455 | 2 | 2 | 0 | 6 | 2 | 2 | 0 | 2 | 18 | 8 | 2024-02-07 |
8 | 5 | 6.428571 | 8.714286 | 9.035714 | 2.299068 | 142 | 0 | 0.875 | 3 | 2 | 1 | 0 | 5 | 5 | 0 | 4 | 23 | 9 | 2024-02-08 |
8 | 5 | 6.857143 | 8.571429 | 9.035714 | 2.267787 | 116 | 0.125 | 0.75 | 4 | 2 | 0 | 1 | 5 | 5 | 0 | 4 | 23 | 11 | 2024-02-09 |
9 | 5 | 7.428571 | 8.642857 | 9.035714 | 2.225395 | 147 | 0.111111 | 0.666667 | 5 | 2 | 0 | 2 | 5 | 5 | 0 | 4 | 23 | 12 | 2024-02-10 |
11 | 5 | 8.285714 | 8.571429 | 9 | 2.288689 | 133 | 0.181818 | 0.545455 | 6 | 2 | 0 | 3 | 5 | 5 | 0 | 4 | 23 | 14 | 2024-02-11 |
12 | 6 | 9.285714 | 8.357143 | 9.107143 | 2.13809 | 165 | 0.166667 | 0.583333 | 0 | 2 | 0 | 4 | 5 | 5 | 0 | 4 | 18 | 12 | 2024-02-12 |
14 | 11 | 10.428571 | 8.285714 | 9.178571 | 2.225395 | 177 | 0.214286 | 0.5 | 1 | 2 | 1 | 0 | 2 | 2 | 0 | 2 | 20 | 9 | 2024-02-13 |
12 | 8 | 10.571429 | 8.5 | 9.285714 | 2.299068 | 164 | 0.166667 | 0.583333 | 2 | 2 | 0 | 1 | 2 | 2 | 0 | 2 | 20 | 9 | 2024-02-14 |
9 | 8 | 10.714286 | 8.571429 | 9.25 | 2.13809 | 157 | 0.111111 | 0.666667 | 3 | 2 | 0 | 2 | 2 | 2 | 0 | 2 | 20 | 11 | 2024-02-15 |
9 | 9 | 10.857143 | 8.857143 | 9.25 | 1.9518 | 156 | 0.111111 | 0.777778 | 4 | 2 | 0 | 3 | 2 | 2 | 0 | 2 | 20 | 13 | 2024-02-16 |
11 | 11 | 11.142857 | 9.285714 | 9.142857 | 1.772811 | 138 | 0.090909 | 0.454545 | 5 | 2 | 0 | 4 | 2 | 2 | 0 | 2 | 15 | 8 | 2024-02-17 |
13 | 12 | 11.428571 | 9.857143 | 9.357143 | 1.902379 | 109 | 0.153846 | 0.384615 | 6 | 2 | 0 | 5 | 2 | 2 | 0 | 2 | 15 | 12 | 2024-02-18 |
8 | 14 | 10.857143 | 10.071429 | 9.321429 | 2.267787 | 116 | 0.25 | 0.625 | 0 | 2 | 0 | 6 | 2 | 2 | 0 | 2 | 15 | 6 | 2024-02-19 |
12 | 12 | 10.571429 | 10.5 | 9.5 | 1.902379 | 130 | 0.083333 | 0.583333 | 1 | 2 | 1 | 0 | 4 | 4 | 0 | 2 | 19 | 8 | 2024-02-20 |
6 | 9 | 9.714286 | 10.142857 | 9.464286 | 2.429972 | 99 | 0.166667 | 0.833333 | 2 | 2 | 0 | 1 | 4 | 4 | 0 | 2 | 19 | 10 | 2024-02-21 |
8 | 9 | 9.571429 | 10.142857 | 9.428571 | 2.507133 | 84 | 0.125 | 0.75 | 3 | 2 | 0 | 2 | 4 | 4 | 0 | 2 | 19 | 10 | 2024-02-22 |
10 | 11 | 9.714286 | 10.285714 | 9.428571 | 2.497618 | 95 | 0 | 0.6 | 4 | 2 | 0 | 3 | 4 | 4 | 0 | 2 | 19 | 12 | 2024-02-23 |
10 | 13 | 9.571429 | 10.357143 | 9.5 | 2.43975 | 95 | 0.1 | 0.6 | 5 | 2 | 0 | 4 | 4 | 4 | 0 | 2 | 13 | 16 | 2024-02-24 |
12 | 8 | 9.428571 | 10.428571 | 9.5 | 2.225395 | 100 | 0.083333 | 0.5 | 6 | 2 | 1 | 0 | 1 | 0 | 1 | 0 | 14 | 7 | 2024-02-25 |
16 | 12 | 10.571429 | 10.714286 | 9.535714 | 3.207135 | 115 | 0.125 | 0.4375 | 0 | 2 | 0 | 1 | 1 | 0 | 1 | 0 | 14 | 6 | 2024-02-26 |
7 | 6 | 9.857143 | 10.214286 | 9.25 | 3.387653 | 88 | 0.142857 | 0.571429 | 1 | 2 | 0 | 2 | 1 | 0 | 1 | 0 | 14 | 8 | 2024-02-27 |
6 | 8 | 9.857143 | 9.785714 | 9.142857 | 3.387653 | 98 | 0.166667 | 0.666667 | 2 | 2 | 0 | 3 | 1 | 0 | 1 | 0 | 14 | 9 | 2024-02-28 |
8 | 10 | 9.857143 | 9.714286 | 9.142857 | 3.387653 | 86 | 0.125 | 0.625 | 3 | 2 | 0 | 4 | 1 | 0 | 1 | 0 | 12 | 8 | 2024-02-29 |
9 | 10 | 9.714286 | 9.714286 | 9.285714 | 3.40168 | 82 | 0.222222 | 0.222222 | 4 | 3 | 0 | 5 | 1 | 0 | 1 | 0 | 12 | 6 | 2024-03-01 |
8 | 12 | 9.428571 | 9.5 | 9.392857 | 3.457222 | 125 | 0.25 | 0.5 | 5 | 3 | 0 | 6 | 1 | 0 | 1 | 0 | 12 | 4 | 2024-03-02 |
6 | 16 | 8.571429 | 9 | 9.428571 | 3.457222 | 110 | 0.333333 | 0.5 | 6 | 3 | 0 | 7 | 1 | 0 | 1 | 0 | 12 | 9 | 2024-03-03 |
4 | 7 | 6.857143 | 8.714286 | 9.392857 | 1.676163 | 52 | 0.5 | 0.5 | 0 | 3 | 0 | 8 | 1 | 0 | 1 | 0 | 12 | 5 | 2024-03-04 |
9 | 6 | 7.142857 | 8.5 | 9.5 | 1.864454 | 53 | 0.111111 | 0.444444 | 1 | 3 | 0 | 9 | 1 | 0 | 1 | 0 | 12 | 6 | 2024-03-05 |
5 | 8 | 7 | 8.428571 | 9.285714 | 2 | 73 | 0.2 | 0.8 | 2 | 3 | 0 | 10 | 1 | 0 | 1 | 0 | 12 | 10 | 2024-03-06 |
6 | 9 | 6.714286 | 8.285714 | 9.214286 | 1.976047 | 77 | 0.333333 | 0.666667 | 3 | 3 | 0 | 11 | 1 | 0 | 1 | 0 | 7 | 11 | 2024-03-07 |
10 | 8 | 6.857143 | 8.285714 | 9.285714 | 2.193063 | 125 | 0.2 | 0.4 | 4 | 3 | 1 | 0 | 3 | 3 | 0 | 3 | 10 | 9 | 2024-03-08 |
11 | 6 | 7.285714 | 8.357143 | 9.357143 | 2.690371 | 103 | 0.090909 | 0.272727 | 5 | 3 | 0 | 1 | 3 | 3 | 0 | 3 | 10 | 9 | 2024-03-09 |
9 | 4 | 7.714286 | 8.142857 | 9.285714 | 2.690371 | 63 | 0.111111 | 0.333333 | 6 | 3 | 0 | 2 | 3 | 3 | 0 | 3 | 10 | 8 | 2024-03-10 |
9 | 9 | 8.428571 | 7.642857 | 9.178571 | 2.149197 | 98 | 0.111111 | 0.444444 | 0 | 3 | 0 | 3 | 3 | 3 | 0 | 3 | 10 | 6 | 2024-03-11 |
8 | 5 | 8.285714 | 7.714286 | 8.964286 | 2.13809 | 86 | 0.125 | 0.5 | 1 | 3 | 0 | 4 | 3 | 3 | 0 | 3 | 8 | 5 | 2024-03-12 |
6 | 6 | 8.428571 | 7.714286 | 8.75 | 1.902379 | 94 | 0.166667 | 0.5 | 2 | 3 | 0 | 5 | 3 | 3 | 0 | 3 | 8 | 5 | 2024-03-13 |
5 | 10 | 8.285714 | 7.5 | 8.607143 | 2.13809 | 70 | 0 | 0.6 | 3 | 3 | 0 | 6 | 3 | 3 | 0 | 3 | 8 | 12 | 2024-03-14 |
5 | 11 | 7.571429 | 7.214286 | 8.464286 | 2.299068 | 41 | 0 | 0.6 | 4 | 3 | 1 | 0 | 7 | 6 | 1 | 5 | 15 | 13 | 2024-03-15 |
12 | 9 | 7.714286 | 7.5 | 8.5 | 2.56348 | 121 | 0.083333 | 0.583333 | 5 | 3 | 0 | 1 | 7 | 6 | 1 | 5 | 15 | 11 | 2024-03-16 |
13 | 9 | 8.285714 | 8 | 8.5 | 3.251373 | 149 | 0.153846 | 0.615385 | 6 | 3 | 0 | 2 | 7 | 6 | 1 | 5 | 15 | 9 | 2024-03-17 |
11 | 8 | 8.571429 | 8.5 | 8.607143 | 3.408672 | 171 | 0.181818 | 0.545455 | 0 | 3 | 0 | 3 | 7 | 6 | 1 | 5 | 15 | 14 | 2024-03-18 |
9 | 6 | 8.714286 | 8.5 | 8.5 | 3.40168 | 165 | 0.444444 | 0.555556 | 1 | 3 | 0 | 4 | 7 | 6 | 1 | 5 | 11 | 8 | 2024-03-19 |
14 | 5 | 9.857143 | 9.142857 | 8.785714 | 3.670993 | 105 | 0.214286 | 0.428571 | 2 | 3 | 1 | 0 | 2 | 2 | 0 | 2 | 13 | 6 | 2024-03-20 |
8 | 5 | 10.285714 | 9.285714 | 8.785714 | 3.147183 | 112 | 0.25 | 0.5 | 3 | 3 | 0 | 1 | 2 | 2 | 0 | 2 | 13 | 10 | 2024-03-21 |
6 | 12 | 10.428571 | 9 | 8.642857 | 2.878492 | 102 | 0.166667 | 0.666667 | 4 | 3 | 0 | 2 | 2 | 2 | 0 | 2 | 13 | 8 | 2024-03-22 |
10 | 13 | 10.142857 | 8.928571 | 8.642857 | 2.794553 | 110 | 0.1 | 0.5 | 5 | 3 | 0 | 3 | 2 | 2 | 0 | 2 | 13 | 3 | 2024-03-23 |
8 | 11 | 9.428571 | 8.857143 | 8.5 | 2.572751 | 97 | 0.125 | 0.625 | 6 | 3 | 0 | 4 | 2 | 2 | 0 | 2 | 12 | 10 | 2024-03-24 |
3 | 9 | 8.285714 | 8.428571 | 8.035714 | 3.40168 | 3 | 0 | 0 | 0 | 3 | 0 | 5 | 2 | 2 | 0 | 2 | 12 | 15 | 2024-03-25 |
10 | 14 | 8.428571 | 8.571429 | 8.142857 | 3.457222 | 66 | 0.3 | 0.5 | 1 | 3 | 0 | 6 | 2 | 2 | 0 | 2 | 12 | 9 | 2024-03-26 |
15 | 8 | 8.571429 | 9.214286 | 8.464286 | 3.735289 | 183 | 0.266667 | 0.4 | 2 | 3 | 1 | 0 | 7 | 7 | 0 | 5 | 19 | 7 | 2024-03-27 |
9 | 6 | 8.714286 | 9.5 | 8.5 | 3.728909 | 110 | 0.444444 | 0.333333 | 3 | 3 | 0 | 1 | 7 | 7 | 0 | 5 | 19 | 10 | 2024-03-28 |
7 | 10 | 8.857143 | 9.642857 | 8.428571 | 3.625308 | 96 | 0.142857 | 0.714286 | 4 | 3 | 0 | 2 | 7 | 7 | 0 | 5 | 19 | 9 | 2024-03-29 |
10 | 8 | 8.857143 | 9.5 | 8.5 | 3.625308 | 117 | 0.1 | 0.5 | 5 | 3 | 0 | 3 | 7 | 7 | 0 | 5 | 19 | 9 | 2024-03-30 |
9 | 3 | 9 | 9.214286 | 8.607143 | 3.605551 | 110 | 0 | 0.777778 | 6 | 3 | 0 | 4 | 7 | 7 | 0 | 5 | 19 | 9 | 2024-03-31 |
9 | 10 | 9.857143 | 9.071429 | 8.785714 | 2.478479 | 104 | 0 | 0.555556 | 0 | 4 | 1 | 0 | 5 | 5 | 0 | 5 | 24 | 11 | 2024-04-01 |
9 | 15 | 9.714286 | 9.071429 | 8.785714 | 2.497618 | 87 | 0 | 0.444444 | 1 | 4 | 0 | 1 | 5 | 5 | 0 | 5 | 24 | 12 | 2024-04-02 |
11 | 9 | 9.142857 | 8.857143 | 9 | 1.214986 | 120 | 0 | 0.636364 | 2 | 4 | 0 | 2 | 5 | 5 | 0 | 5 | 24 | 10 | 2024-04-03 |
12 | 7 | 9.571429 | 9.142857 | 9.214286 | 1.618347 | 122 | 0 | 0.666667 | 3 | 4 | 0 | 3 | 5 | 5 | 0 | 5 | 24 | 10 | 2024-04-04 |
10 | 10 | 10 | 9.428571 | 9.214286 | 1.154701 | 149 | 0 | 0.7 | 4 | 4 | 0 | 4 | 5 | 5 | 0 | 5 | 21 | 11 | 2024-04-05 |
10 | 9 | 10 | 9.428571 | 9.178571 | 1.154701 | 117 | 0 | 0.7 | 5 | 4 | 0 | 5 | 5 | 5 | 0 | 5 | 21 | 9 | 2024-04-06 |
11 | 9 | 10.285714 | 9.642857 | 9.25 | 1.112697 | 97 | 0 | 0.727273 | 6 | 4 | 0 | 6 | 5 | 5 | 0 | 5 | 21 | 11 | 2024-04-07 |
9 | 9 | 10.285714 | 10.071429 | 9.25 | 1.112697 | 119 | 0 | 0.666667 | 0 | 4 | 1 | 0 | 3 | 1 | 2 | 1 | 24 | 5 | 2024-04-08 |
11 | 11 | 10.571429 | 10.142857 | 9.357143 | 0.9759 | 104 | 0.090909 | 0.454545 | 1 | 4 | 0 | 1 | 3 | 1 | 2 | 1 | 24 | 9 | 2024-04-09 |
5 | 12 | 9.714286 | 9.428571 | 9.321429 | 2.288689 | 104 | 0.2 | 0.8 | 2 | 4 | 0 | 2 | 3 | 1 | 2 | 1 | 24 | 7 | 2024-04-10 |
9 | 10 | 9.285714 | 9.428571 | 9.464286 | 2.058663 | 88 | 0 | 0.666667 | 3 | 4 | 0 | 3 | 3 | 1 | 2 | 1 | 24 | 13 | 2024-04-11 |
7 | 10 | 8.857143 | 9.428571 | 9.535714 | 2.193063 | 114 | 0 | 0.714286 | 4 | 4 | 0 | 4 | 3 | 1 | 2 | 1 | 17 | 5 | 2024-04-12 |
13 | 11 | 9.285714 | 9.642857 | 9.571429 | 2.690371 | 110 | 0 | 0.538462 | 5 | 4 | 0 | 5 | 3 | 1 | 2 | 1 | 17 | 14 | 2024-04-13 |
5 | 9 | 8.428571 | 9.357143 | 9.285714 | 2.992053 | 97 | 0 | 1 | 6 | 4 | 0 | 6 | 3 | 1 | 2 | 1 | 17 | 7 | 2024-04-14 |
14 | 11 | 9.142857 | 9.714286 | 9.392857 | 3.670993 | 111 | 0 | 0.5 | 0 | 4 | 0 | 7 | 3 | 1 | 2 | 1 | 17 | 7 | 2024-04-15 |
7 | 5 | 8.571429 | 9.571429 | 9.321429 | 3.644957 | 121 | 0 | 0.714286 | 1 | 4 | 0 | 8 | 3 | 1 | 2 | 1 | 17 | 12 | 2024-04-16 |
7 | 9 | 8.857143 | 9.285714 | 9.071429 | 3.387653 | 123 | 0 | 0.857143 | 2 | 4 | 0 | 9 | 3 | 1 | 2 | 1 | 15 | 7 | 2024-04-17 |
12 | 7 | 9.285714 | 9.285714 | 9.214286 | 3.59232 | 147 | 0 | 0.583333 | 3 | 4 | 0 | 10 | 3 | 1 | 2 | 1 | 15 | 17 | 2024-04-18 |
7 | 13 | 9.285714 | 9.071429 | 9.25 | 3.59232 | 146 | 0 | 1 | 4 | 4 | 0 | 11 | 3 | 1 | 2 | 1 | 15 | 12 | 2024-04-19 |
17 | 5 | 9.857143 | 9.571429 | 9.5 | 4.488079 | 168 | 0 | 0.529412 | 5 | 4 | 1 | 0 | 3 | 3 | 0 | 3 | 18 | 15 | 2024-04-20 |
12 | 14 | 10.857143 | 9.642857 | 9.642857 | 3.976119 | 146 | 0.166667 | 0.5 | 6 | 4 | 0 | 1 | 3 | 3 | 0 | 3 | 18 | 13 | 2024-04-21 |
15 | 7 | 11 | 10.071429 | 10.071429 | 4.123106 | 144 | 0.133333 | 0.4 | 0 | 4 | 0 | 2 | 3 | 3 | 0 | 3 | 18 | 13 | 2024-04-22 |
13 | 7 | 11.857143 | 10.214286 | 10.178571 | 3.760699 | 159 | 0.384615 | 0.461538 | 1 | 4 | 0 | 3 | 3 | 3 | 0 | 3 | 18 | 9 | 2024-04-23 |
13 | 12 | 12.714286 | 10.785714 | 10.107143 | 3.093773 | 215 | 0.307692 | 0.384615 | 2 | 4 | 0 | 4 | 3 | 3 | 0 | 3 | 11 | 13 | 2024-04-24 |
9 | 7 | 12.285714 | 10.785714 | 10.107143 | 3.40168 | 192 | 0.444444 | 0.555556 | 3 | 4 | 1 | 0 | 4 | 2 | 2 | 2 | 15 | 10 | 2024-04-25 |
13 | 17 | 13.142857 | 11.214286 | 10.321429 | 2.478479 | 162 | 0.230769 | 0.384615 | 4 | 4 | 0 | 1 | 4 | 2 | 2 | 2 | 15 | 10 | 2024-04-26 |
10 | 12 | 12.142857 | 11 | 10.321429 | 2.035401 | 104 | 0.2 | 0.3 | 5 | 4 | 0 | 2 | 4 | 2 | 2 | 2 | 15 | 13 | 2024-04-27 |
10 | 15 | 11.857143 | 11.357143 | 10.357143 | 2.193063 | 103 | 0.1 | 0.6 | 6 | 4 | 0 | 3 | 4 | 2 | 2 | 2 | 15 | 10 | 2024-04-28 |
13 | 13 | 11.571429 | 11.285714 | 10.5 | 1.812654 | 168 | 0.076923 | 0.538462 | 0 | 4 | 0 | 4 | 4 | 2 | 2 | 2 | 10 | 12 | 2024-04-29 |
Anchorage Vessel Activity Panel β Los Angeles & Long Beach (2024β2025)
Daily panel of vessel activity in the two official commercial anchorages serving the Ports of Los Angeles and Long Beach, built for a STATS 201 (Autumn 2026) course project that tests whether Sentinel-1 SAR detections improve short-term prediction of anchorage vessel activity beyond historical AIS.
Source
- AIS presence and SAR presence reports from the Global Fishing Watch 4Wings API (
gfw-api-python-client1.4.0), pulled January 2024 β December 2025. - Anchorage boundaries: Commercial Anchorages F and G as defined in U.S. federal regulation 33 CFR 110.214 (eCFR, September 2025 revision, NAD 83).
- Upstream terms: Global Fishing Watch data are shared under CC BY-NC; this aggregated panel follows the same non-commercial restriction. No vessel-level records are redistributed.
Observation unit
One row = one anchorage-day (anchorages F and G combined), 2024-01-21 to 2025-12-31, 710 rows. Days enter the panel only after the 20-day lag-feature warm-up.
Variables
Target
yβ number of distinct AIS vessel IDs observed inside anchorages F+G that daydateβ UTC date
AIS history features (leak-free lags)
n_lag1,n_lag7β vessel count 1 / 7 days beforen_mean7,n_mean14,n_mean28β trailing means of the daily vessel countn_std7β trailing 7-day standard deviationhours_lag1β total AIS presence hours, previous daycargo_share_lag1,tanker_share_lag1β vessel-type shares, previous daydow,monthβ calendar features
SAR pass features (only information available up to that day)
sar_pass_todayβ 1 if a Sentinel-1 pass over the anchorages occurred that daydays_since_passβ days since the most recent passlast_pass_detβ SAR detections on the most recent passlast_pass_matched,last_pass_unmatchedβ detections matched / unmatched to an AIS identitylast_pass_vesselsβ distinct vessels detected on the most recent passdet_28dβ sum of detections over passes in the trailing 28 days
Preparation
Raw AIS and SAR presence reports were pulled in monthly chunks per anchorage with
pull_gfw_anchorages.py (see linked code repository), aggregated to the anchorage-day
level, and merged. SAR enters only through lagged pass features so that no future
information leaks into predictors. A SAR-free day means no usable observation
opportunity unless sar_pass_today = 1 with zero detections; coverage is explicit in
the pass indicators rather than zero-filled.
Files
panel_anchorage.csvβ combined anchorages F+G, 710 rows (released in v1.0)panel_anchorage_F.csv,panel_anchorage_G.csvβ per-site panels (added in v1.1 for the Attempt 2 per-site robustness check)
Known limitations
- Activity β congestion. The target measures observed AIS activity, not waiting time or queue length; no validated congestion label exists for this period.
- SAR revisit is slow. Sentinel-1 passes over the area roughly every 6.5 days (430 passes in two years), which limits the temporal resolution of SAR features.
- Anchored vessels mostly keep AIS on. 391 of 430 pass detections matched an AIS identity (about 91%), so SAR adds little independent signal in this region.
- Scope. Los AngelesβLong Beach anchorages, 2024β2025 only; findings do not generalize to ports with weaker AIS compliance.
- 2024 Q4 contains a real near-empty period in the anchorages (verified against wider-area AIS activity); it is a genuine state switch, not missing data.
Access and license
CC BY-NC 4.0. For non-commercial research and teaching. Cite Global Fishing Watch as the upstream data source.
Code
Analysis and model comparison: GitHub Keyue-Li_STATS-201_26fall; Attempt 2 robustness checks in analysis_attempt2.py.
- Downloads last month
- 74