Skip to content

Commit

Permalink
MAINT: remove unnecessary kwargs
Browse files Browse the repository at this point in the history
Remove unneeded kwargs from the instrument instantiation.
  • Loading branch information
aburrell committed Dec 1, 2023
1 parent 4b82d0f commit 830dcf9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pysatSpaceWeather/instruments/methods/kp_ap.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 830dcf9

Please sign in to comment.