Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions docs/user-guide/tutorials/ADCP_transects.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,8 @@
"source": [
"# load ADCP data\n",
"\n",
"# Using Pandas to read the data file (suitable option for most cases). You can also use Parcels or Polars instead.\n",
"adcp_df = pd.read_parquet(f\"{data_dir}/adcp.parquet\")\n",
"\n",
"# adcp_df = parcels.read_particlefile(f\"{data_dir}/adcp.parquet\") # Using Parcels to read the data file\n",
"# Using Parcels to read the data file. You can also use Pandas or Polars instead.\n",
"adcp_df = parcels.read_particlefile(f\"{data_dir}/adcp.parquet\")\n",
"if len(adcp_df) <= 1:\n",
" raise ValueError(\"Number of observations must be > 1\")"
]
Expand Down
6 changes: 2 additions & 4 deletions docs/user-guide/tutorials/Argo_data_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,8 @@
"source": [
"# load argo data\n",
"\n",
"# Using Pandas to read the data file (suitable option for most cases). You can also use Parcels or Polars instead.\n",
"argo_df = pd.read_parquet(f\"{data_dir}/argo_float.parquet\")\n",
"\n",
"# argo_df = parcels.read_particlefile(f\"{data_dir}/argo_float.parquet\") Using Parcels to read the data file"
"# Using Parcels to read the data file. You can also use Pandas or Polars instead.\n",
"argo_df = parcels.read_particlefile(f\"{data_dir}/argo_float.parquet\")"
]
},
{
Expand Down
6 changes: 2 additions & 4 deletions docs/user-guide/tutorials/CTD_transects.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,8 @@
"source": [
"# load CTD data\n",
"\n",
"# Using Pandas to read the data file (suitable option for most cases). You can also use Parcels or Polars instead.\n",
"ctd_df = pd.read_parquet(f\"{data_dir}/ctd.parquet\")\n",
"\n",
"# ctd_df = parcels.read_particlefile(f\"{data_dir}/ctd.parquet\") # Using Parcels to read the data file\n",
"# Using Parcels to read the data file. You can also use Pandas or Polars instead.\n",
"ctd_df = parcels.read_particlefile(f\"{data_dir}/ctd.parquet\")\n",
"if np.unique(ctd_df[\"particle_id\"]).size <= 1:\n",
" raise ValueError(\"Number of waypoints must be > 1\")"
]
Expand Down
6 changes: 2 additions & 4 deletions docs/user-guide/tutorials/Drifter_data_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,8 @@
"source": [
"# load drifter data\n",
"\n",
"# Using Pandas to read the data file (suitable option for most cases). You can also use Parcels or Polars instead.\n",
"drifter_df = pd.read_parquet(f\"{data_dir}/drifter.parquet\")\n",
"\n",
"# drifter_df = parcels.read_particlefile(f\"{data_dir}/drifter.parquet\") Using Parcels to read the data file"
"# Using Parcels to read the data file. You can also use Pandas or Polars instead.\n",
"drifter_df = parcels.read_particlefile(f\"{data_dir}/drifter.parquet\")"
]
},
{
Expand Down
6 changes: 2 additions & 4 deletions docs/user-guide/tutorials/xbt_plotting.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,8 @@
"source": [
"# load argo data\n",
"\n",
"# Using Polars to read the data file (quicker option for most cases). You can also use Parcels or pandas instead.\n",
"xbt_df = pl.read_parquet(f\"{data_dir}/xbt.parquet\")\n",
"\n",
"# xbt_df = parcels.read_particlefile(f\"{data_dir}/xbt.parquet\") Using Parcels to read the data file"
"# Using Parcels to read the data file. You can also use Pandas or Polars instead.\n",
"xbt_df = parcels.read_particlefile(f\"{data_dir}/xbt.parquet\")"
]
},
{
Expand Down
Loading