# Example of using the readfile function to read # in SWAN HSR L0/multi_freq K0 txt files. import pprint from hsr_k0_readfile import read def main(): # set filename to read f = "20230901_mean-hsr_k0_v01.txt" # read data hsr = read(f) # show us the data quickly pprint.pprint(hsr["metadata"]) print("\n") print(hsr["data"]) # ---------- if (__name__ == "__main__"): main()