SlideRuleEarth / sliderule-python

SlideRule Earth Example Notebooks: On-demand, cloud-based processing of satellite mission data (NASA ICESat-2, GEDI, ArcticDEM/REMA, HLS)
https://slideruleearth.io/rtd/
BSD 3-Clause "New" or "Revised" License
41 stars 21 forks source link

Streamline private cluster setup in client #126

Closed jpswinski closed 1 year ago

jpswinski commented 1 year ago

Currently, the call to icesat2.init only supports private clusters that are already running and where the user has their username and password in a .netrc file or in an environment variable. The following does not work:

The icesat2.init function should support passing through the username and password AND should also perform an aliveness check on the cluster, and if the cluster is not up - it should "wake" the cluster up automatically, using a parameter that defaults to one for the number of nodes.

jpswinski commented 1 year ago

f91540b - updates to init function for desired nodes

jpswinski commented 1 year ago

We are not going to pass through the username and password because we want to discourage this way of providing credentials in favor of the netrc file or environment variables.