Skip to content

Parcels v1.0.1: a Lagrangian Ocean Analysis tool for the petascale age

Choose a tag to compare

@erikvansebille erikvansebille released this 02 Feb 15:08
ea516c7

Parcels v1.0.1 builds on the previous v1.0 release. Major changes since then:

  • Changes to the arguments of ParticleSet.execute(): (#289)
    • the interval argument has been renamed outputdt and should now be set when creating the ParticleFile object
    • the show_movie argument has been split into a moviedt argument (to set the frequency of the animation) and a movie_background_field argument that determines which background field to show (either a Field object, or the string vector) or the default None for no background field
    • endtime cannot be a timedelta object anymore. Only valid formats for endtime are a datetime object or a double. If you want to give a timedelta object, use the runtime argument
    • Except for dt, all arguments controlling intervals should always be positive, regardless of whether you run in forward or backward mode. Hence, to change the direction of a run, the only thing to change is to negate dt
  • Renaming of old FieldSet.from_nemo() to FieldSet.from_parcels() and new FieldSet.from_nemo to handle Curvilinear NEMO grids (#285)
  • Adding of a timer class to profile CPU time (#288)
  • Adding of option ParticleFile(..., write_ondelete=True) to write only particle data when particle is deleted (#290)
  • Adding option to write Kernels directly as C-functions, for JITParticles (#278)