Codes used for the paper: Gomez-Navarro et al. (2026)
Reference: Gómez-Navarro, L.; van Sebille, E.; Morales-Márquez, V.; Hernández-Carrasco, I.; Albert, A.; Ubelmann, C.; Molines, J.M.; Le Sommer, J. and Brodeau, L. Impact of Tidal Forcing on Surface Particle Transport Properties: Insights From Twin Ocean Simulations. Journal of Advances in Modeling Earth Systems 2026, 10, 599. (edit) www.doi.org/10.1029/2024MS004805
env_parcels_Azores_analyses.yml
conda env create -f env_parcels_Azores_analyses.yml -n <my_new_env_name>
-
- Output:
Figure 1: Spatial domain of the eNATL60 simulation (except the Gulf of Mexico, Black Sea and eastern Mediterranean Sea domains). Black box shows the region of this study where virtual surface particles are released. Red box shows the subregion used for some of the analyses.
- Output:
-
-
Input(s):
- Monthly netcdfs: dist_km_Jul_nT.nc. Obtained from running dist_km_Jul_nT.py ran from .sh files:
- Monthly netcdfs: dist_km_Jul_wT.nc. Obtained from running dist_km_Jul_wT.py ran from .sh files:
- Monthly netcdfs: dist_tot_km_nT_Jul.nc. Obtained from running dist_tot_km_monthly_nT.py ran from .sh file:
- Monthly netcdfs: dist_tot_km_wT_Jul.nc. Obtained from running dist_tot_km_monthly_wT.py ran from .sh file:
-
Output(s):
- Figure 02: Box plots of mean cumulative distance [km] (top) and mean absolute distance [km] (bottom) travelled by the virtual particles per month.
-
-
- Input(s):
-
Monthly nectdf simulation files per tidal simulation, e.g.: Particle_AZO_grid100000p_ntides_0401_hourly_MONTH.nc. Obtained from running parcels_azores_eNATL60_ntide_Apr_monthly.sh, which runs: parcels_azores_eNATL60_ntide_Apr_monthly.py
-
GKDE npz monthly files: KDE_Particle_AZO_grid100000p_ntides_0701_hourly_MONTH.npz. Obtained from:
- Files e.g.:kde_parcels_azores_eNATL60_monthly_Apr_May.sh, which call the function kde_func.py
-
- Output(s):
- Figure 03: Gaussian Kernel Density Estimation (GKDE) comparison between non-tidal (top) and tidal (bottom) simulations. Maximum GKDE value (top) and percentage of particles with a high GKDE value (greater than 0.008) (bottom) are shown in the top left textbox.
- Figure 04: Comparison of the percentage of particles with a high GKDE value (≥0.008) per month. Non-tidal results are shown in blue and tidal in red.
- Input(s):
-
-
Input(s):
- Monthly nectdf simulation files per tidal simulation, e.g.: Particle_AZO_grid100000p_ntides_0401_hourly_MONTH.nc. Obtained from running parcels_azores_eNATL60_ntide_Apr_monthly.sh, which runs: parcels_azores_eNATL60_ntide_Apr_monthly.py
-
Output(s):
- Figure 05: Probability density functions of the surface particle accumulation (from the 2D, 0.1◦ binned histograms) after 28 days of advection. Results of the non-tidal simulation are shown in blue and from the tidal in red. Vertical, dashed lines indicate the maximum value.
-
-
-
Input(s):
- Skewness npz skew_2D_months_subregion_v02.npz. Obtained from:
- Monthly nectdf simulation files per tidal simulation, e.g.: Particle_AZO_grid100000p_ntides_0401_hourly_MONTH.nc. Obtained from running parcels_azores_eNATL60_ntide_Apr_monthly.sh, which runs: parcels_azores_eNATL60_ntide_Apr_monthly.py
-
Output(s):
- Figure 06: Skewness temporal evolution in time for each month for non-tidal (blue) and tidal (red) simulations. Values in the text box are the variance of the skewness from the beginning of the month until the vertical line. The vertical line indicates the moment in time when any of the particles released at the boundary of the region first enters the subregion (see Section 2.3.2.2). Bottom plot shows the skewness value at the vertical line.
-
-
-
Input(s):
- bFTLE npz files: FTLE_b_nT_Jan_biw_w01_v02.npz. Obtained from:
-
Output(s):
- Figure 07: Comparison of attracting LCS structures (bFTLEs) on day 1 of each month from July to December 2009, for the non-tidal (left) and the tidal simulation (right).
- Figure 08: Comparison of attracting LCS structures (bFTLEs) on day 1 of each month from January to June 2010, for the non-tidal (left) and the tidal simulation (right).
- Figure 09: Top: Percentage of virtual particles with backward FTLE >0.5 days⁻¹. Bottom: Skewness values of the backward FTLE fields.
-
-
-
Input(s):
- Distances:
- Monthly netcdfs: dist_km_Jul_nT.nc. Obtained from running dist_km_Jul_nT.py ran from .sh files:
- Monthly netcdfs: dist_km_Jul_wT.nc. Obtained from running dist_km_Jul_wT.py ran from .sh files:
- Monthly netcdfs: dist_tot_km_nT_Jul.nc. Obtained from running dist_tot_km_monthly_nT.py ran from .sh file:
- Monthly netcdfs: dist_tot_km_wT_Jul.nc. Obtained from running dist_tot_km_monthly_wT.py ran from .sh file:
- Monthly nectdf simulation files per tidal simulation, e.g.: Particle_AZO_grid100000p_ntides_0401_hourly_MONTH.nc. Obtained from running parcels_azores_eNATL60_ntide_Apr_monthly.sh, which runs: parcels_azores_eNATL60_ntide_Apr_monthly.py
- GKDE npz monthly files: KDE_Particle_AZO_grid100000p_ntides_0701_hourly_MONTH.npz. Obtained from:
- Files e.g.:kde_parcels_azores_eNATL60_monthly_Apr_May.sh, which call the function kde_func.py
- bFTLE npz files: FTLE_b_nT_Jan_biw_w01_v02.npz. Obtained from:
- Distances:
-
Output(s):
- Figure 10: Percentage difference with tidal forcing per month for each diagnostic calculated. From top to bottom: cumulative distance (CD), absolute distance (AD), percentage of particles with high Gaussian Kernel Density Estimation (GKDE ≥ 0.008) and percentage of particles with high backward Finite Time Lyapunov Exponents (bFTLE ≥ 0.5 days⁻¹).
-
Appendix figures:
-
-
Input(s):
- bFTLE npz files: FTLE_b_nT_Jan_biw_w01_v02.npz. Obtained from:
-
Output(s):
- Figure A1: Probability density function of the backward FTLE fields on day 1 of each month for the no tidal forcing (blue) and tidal forcing (red) simulations. The vertical black line shows the threshold used at 0.5 days⁻¹.
-
Supplementary figures:
-
-
Input(s):
- bFTLE npz files: FTLE_b_nT_Jan_biw_w01_v02.npz. Obtained from:
-
Output(s):
-
-
Monthly simulations: One simulation file per month and tidal simulation, e.g.:
-
parcels_azores_eNATL60_ntide_Apr_monthly.sh, which runs: parcels_azores_eNATL60_ntide_Apr_monthly.py
-
Input(s): eNATL60 model surface u and v outputs. Data available upon request.
-
Output(s): Monthly nectdf simulation files: Particle_AZO_grid100000p_ntides_0401_hourly_MONTH.nc
-
-
Biweekly simulations:
- Simulations launched from .sh files : Particle_AZO_grid_Jul_w01_biweekly_hourly_BACK_v02.sh, which call the function: parcels_azores_eNATL60_v02.py
- Input(s): eNATL60 model surface u and v outputs. Data available upon request.
- Output(s): Bieekly nectdf simulation files: Particle_AZO_grid_ntides_0101_biweekly_hourly_BACK_v02.nc
-
GKDE: Ran from e.g.: kde_parcels_azores_eNATL60_monthly_Apr_May.sh, which call the function kde_func.py.
- Input(s):
- d
- Output(s):
- GKDE npz monthly files: KDE_Particle_AZO_grid100000p_ntides_0701_hourly_MONTH.npz.
- Input(s):
-
Skewness: 2021-02-22_Azores_simus_100000p_hists_MONTHLY_allMONTHS_subregion_v02_SKEWNESS.ipynb
- Input(s):
- Monthly nectdf simulation files: Particle_AZO_grid100000p_ntides_0401_hourly_MONTH.nc. Obtained from:
- Output(s): skew_2D_months_subregion_v02.npz
- Input(s):
-
bFTLEs: Calculated monthly from:
- 2021-10-12_FTLE_back_season_subregion_v02_BIWEEKLY_comparison_CALCS.ipynb
- 2022-01-18_FTLE_back_season_subregion_v02_BIWEEKLY_other_MONTHS_comparison_CALCS.ipynb
- Input(s):
- Biweekly nectdf simulation files: Particle_AZO_grid_ntides_0101_biweekly_hourly_BACK_v02.nc
- Output(s):
- bFTLE npz files: FTLE_b_nT_Jan_biw_w01_v02.npz.