Skip to content

Conversation

@VeckoTheGecko
Copy link
Contributor

@VeckoTheGecko VeckoTheGecko commented Oct 25, 2024

New/updated reprs for:

  • Variable
  • ParticleFile
  • Field
  • VectorField
  • ParticleSet
  • FieldSet

contributes to #1693

@VeckoTheGecko VeckoTheGecko changed the title Updated reprs for New and updated reprs for Variable, ParticleFile, Field, and ParticleSet Oct 25, 2024
Copy link
Member

@erikvansebille erikvansebille left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice start to better printing! See below a few comments. I'll also trigger them in the Parcels tutorial notebook, so that users see these print statements in action

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The _warn_outputdt_release_desync() call should be fixed by #1744

But it would be nice if the particles are listed one per line in the other cells?

Multiline particle printing
Update function naming
FieldSet repr
@VeckoTheGecko VeckoTheGecko changed the title New and updated reprs for Variable, ParticleFile, Field, and ParticleSet New and updated reprs for Variable, ParticleFile, Field, VectorField, and ParticleSet Oct 28, 2024
@erikvansebille erikvansebille merged commit e728d46 into master Oct 28, 2024
@erikvansebille erikvansebille deleted the better-prints branch October 28, 2024 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants