From cddbc1614df43b4170e993f69c7fa062fb3ddd79 Mon Sep 17 00:00:00 2001 From: "X. N. Chu" Date: Tue, 29 Dec 2020 15:44:29 -0700 Subject: [PATCH] Add keyword get_ignore_data --- pytplot/importers/cdf_to_tplot.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pytplot/importers/cdf_to_tplot.py b/pytplot/importers/cdf_to_tplot.py index 6c7c4205..5b87327d 100644 --- a/pytplot/importers/cdf_to_tplot.py +++ b/pytplot/importers/cdf_to_tplot.py @@ -24,6 +24,7 @@ def cdf_to_tplot(filenames, varformat=None, get_support_data=False, + get_ignore_data=False, prefix='', suffix='', plot=False, merge=False, center_measurement=False, notplot=False, varnames=[]): """ @@ -102,7 +103,10 @@ def cdf_to_tplot(filenames, varformat=None, get_support_data=False, varformat = ".*" if get_support_data: var_type.append('support_data') + if get_ignore_data: + var_type.append('ignore_data') + varformat = varformat.replace("*", ".*") var_regex = re.compile(varformat) filenames.sort()