OceanParcels / Parcels

Main code for Parcels (Probably A Really Computationally Efficient Lagrangian Simulator)
https://www.oceanparcels.org
MIT License
297 stars 139 forks source link

Avoiding pytest suite side-effects (dataset saving) #1764

Open VeckoTheGecko opened 1 week ago

VeckoTheGecko commented 1 week ago

Running the test suite creates the following zarr files:

./Peninsula.zarr
./MIT_particles_scipy.zarr
./nemo_particles.zarr
./DecayingMovingParticle.zarr
./StommelParticle.zarr
./EddyParticle.zarr
./RadialParticle.zarr
./MIT_particles_jit.zarr

cluttering the working directory. Changing the tests to clean up these files after the tests have run (e.g., by using temporary files) would improve the quality of the test suite.