Skip to content

Make kernels a required argument to pset.execute() #2278

@VeckoTheGecko

Description

@VeckoTheGecko

I personally think that requiring the pyfunc argument as well as the dt argument is actually better than not; I couldn't find a single example in the documentation that didn't have kernels explicitly specified when calling ParticleSet.execute() (so as far as I can tell, this wouldn't break any examples). But this does go beyond the original issue #2136, so feedback welcome.

Originally posted by @andrew-s28 in #2274 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for new parcels developershackathon2025Good issues for the hackathon at the Parcels anniversary event in 2025.help wantedv4

    Type

    No type

    Projects

    Status

    Done

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions