webbpsf icon indicating copy to clipboard operation
webbpsf copied to clipboard

Add opdtable as an optional paramater to monthly_trending_plot()

Open kulpster85 opened this issue 3 years ago • 0 comments

This feature request is to allow external utilities (alternative to MAST Query) to utilize the monthly trending plot to pass in the opdtable as a parameter to monthly_trending_plot.

def monthly_trending_plot(year, month, verbose=True, instrument='NIRCam', filter='F200W', vmax=200):

This feature request would allow the opdtable to be provided which would contain the OPD file paths to circumvent calls under the hood that use the Mast Query API within WebbPSF:

webbpsf/trending.py:814 inst.load_wss_opd(opd_fn, verbose=verbose) webbpsf/webbpsf_core.py:1446 filename = webbpsf.mast_wss.mast_retrieve_opd(filename, output_path = output_path, verbose=verbose)

kulpster85 avatar Oct 20 '22 19:10 kulpster85