NRL-Plasma-Physics-Division / turbopy

A lightweight computational physics framework, based on the organization of turboWAVE. Implements a "Simulation, PhysicsModule, ComputeTool, Diagnostic" class hierarchy.
https://turbopy.readthedocs.io/
Creative Commons Zero v1.0 Universal
10 stars 18 forks source link

modify history diagnostic to accept xarray.Dataset #155

Closed arichar6 closed 4 years ago

arichar6 commented 4 years ago

This PR is a modification to the histories diagnostic. The added code allows the diagnostic to accept a Dataset object as a "trace". Each Dataarray in the dataset will be added as a separate trace to the output.