kuchtact / WiPPLPy

Easily access data from plasma devices in the Wisconsin Plasma Physics Laboratory (WiPPL).
https://wipplpy.readthedocs.io/en/latest/
2 stars 4 forks source link

Reduce remote-connection object creation to support ensembling #35

Open ciortiz opened 1 month ago

ciortiz commented 1 month ago

The current script for connection objects has it so that a remote connection is created at every instance wherein a dataset is being retrieved (the so-called _remote_connect under the generic MDSplus connection object). Adjust this code so that a connection is only created when necessary to support later implementation of ensembling functionality.