Skip to content

Feature/simdb database#535

Open
bpatel2107 wants to merge 11 commits intounstablefrom
feature/simdb_database
Open

Feature/simdb database#535
bpatel2107 wants to merge 11 commits intounstablefrom
feature/simdb_database

Conversation

@bpatel2107
Copy link
Copy Markdown
Collaborator

This write a Yaml file that can be ingested by SimDB for a gyrokinetic database. This stores the following data in the yaml which should allow for a searchable database

  • GK input file names
  • GK output file names
  • IMAS IDS (generated by pyro)*
  • LocalGeometry
  • LocalSpecies
  • Numerics
  • Convention
  • Convergence
  • GKOutput

Note the last two need to worked on. I have added a linear diagnostic Convergence that does a series of convergence tests for a linear sim, which are basically one useful number to describe something (like the field end ratios which show the ratio of a field at the end to its peak, the number should be small).

Something simulation should be done for nonlinear simulations though that should be discussed (like standard deviation from average, peaks of spectra, grid scale oscillations). These should all eventually be added.

Further what GKOutput data should be added to this. Maybe time averages (or final time slice for linear) of

  • Fluxes (broken down by field)
  • Field amplitude (averaged/integrated)
  • Eigenvalues (linear)
  • Flux ratios

Many more could be added but the aim of this is for searchable data so we shouldn't go crazy.

@FelixWattsYork apparently I already added the jacobian into here for and forgot about it...

Note IDS is generated by idspy-toolkit and not imaspy so we do need to switch over at some point!

@bpatel2107 bpatel2107 requested a review from fcasson March 12, 2026 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants