From 830dcf926c5e34e91f9caedc7ff03e4152a907bf Mon Sep 17 00:00:00 2001 From: Angeline Burrell Date: Fri, 1 Dec 2023 17:41:28 -0500 Subject: [PATCH] MAINT: remove unnecessary kwargs Remove unneeded kwargs from the instrument instantiation. --- pysatSpaceWeather/instruments/methods/kp_ap.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pysatSpaceWeather/instruments/methods/kp_ap.py b/pysatSpaceWeather/instruments/methods/kp_ap.py index b6498bbf..01d9ce6b 100644 --- a/pysatSpaceWeather/instruments/methods/kp_ap.py +++ b/pysatSpaceWeather/instruments/methods/kp_ap.py @@ -584,12 +584,11 @@ def combine_kp(standard_inst=None, recent_inst=None, forecast_inst=None, "provide starting and ending times"))) # Initialize the output instrument - kp_inst = pysat.Instrument(labels=all_inst[0].meta_labels) + kp_inst = pysat.Instrument() kp_inst.inst_module = pysat_sw.instruments.sw_kp kp_inst.tag = tag kp_inst.date = start kp_inst.doy = np.int64(start.strftime("%j")) - kp_inst.meta = pysat.Meta(labels=kp_inst.meta_labels) initialize_kp_metadata(kp_inst.meta, 'Kp', fill_val=fill_val) kp_times = list()