Skip to content

Subsetting files that are already downloaded (get_files2sub)

Will Norris edited this page Aug 9, 2018 · 1 revision

If you already have some files that you want to subset, then you can use the get_files2sub function to add files to the classes subset lists.

data_dir = '/data'
swepy.get_files2sub(dir = data_dir)
swepy.subset()

This will then go into your data directory and populate both the 19H and 37H file lists to be used by the subsetter.