notebooks icon indicating copy to clipboard operation
notebooks copied to clipboard

Improve subprocess CRDS calls for easier debugging

Open mcara opened this issue 4 years ago • 2 comments

Recently there were a couple of helpdesk issues (INC0155647 and INC0156501) when users reported errors with running CRDS commands using subprocess. One difficulty in understanding the cause of the errors was that suprocess in some notebooks is not set up to output errors. This PR modifies calls to subprocess.check_output()so that messages from CRDS can be read in the notebook.

mcara avatar Jun 23 '20 18:06 mcara

I don't know if it is relevant or useful here or not, but here's an example of using the CRDS API: https://github.com/spacetelescope/mirage/blob/master/mirage/reference_files/crds_tools.py#L141

bhilbert4 avatar Jun 23 '20 20:06 bhilbert4

I would say that I just want to improve one aspect of existing notebooks to address a specific issue. If there is desire to re-design the notebooks, that could be done too as a separate PR.

mcara avatar Jun 23 '20 20:06 mcara