Problem trying to replicate example simulations #28
Replies: 3 comments 1 reply
-
|
Hi @martoconnh, thank you for your interest in using You are correct, you will need to download the hydrodynamic model data, biogeochemical model data, wind data, and wave data. We've developed I'll be writing more documentation soon on where to download this data, and how it is used by You can of course (with slight modifications where necessary) use your own hydrodynamic model data, along with a biogeochemistry model data (required for the biofouling behaviour), and wind and wave data (required for wind-induced drift, and Stokes drift behaviours, respectively). Expect more documentation soon to help explain all this, but in the meantime please let me know if I can help! Cheers, |
Beta Was this translation helpful? Give feedback.
-
|
Hi, I was also trying to test the Italy example to familiarise myself with plasticparcels even though I intend to try over another regional domain. How about using Hydrodynamic_data and ERA5 wind and waves to begin with, as I am not interested in having biofouling as of now. It would be great if you could help with the readme regarding the preparation of the input data (temporal frequency, spatial resolution of era5 v/s hydrodynamic, etc.). Thanks. |
Beta Was this translation helpful? Give feedback.
-
|
Hi everyone! I’m currently trying to run the Italy coast example using hydrodynamic data from Copernicus for January 2020 and waves + wind data from the links provided on the PlasticParcels documentation page for the same data frame. After some debugging, I noticed that the example seemed to require biogeochemical data (which I don’t intend to use) as well as vertical velocity W values, which I could not find anywhere. To work around this, I created some dummy values. I also received warnings about mismatched latitude orientation, so I attempted to fix this by manually adjusting the latitudes for waves_latfixed.nc and wind_latfixed.nc before using them on the tutorial. However, when I run the example, the results look incorrect. The trajectories appear as straight lines, and the particles in the second plot appear on land and are very dispersed. It seems like the FieldSet may not be reading the data properly, but I haven’t been able to identify where the issue is. I’m sorry if this is a beginner mistake. I just wanted to run the Italy coast example to understand the workflow using OceanParcels / PlasticParcels, but I’m struggling to see how to fix this. I will leave here my code, terminal output, the JSON settings files and the resulting final plot.
Thank you in advance to anyone who takes the time to help! |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there!
I am just starting with PlasticParcels, so I wanted to try by replicating the Italy example on your website. But I am getting the following error when doing
fieldset = pp.constructors.create_fieldset(settings):I'm still not really sure about how everything works, but may this be happening because I have to download the hydrodynamic data that are declared on the settings.json file for this particular case?
I don't really think this might be the problem, as I would have got an error indicating that these input files could not be found in my device. But I figured I'd ask anyway. Are these databases intrinsic of OceanParcels or something like that?
Thank you !! (And sorry if this is a beginner mistake)
Beta Was this translation helpful? Give feedback.
All reactions