Skip to content

Zarr output too many files #1789

Discussion options

You must be logged in to vote

Hi @SeanBensadon, thanks for your question. You can change the size of each parr-chunk using the chunks keyword when you create your ParticleFile object, see also the "note on output chunking" at https://docs.oceanparcels.org/en/latest/examples/tutorial_parcels_structure.html#4.-Execution-and-output

Note that there was also a bug in Parcels that has impacted your workflow, where you release particles at different times. It has been patched (#1788) and will become part of the next version 3.1.1. But in any case, setting your own chunks would help

A minimum for you could be

# Define output file path
output_file = pset.ParticleFile(
    name=f'/scratch/pawsey0106/sbensadon/OceanParcels/Coral…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SeanBensadon
Comment options

Answer selected by SeanBensadon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants