Skip to content

Commit

Permalink
removed test_args
Browse files Browse the repository at this point in the history
  • Loading branch information
srikanth-kumar committed Nov 5, 2024
1 parent 37cc527 commit 0891539
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions geoips/plugins/modules/procflows/config_based.py
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ def call(fnames, command_line_args=None):
LOG.interactive(
"Reading background datasets using reader '%s'...", bg_reader_plugin.name
)
bg_xobjs = bg_reader_plugin(bg_files, metadata_only=True, **bg_reader_kwargs)
bg_xobjs = bg_reader_plugin(bg_files, metadata_only=True)
prod_plugin = products.get_plugin(
bg_xobjs["METADATA"].source_name,
bg_product_name,
Expand All @@ -1016,7 +1016,7 @@ def call(fnames, command_line_args=None):
LOG.interactive(
"Reading metadata from datasets using reader '%s'...", reader_plugin.name
)
xobjs = reader_plugin(fnames, metadata_only=True, **reader_kwargs)
xobjs = reader_plugin(fnames, metadata_only=True)
source_name = xobjs["METADATA"].source_name

if not produce_current_time(config_dict, xobjs["METADATA"], output_dict_keys=None):
Expand All @@ -1041,7 +1041,7 @@ def call(fnames, command_line_args=None):
pid_track.print_mem_usg(logstr="MEMUSG", verbose=False)
LOG.interactive("Reading full dataset using reader '%s'...", reader_plugin.name)
xobjs = reader_plugin(
fnames, metadata_only=False, chans=variables, **reader_kwargs
fnames, metadata_only=False, chans=variables,
)

pid_track.print_mem_usg(logstr="MEMUSG", verbose=False)
Expand Down
3 changes: 0 additions & 3 deletions geoips/plugins/modules/readers/amsr2_netcdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@ def call(
chans=None,
area_def=None,
self_register=False,
test_arg="AMSR2 Default Test Arg",
):
"""
Read AMSR2 netcdf data products.
Expand Down Expand Up @@ -319,8 +318,6 @@ def call(
Additional information regarding required attributes and variables
for GeoIPS-formatted xarray Datasets.
"""
LOG.interactive("AMSR2 reader test_arg: %s", test_arg)

ingested = []
for fname in fnames:
# full_xarray = xarray.open_dataset(str(fname))
Expand Down

0 comments on commit 0891539

Please sign in to comment.