Coverage for C: \ Users \ peaco \ OneDrive \ Documents \ GitHub \ mt_metadata \ mt_metadata \ data \ __init__.py: 100%

33 statements  

« prev     ^ index     » next       coverage.py v7.13.1, created at 2026-01-10 00:11 -0800

1""" 

2Example Data 

3""" 

4 

5from pathlib import Path 

6 

7# test data files 

8# assume tests is on the root level of mt_metadata 

9DATA_DIR = Path(__file__).absolute().parent 

10 

11### Station XML files 

12STATIONXML_01 = DATA_DIR.joinpath("stationxml/fdsn_no_mt_info.xml") 

13STATIONXML_02 = DATA_DIR.joinpath("stationxml/mtml_single_station.xml") 

14STATIONXML_MAGNETIC = DATA_DIR.joinpath("stationxml/mtml_magnetometer_example.xml") 

15STATIONXML_ELECTRIC = DATA_DIR.joinpath("stationxml/mtml_electrode_example.xml") 

16STATIONXML_FAP = DATA_DIR.joinpath("stationxml/station_xml_with_fap_example.xml") 

17STATIONXML_FIR = DATA_DIR.joinpath("stationxml/station_xml_with_fir_example.xml") 

18STATIONXML_MULTIPLE_NETWORKS = DATA_DIR.joinpath( 

19 "stationxml/multiple_networks_example.xml" 

20) 

21 

22### MT EXPERIMENT files 

23MT_EXPERIMENT_SINGLE_STATION = DATA_DIR.joinpath( 

24 "mt_xml/single_station_mt_experiment.xml" 

25) 

26MT_EXPERIMENT_MULTIPLE_RUNS = DATA_DIR.joinpath("mt_xml/multi_run_experiment.xml") 

27MT_EXPERIMENT_MULTIPLE_RUNS_02 = DATA_DIR.joinpath("mt_xml/multi_run_experiment_02.xml") 

28 

29### Transfer function files 

30TF_ZMM = DATA_DIR.joinpath("transfer_functions/tf_zmm.zmm") 

31TF_ZSS_TIPPER = DATA_DIR.joinpath("transfer_functions/tf_zss_tipper.zss") 

32TF_JFILE = DATA_DIR.joinpath("transfer_functions/tf_jfile.j") 

33TF_XML = DATA_DIR.joinpath("transfer_functions/tf_xml.xml") 

34TF_XML_NO_SITE_LAYOUT = DATA_DIR.joinpath( 

35 "transfer_functions/tf_xml_no_site_layout.xml" 

36) 

37TF_XML_COMPLETE_REMOTE_INFO = DATA_DIR.joinpath( 

38 "transfer_functions/tf_xml_complete_remote_info.xml" 

39) 

40TF_XML_WITH_DERIVED_QUANTITIES = DATA_DIR.joinpath( 

41 "transfer_functions/tf_xml_with_derived_quantities.xml" 

42) 

43TF_POOR_XML = DATA_DIR.joinpath("transfer_functions/tf_poor_xml.xml") 

44TF_XML_MULTIPLE_ATTACHMENTS = DATA_DIR.joinpath( 

45 "transfer_functions/tf_xml_multiple_attachments.xml" 

46) 

47TF_EDI_PHOENIX = DATA_DIR.joinpath("transfer_functions/tf_edi_phoenix.edi") 

48TF_EDI_EMPOWER = DATA_DIR.joinpath("transfer_functions/tf_edi_empower.edi") 

49TF_EDI_METRONIX = DATA_DIR.joinpath("transfer_functions/tf_edi_metronix.edi") 

50TF_EDI_CGG = DATA_DIR.joinpath("transfer_functions/tf_edi_cgg.edi") 

51TF_EDI_QUANTEC = DATA_DIR.joinpath("transfer_functions/tf_edi_quantec.edi") 

52TF_EDI_RHO_ONLY = DATA_DIR.joinpath("transfer_functions/tf_edi_rho_only.edi") 

53TF_EDI_SPECTRA = DATA_DIR.joinpath("transfer_functions/tf_edi_spectra_in.edi") 

54TF_EDI_SPECTRA_OUT = DATA_DIR.joinpath("transfer_functions/tf_edi_spectra_out.edi") 

55TF_EDI_NO_ERROR = DATA_DIR.joinpath("transfer_functions/tf_edi_no_error.edi") 

56TF_AVG = DATA_DIR.joinpath("transfer_functions/tf_avg.avg") 

57TF_AVG_TIPPER = DATA_DIR.joinpath("transfer_functions/tf_avg_tipper.avg") 

58TF_AVG_NEWER = DATA_DIR.joinpath("transfer_functions/tf_avg_newer.avg")