Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
97737e6
First attempt at integrating with copernicusmarine toolkit. Looks pro…
michaeldenes Nov 20, 2025
45aae65
Testing copernicusmarine toolkit incl. biofouling and stokes drift. S…
michaeldenes Nov 21, 2025
756b2d6
Adding functionality to create a fieldset from a copernicusmarine dat…
michaeldenes Nov 21, 2025
cda6709
Adding a warning when trying to download data (but no unbeaching info…
michaeldenes Nov 21, 2025
f9fd373
Minor fix to particleset creation in the case of the fisheries data h…
michaeldenes Nov 21, 2025
5eea33a
Add missing z_start constant for bathymetry
michaeldenes Nov 21, 2025
7bc3fcd
include copernicusmarine as a dependency
michaeldenes Nov 21, 2025
794c4f7
Example using copernicusmarine w/ stokes and biofouling kernels on.
michaeldenes Nov 21, 2025
5b5c0b9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Nov 21, 2025
5023c99
Additional plot (starting, ending locations)
michaeldenes Nov 21, 2025
d17ec9c
Fixing constructor to use different dict
michaeldenes Nov 22, 2025
0e4a7e3
Notebook comparing 15min vs. 1hr. vs daily temporal resolution NWS sims
michaeldenes Nov 22, 2025
00a94f0
Additional plot of differences
michaeldenes Nov 22, 2025
df7d31a
Including labels for plots
michaeldenes Nov 22, 2025
a6bde3f
Adding labels and info to other figs
michaeldenes Nov 22, 2025
1f1c35f
Merge pull request #82 from Parcels-code/main
michaeldenes Aug 11, 2026
7130332
Finalise the copernicusmarine example.
michaeldenes Aug 11, 2026
6eb7bae
Add copernicusmarine to pixi env
VeckoTheGecko Aug 13, 2026
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
80 changes: 80 additions & 0 deletions docs/examples/copernicus_marine.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{
"use_3D": false,
"allow_time_extrapolation": false,
"verbose_delete": false,
"use_mixing": false,
"use_biofouling": false,
"use_stokes": true,
"use_wind": false,
"ocean": {
"dataset_id": {"U" :"cmems_mod_glo_phy-cur_anfc_0.083deg_P1D-m",
"V" :"cmems_mod_glo_phy-cur_anfc_0.083deg_P1D-m",
"W" :"cmems_mod_glo_phy-wcur_anfc_0.083deg_P1D-m",
"conservative_temperature": "cmems_mod_glo_phy-thetao_anfc_0.083deg_P1D-m",
"absolute_salinity": "cmems_mod_glo_phy-so_anfc_0.083deg_P1D-m",
"bathymetry": "cmems_mod_glo_phy_anfc_0.083deg_static"},
"variables": {"U": "uo",
"V": "vo",
"W": "wo",
"conservative_temperature": "thetao",
"absolute_salinity": "so"},
"dimensions": {"lon": "longitude",
"lat": "latitude",
"depth": "depth",
"time": "time"},
"bathymetry_variables": {"bathymetry": "deptho"},
"bathymetry_dimensions": {"lon": "longitude",
"lat": "latitude"}
},
"bgc": {
"dataset_id": {"pp_phyto": "cmems_mod_glo_bgc-bio_anfc_0.25deg_P1D-m",
"bio_nanophy": "cmems_mod_glo_bgc-pft_anfc_0.25deg_P1D-m",
"bio_diatom": "cmems_mod_glo_bgc-plankton_anfc_0.25deg_P1D-m"},
"variables": {
"pp_phyto": "nppv",
"bio_nanophy": "phyc",
"bio_diatom": "zooc"
},
"dimensions": {"lon": "longitude",
"lat": "latitude",
"depth": "depth",
"time": "time"},
"constants": {
"biofilm_density": 1388.0,
"algae_cell_volume": 2e-16,
"K": 1.3805834190672156e-23,
"R20": 1.1574074074074074e-06,
"Q10": 2.13,
"Gamma": 2.0,
"carbon_molecular_weight": 12.0,
"collision_probability": 1.0,
"algae_mortality_rate": 1.0,
"algae_respiration_f": 1.0
}
},
"stokes": {
"dataset_id": {"Stokes_U": "cmems_mod_glo_wav_anfc_0.083deg_PT3H-i",
"Stokes_V": "cmems_mod_glo_wav_anfc_0.083deg_PT3H-i",
"wave_Tp": "cmems_mod_glo_wav_anfc_0.083deg_PT3H-i"},
"variables": {
"Stokes_U": "VSDX",
"Stokes_V": "VSDY",
"wave_Tp": "VTPK"
},
"dimensions": {"lon": "longitude",
"lat": "latitude",
"time": "time"}
},
"simulation": {
"start_date": null,
"runtime": null,
"dt_write": null,
"dt_timestep": null
},
"release_maps": {
"coastal": "input_data/NEMO0083/coastal_population_MPW_NEMO0083.csv",
"rivers": "input_data/NEMO0083/river_emissions_NEMO0083.csv",
"fisheries": "input_data/NEMO0083/agg_data_fisheries_info_NEMO0083.csv",
"global_concentrations": "input_data/NEMO0083/global_concentrations_NEMO0083.csv"
}
}
290 changes: 290 additions & 0 deletions docs/examples/example_copernicusmarine.ipynb

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dependencies:
- parcels>=3.0.2
- shapely
- geopandas
- copernicusmarine>= 2.2.2

# Testing
- pytest
Expand Down
Loading
Loading