OpenDrift / opendrift

Open source framework for ocean trajectory modelling
https://opendrift.github.io
GNU General Public License v2.0
246 stars 120 forks source link

Fixing environment fields #449

Closed Oklyagina closed 3 years ago

Oklyagina commented 3 years ago

Good evening,

I am given a .nc file with the following available time: image The OceanDrift model uses fields of temperatures, velocities, etc. from this file only for the first time step in the simulation. Particles are stuck on one place after this time step.

Is it possible to somehow fix these fields for the whole time of simulation, or maybe predict their values for future steps using OpenDrift?

knutfrode commented 3 years ago

You can write r.always_valid = True before starting the simulation, where r is the actual reader.

Oklyagina commented 3 years ago

Thanks a lot!