Building an MTCollection
The first step to analyzing a set of transfer functions is to load them into an MTCollection which is just a wrapper around an MTH5 file. The advantage to doing this is that you only have to do this once from the various transfer functions that you have, which might include various flavors of EDI, EMTFXML, J-files, Z-files, AVG-files, etc. The other advantage is that now you have a database to work with: a single file where data is readily accessible vs. multiple ASCII files that need to
be read in each time you want to do something.
Using the class MT any[1] transfer function can be read into a generic transfer function container MT. If you want to adjust survey.id or other metadata attributes you can do it from the MT object.
[^](#fn1) It works 100% of the time 50% of the time. Most transfer function files are supported but if you find one is not raise an issue
Test Data
Test data can be found at mtpy-data. Installation instructions are included in README.
[1]:
from mtpy_data import GRID_LIST, PROFILE_LIST
1. Initiate MTCollection
First initiate an MTCollection, here we will save to our current working directory.
[2]:
from pathlib import Path
from mtpy import MT, MTCollection
[3]:
mtc = MTCollection()
[4]:
mtc.open_collection(Path().cwd().joinpath("test_mt_collection.h5"))
26:05:06T23:12:20 | INFO | line:900 |mth5.mth5 | _initialize_file | Initialized MTH5 0.2.0 file c:\Users\peaco\OneDrive\Documents\GitHub\mtpy-v2\docs\source\notebooks\test_mt_collection.h5 in mode a
26:05:06T23:12:20 | WARNING | line:441 |mtpy.core.mt_collection | open_collection | Failed to initialize mt_data: Invalid HDF5 object reference
2. Load Transfer Functions
Step one is locating all the transfer function files you want to read in. Here we will read in a couple different folders. If you have a couple different sets of data from different surveys, the MTCollection will store each in a survey group named by the MT.survey_metadata.id. However, this isn’t a common attribute in EDI files, so if you want to separate them out add the correct survey ID.
Note: Loading transfer functions into an MTCollection can take some time so if you have over 100 be patient. But you only have to do this once.
2a. Load Profile Data
The profile data does not have a survey.id in the EDI files so we will add one.
[5]:
%%time
for fn in PROFILE_LIST:
mt_object = MT()
mt_object.read(fn)
mt_object.survey_metadata.id = "profile"
mtc.add_tf(mt_object)
26:05:06T23:12:20 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:20 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:20 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:20 | WARNING | line:1479 |mth5.mth5 | get_survey | /Experiment/Surveys/profile does not exist, check survey_list for existing names.
26:05:06T23:12:21 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added profile.15125A
26:05:06T23:12:21 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:21 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:21 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:21 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added profile.15126A
26:05:06T23:12:21 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:21 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:21 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:22 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added profile.15127A
26:05:06T23:12:22 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:22 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:22 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:22 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added profile.15128A
26:05:06T23:12:22 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:22 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:22 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:23 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added profile.15129A
26:05:06T23:12:23 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:23 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:23 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:23 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added profile.15130A
26:05:06T23:12:23 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:23 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:23 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:24 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added profile.16122A
26:05:06T23:12:24 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:24 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:24 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:24 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added profile.16123A
26:05:06T23:12:25 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:25 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:25 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:25 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added profile.16124A
26:05:06T23:12:25 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:25 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:25 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:25 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added profile.16125A
26:05:06T23:12:26 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:26 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:26 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:26 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added profile.16126A
26:05:06T23:12:26 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:26 | WARNING | line:591 |mt_metadata.base.metadata | update | Cannot update <class 'mt_metadata.timeseries.auxiliary.Auxiliary'> with <class 'mt_metadata.timeseries.magnetic.Magnetic'>
26:05:06T23:12:26 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:27 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added profile.16127A
CPU times: total: 5.88 s
Wall time: 6.53 s
2b. Load Grid Data
The grid data also does not have a survey.id so we will add one.
[6]:
%%time
for fn in GRID_LIST:
mt_object = MT()
mt_object.read(fn)
mt_object.survey_metadata.id = "grid"
mtc.add_tf(mt_object)
26:05:06T23:12:27 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:27 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:27 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:27 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:27 | WARNING | line:1479 |mth5.mth5 | get_survey | /Experiment/Surveys/grid does not exist, check survey_list for existing names.
26:05:06T23:12:27 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv100
26:05:06T23:12:27 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:27 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:27 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:27 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:28 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv101
26:05:06T23:12:28 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:28 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:28 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:28 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:28 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv102
26:05:06T23:12:28 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:28 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:28 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:28 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:29 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv103
26:05:06T23:12:29 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:29 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:29 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:29 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:29 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv104
26:05:06T23:12:29 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:29 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:29 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:29 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:30 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv105
26:05:06T23:12:30 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:30 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:30 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:30 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:30 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv106
26:05:06T23:12:30 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:30 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:30 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:30 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:31 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv107
26:05:06T23:12:31 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:31 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:31 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:31 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:31 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv108
26:05:06T23:12:31 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:31 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:31 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:31 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:32 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv109
26:05:06T23:12:32 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:32 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:32 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:32 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:32 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv110
26:05:06T23:12:32 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:32 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:32 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:32 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:33 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv111
26:05:06T23:12:33 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:33 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:33 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:33 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:33 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv112
26:05:06T23:12:33 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:33 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:33 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:33 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:34 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv113
26:05:06T23:12:34 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:34 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:34 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:34 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:34 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv114
26:05:06T23:12:34 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:34 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:35 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:35 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:35 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv115
26:05:06T23:12:35 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:35 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:35 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:35 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:35 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv116
26:05:06T23:12:35 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:36 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:36 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:36 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:36 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv117
26:05:06T23:12:36 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:36 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:36 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:36 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:36 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv118
26:05:06T23:12:37 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:37 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:37 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:37 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:37 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv119
26:05:06T23:12:37 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:37 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:37 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:37 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:37 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv120
26:05:06T23:12:38 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:38 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:38 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:38 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:38 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv121
26:05:06T23:12:38 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:38 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:38 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:38 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:38 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv122
26:05:06T23:12:39 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:39 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:39 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:39 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:39 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv123
26:05:06T23:12:39 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:39 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:39 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:39 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:39 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv124
26:05:06T23:12:40 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:40 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:40 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:40 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:40 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv125
26:05:06T23:12:40 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:40 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:40 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:40 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:41 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv126
26:05:06T23:12:41 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:41 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:41 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:41 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:41 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv127
26:05:06T23:12:42 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:42 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:42 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:42 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:42 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv128
26:05:06T23:12:42 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:42 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:42 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:42 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:43 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv129
26:05:06T23:12:43 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:43 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:43 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:43 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:43 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv130
26:05:06T23:12:43 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:43 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:43 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:43 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:44 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv131
26:05:06T23:12:44 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:44 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:44 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:44 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:44 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv132
26:05:06T23:12:45 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:45 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:45 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:45 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:45 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv133
26:05:06T23:12:45 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:45 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:45 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:45 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:46 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv134
26:05:06T23:12:46 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:46 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:46 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:46 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:46 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv135
26:05:06T23:12:46 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:46 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:46 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:46 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:47 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv136
26:05:06T23:12:47 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:47 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:47 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:47 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:47 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv137
26:05:06T23:12:47 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:47 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:48 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:48 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:48 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv138
26:05:06T23:12:48 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:48 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:48 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:48 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:48 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv139
26:05:06T23:12:49 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:49 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:49 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:49 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:49 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv140
26:05:06T23:12:49 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:49 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:49 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:49 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:49 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv141
26:05:06T23:12:50 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:50 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:50 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:50 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:50 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv142
26:05:06T23:12:50 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:50 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:50 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:50 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:51 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv143
26:05:06T23:12:51 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:51 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:51 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:51 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:51 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv144
26:05:06T23:12:52 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:52 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:52 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:52 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:53 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv145
26:05:06T23:12:53 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:53 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:53 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:53 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:53 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv146
26:05:06T23:12:54 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:54 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:54 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:54 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:54 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv147
26:05:06T23:12:54 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:54 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:54 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:54 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:55 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv148
26:05:06T23:12:55 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:55 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:55 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:55 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:55 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv149
26:05:06T23:12:56 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:56 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:56 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:56 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:56 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv150
26:05:06T23:12:56 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:56 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:56 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:56 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:57 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv151
26:05:06T23:12:57 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:57 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:57 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:57 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:57 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv152
26:05:06T23:12:58 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:58 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:58 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:58 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:58 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv153
26:05:06T23:12:58 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:58 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:58 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:58 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:59 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv154
26:05:06T23:12:59 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:59 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:59 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:12:59 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:12:59 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv155
26:05:06T23:13:00 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:13:00 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:13:00 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:13:00 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:13:00 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv160
26:05:06T23:13:00 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:13:00 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:13:00 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:13:00 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:13:01 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv161
26:05:06T23:13:01 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts_per_kilometer_per_nanotesla' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:13:01 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:13:01 | WARNING | line:432 |mt_metadata.common.units | get_unit_from_df | Unit 'millivolts' not found in accepted units, setting to 'unknown'. If this is an error raise an issue to add a unit. If an error needs to be raised, set allow_none=False.
26:05:06T23:13:01 | WARNING | line:563 |mtpy.core.mt_collection | add_tf | If you are adding multiple transfer functions, suggest making a list of transfer functions first then adding the list using mt_collection.add_tf([list_of_tfs]). Otherwise adding transfer functions one by one will be slow.
26:05:06T23:13:01 | INFO | line:749 |mtpy.core.mt_collection | _from_mt_object | added grid.gv163
CPU times: total: 30.9 s
Wall time: 35 s
3. Working and Master Dataframes
MTCollection includes a summary table of the transfer functions that it contains in the form of a pandas.DataFrame, this is the MTCollection.master_dataframe. There is also a MTCollection.working_dataframe which is a subset of the master_dataframe that the user can specify. This allows the MTCollection to be a catch-all for all your transfer functions and then when you only want to work with a small subset from a certain survey or geographic area you can query the
master_dataframe to set the working_dataframe.
3a. Profile Working Dataframe
Here we will choose to work only with data that has a survey.id = 'profile'.
[7]:
mtc.working_dataframe = mtc.master_dataframe.loc[mtc.master_dataframe.survey == "profile"]
[8]:
mtc.working_dataframe
[8]:
| station | survey | latitude | longitude | elevation | tf_id | units | has_impedance | has_tipper | has_covariance | period_min | period_max | hdf5_reference | station_hdf5_reference | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 59 | 15125A | profile | -22.370806 | 149.188639 | 200.0 | 15125A | milliVolt per kilometer per nanoTesla | True | True | False | 0.000096 | 2.857143 | <HDF5 object reference> | <HDF5 object reference> |
| 60 | 15126A | profile | -22.370639 | 149.193500 | 200.0 | 15126A | milliVolt per kilometer per nanoTesla | True | True | False | 0.000096 | 2.857143 | <HDF5 object reference> | <HDF5 object reference> |
| 61 | 15127A | profile | -22.371028 | 149.198417 | 201.0 | 15127A | milliVolt per kilometer per nanoTesla | True | True | False | 0.000096 | 2.857143 | <HDF5 object reference> | <HDF5 object reference> |
| 62 | 15128A | profile | -22.370861 | 149.203306 | 200.0 | 15128A | milliVolt per kilometer per nanoTesla | True | True | False | 0.000096 | 2.857143 | <HDF5 object reference> | <HDF5 object reference> |
| 63 | 15129A | profile | -22.371083 | 149.208083 | 202.0 | 15129A | milliVolt per kilometer per nanoTesla | True | True | False | 0.000096 | 2.857143 | <HDF5 object reference> | <HDF5 object reference> |
| 64 | 15130A | profile | -22.371222 | 149.212972 | 201.0 | 15130A | milliVolt per kilometer per nanoTesla | True | True | False | 0.000096 | 2.857143 | <HDF5 object reference> | <HDF5 object reference> |
| 65 | 16122A | profile | -22.325611 | 149.174361 | 210.0 | 16122A | milliVolt per kilometer per nanoTesla | True | True | False | 0.000096 | 2.857143 | <HDF5 object reference> | <HDF5 object reference> |
| 66 | 16123A | profile | -22.325556 | 149.179056 | 213.0 | 16123A | milliVolt per kilometer per nanoTesla | True | True | False | 0.000096 | 2.857143 | <HDF5 object reference> | <HDF5 object reference> |
| 67 | 16124A | profile | -22.325694 | 149.184472 | 212.0 | 16124A | milliVolt per kilometer per nanoTesla | True | True | False | 0.000096 | 2.857143 | <HDF5 object reference> | <HDF5 object reference> |
| 68 | 16125A | profile | -22.325750 | 149.189306 | 219.0 | 16125A | milliVolt per kilometer per nanoTesla | True | True | False | 0.000096 | 2.857143 | <HDF5 object reference> | <HDF5 object reference> |
| 69 | 16126A | profile | -22.325806 | 149.194000 | 214.0 | 16126A | milliVolt per kilometer per nanoTesla | True | True | False | 0.000096 | 2.857143 | <HDF5 object reference> | <HDF5 object reference> |
| 70 | 16127A | profile | -22.325889 | 149.198861 | 220.0 | 16127A | milliVolt per kilometer per nanoTesla | True | True | False | 0.000096 | 2.857143 | <HDF5 object reference> | <HDF5 object reference> |
Plot station locations
Now that we have queried for only those stations in the ‘profile’ survey lets plot the station locations just for a sanity check. Looks like the 1600 line and 1500 line are different, so let’s pick just the 1500 line.
Warning: Southern hemisphere locations have issues with contextily and not sure why. Below is an example on how to change the provider. See contextily providers for more details.
[9]:
stations_plot = mtc.plot_stations(pad=.0001)
26:05:06T23:13:04 | WARNING | line:186 |mtpy.imaging.plot_stations | plot | Could not add base map because Tile URL resulted in a 404 error. Double-check your tile url:
https://basemap.nationalmap.gov/arcgis/rest/services/USGSTopo/MapServer/tile/14/9234/14981
Extract only the 15 line
[10]:
mtc.working_dataframe = mtc.working_dataframe.query('station.str.startswith("15")')
[11]:
mtc.working_dataframe
[11]:
| station | survey | latitude | longitude | elevation | tf_id | units | has_impedance | has_tipper | has_covariance | period_min | period_max | hdf5_reference | station_hdf5_reference | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 59 | 15125A | profile | -22.370806 | 149.188639 | 200.0 | 15125A | milliVolt per kilometer per nanoTesla | True | True | False | 0.000096 | 2.857143 | <HDF5 object reference> | <HDF5 object reference> |
| 60 | 15126A | profile | -22.370639 | 149.193500 | 200.0 | 15126A | milliVolt per kilometer per nanoTesla | True | True | False | 0.000096 | 2.857143 | <HDF5 object reference> | <HDF5 object reference> |
| 61 | 15127A | profile | -22.371028 | 149.198417 | 201.0 | 15127A | milliVolt per kilometer per nanoTesla | True | True | False | 0.000096 | 2.857143 | <HDF5 object reference> | <HDF5 object reference> |
| 62 | 15128A | profile | -22.370861 | 149.203306 | 200.0 | 15128A | milliVolt per kilometer per nanoTesla | True | True | False | 0.000096 | 2.857143 | <HDF5 object reference> | <HDF5 object reference> |
| 63 | 15129A | profile | -22.371083 | 149.208083 | 202.0 | 15129A | milliVolt per kilometer per nanoTesla | True | True | False | 0.000096 | 2.857143 | <HDF5 object reference> | <HDF5 object reference> |
| 64 | 15130A | profile | -22.371222 | 149.212972 | 201.0 | 15130A | milliVolt per kilometer per nanoTesla | True | True | False | 0.000096 | 2.857143 | <HDF5 object reference> | <HDF5 object reference> |
[12]:
station_plot = mtc.plot_stations(pad=.0001)
26:05:06T23:13:05 | WARNING | line:186 |mtpy.imaging.plot_stations | plot | Could not add base map because Tile URL resulted in a 404 error. Double-check your tile url:
https://basemap.nationalmap.gov/arcgis/rest/services/USGSTopo/MapServer/tile/15/18474/29963
3b. Grid Working DataFrame
Now lets get only the stations in the ‘grid’ survey and plot them.
[13]:
mtc.working_dataframe = mtc.master_dataframe.loc[mtc.master_dataframe.survey == "grid"]
[14]:
mtc.working_dataframe
[14]:
| station | survey | latitude | longitude | elevation | tf_id | units | has_impedance | has_tipper | has_covariance | period_min | period_max | hdf5_reference | station_hdf5_reference | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | gv100 | grid | 38.611381 | -118.535261 | 1437.400 | gv100 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 1 | gv101 | grid | 38.594561 | -118.351111 | 1540.550 | gv101 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 2 | gv102 | grid | 38.593692 | -118.276822 | 1554.800 | gv102 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 3 | gv103 | grid | 38.585283 | -118.202481 | 1543.900 | gv103 | unknown | True | True | False | 0.001302 | 1365.000061 | <HDF5 object reference> | <HDF5 object reference> |
| 4 | gv104 | grid | 38.596456 | -118.136547 | 1801.800 | gv104 | unknown | True | True | False | 0.001302 | 1365.000061 | <HDF5 object reference> | <HDF5 object reference> |
| 5 | gv105 | grid | 38.594131 | -118.071933 | 1901.600 | gv105 | unknown | True | True | False | 0.001302 | 1365.000061 | <HDF5 object reference> | <HDF5 object reference> |
| 6 | gv106 | grid | 38.598842 | -117.940803 | 1653.269 | gv106 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 7 | gv107 | grid | 38.612339 | -117.882392 | 1753.700 | gv107 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 8 | gv108 | grid | 38.691575 | -118.501819 | 1904.900 | gv108 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 9 | gv109 | grid | 38.721022 | -118.421311 | 1769.400 | gv109 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 10 | gv110 | grid | 38.672894 | -118.330589 | 1857.100 | gv110 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 11 | gv111 | grid | 38.683950 | -118.272311 | 1893.411 | gv111 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 12 | gv112 | grid | 38.693392 | -118.092872 | 1572.200 | gv112 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 13 | gv113 | grid | 38.660622 | -117.991272 | 1531.200 | gv113 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 14 | gv114 | grid | 38.695694 | -117.965139 | 1542.400 | gv114 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 15 | gv115 | grid | 38.694236 | -117.872453 | 1625.700 | gv115 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 16 | gv116 | grid | 38.772536 | -118.499314 | 1642.800 | gv116 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 17 | gv117 | grid | 38.827428 | -118.423014 | 1505.000 | gv117 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 18 | gv118 | grid | 38.780817 | -118.352297 | 1445.286 | gv118 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 19 | gv119 | grid | 38.793572 | -118.284242 | 1394.190 | gv119 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 20 | gv120 | grid | 38.834919 | -118.099611 | 1304.800 | gv120 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 21 | gv121 | grid | 38.781614 | -118.050139 | 1394.700 | gv121 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 22 | gv122 | grid | 38.779211 | -117.957842 | 1535.500 | gv122 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 23 | gv123 | grid | 38.758194 | -117.850214 | 1855.454 | gv123 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 24 | gv124 | grid | 38.894753 | -118.455667 | 1368.218 | gv124 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 25 | gv125 | grid | 38.897069 | -118.379408 | 1234.500 | gv125 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 26 | gv126 | grid | 38.891994 | -118.278522 | 1234.000 | gv126 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 27 | gv127 | grid | 38.870372 | -118.232033 | 1251.100 | gv127 | unknown | True | True | False | 0.001302 | 1115.940903 | <HDF5 object reference> | <HDF5 object reference> |
| 28 | gv128 | grid | 38.887003 | -118.080164 | 1473.400 | gv128 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 29 | gv129 | grid | 38.832450 | -118.020161 | 1357.029 | gv129 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 30 | gv130 | grid | 38.870592 | -117.958572 | 1355.761 | gv130 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 31 | gv131 | grid | 38.899672 | -117.858122 | 1596.800 | gv131 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 32 | gv132 | grid | 38.899553 | -118.006981 | 1381.500 | gv132 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 33 | gv133 | grid | 38.948494 | -118.363769 | 1281.300 | gv133 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 34 | gv134 | grid | 38.964211 | -118.309064 | 1262.900 | gv134 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 35 | gv135 | grid | 38.959308 | -118.229806 | 1236.400 | gv135 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 36 | gv136 | grid | 38.931881 | -118.143908 | 1335.800 | gv136 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 37 | gv137 | grid | 38.938647 | -118.040322 | 1542.100 | gv137 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 38 | gv138 | grid | 38.958664 | -117.962525 | 1431.400 | gv138 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 39 | gv139 | grid | 38.958169 | -117.868064 | 1415.700 | gv139 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 40 | gv140 | grid | 39.065478 | -118.467969 | 1460.400 | gv140 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 41 | gv141 | grid | 39.049328 | -118.395528 | 1620.500 | gv141 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 42 | gv142 | grid | 39.044442 | -118.308225 | 1738.900 | gv142 | unknown | True | True | False | 0.001764 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 43 | gv143 | grid | 39.053244 | -118.252172 | 1627.200 | gv143 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 44 | gv144 | grid | 39.013067 | -118.162347 | 1548.029 | gv144 | unknown | True | True | False | 0.001302 | 1115.940903 | <HDF5 object reference> | <HDF5 object reference> |
| 45 | gv145 | grid | 39.052336 | -118.042419 | 1568.999 | gv145 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 46 | gv146 | grid | 39.045111 | -117.961328 | 1596.200 | gv146 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 47 | gv147 | grid | 39.045894 | -117.872028 | 1587.100 | gv147 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 48 | gv148 | grid | 39.158608 | -118.506814 | 1591.820 | gv148 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 49 | gv149 | grid | 39.128144 | -118.421497 | 1667.600 | gv149 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 50 | gv150 | grid | 39.141736 | -118.320472 | 1490.559 | gv150 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 51 | gv151 | grid | 39.111331 | -118.265897 | 1449.100 | gv151 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 52 | gv152 | grid | 39.141939 | -118.155467 | 1660.881 | gv152 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 53 | gv153 | grid | 39.142878 | -118.045928 | 1715.500 | gv153 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 54 | gv154 | grid | 39.149414 | -117.972769 | 1743.100 | gv154 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 55 | gv155 | grid | 39.138342 | -117.872131 | 1811.100 | gv155 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 56 | gv160 | grid | 38.914786 | -118.190761 | 1246.000 | gv160 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
| 57 | gv161 | grid | 38.993356 | -117.997683 | 1474.727 | gv161 | unknown | True | True | False | 0.001302 | 1021.063207 | <HDF5 object reference> | <HDF5 object reference> |
| 58 | gv163 | grid | 38.834078 | -118.236278 | 1262.700 | gv163 | unknown | True | True | False | 0.001302 | 2048.000210 | <HDF5 object reference> | <HDF5 object reference> |
[15]:
station_plot = mtc.plot_stations(pad=.0005)
Change Basemap
contextily has good options for basemaps, you can check out all the options at https://contextily.readthedocs.io/en/latest/providers_deepdive.html.
Below is an exmaple of how to change the source basemap to the National Geographic World Map.
[16]:
import contextily as cx
[17]:
station_plot.cx_source = cx.providers.Esri.NatGeoWorldMap
station_plot.redraw_plot()
4. MTCollection vs MTData
MTCollection is the persistent storage interface (backed by MTH5), while MTData is the in-memory object used for fast manipulation and analysis.
A useful update is that open_collection(...) now initializes an MTData object directly on the collection as mc.mt_data, so you can immediately work in-memory after opening the file.
MTData now exposes a DataTree accessor at tree.mt for structural station operations (path lookup, get/set station datasets, station-wise transforms, and selection). This keeps station-level workflows explicit and fast in RAM.
from mtpy import MT, MTData, MTCollection
# Build MTData directly from TF files (no MTH5 required)
md = MTData()
for filename in list_of_tf_files:
mt_object = MT()
mt_object.read(filename)
md.add_station(mt_object)
# DataTree accessor utilities on MTData
station_paths = md.tree.mt.station_paths
station_ds = md.tree.mt.get_station_dataset(station_paths[0])
# Apply a station-wise transform (returns a new tree by default)
rotated_tree = md.tree.mt.map_stations(lambda ds: ds.tf.rotate(10))
# Persist to MTH5
with MTCollection() as mc:
mc.open_collection("/path/to/mth5_file.h5")
# Convenience: immediately available MTData view
current_md = mc.mt_data
# Collection-level convenience for station-wise transforms
mc.map_stations(lambda ds: ds.tf.rotate(10), write_back=False)
# Write edited MTData back to collection
mc.from_mt_data(md)
5. Close MTCollection
Important: You need to close the MTCollection otherwise the file may get corrupted and you’ll have to make the file all over again. Note that once the file is closed the transfer functions are no longer available. Therefore it is wise to convert to an MTData object.
[18]:
mtc.close_collection()
26:05:06T23:13:22 | INFO | line:1035 |mth5.mth5 | close_mth5 | Flushing and closing c:\Users\peaco\OneDrive\Documents\GitHub\mtpy-v2\docs\source\notebooks\test_mt_collection.h5
5a. Context Manager
If you just want to build an MTH5 file and then close it the best way to do that is using the context manager:
with MTCollection() as mc:
mc.open_collection("/path/to/mth5_file.h5")
# add data to the files
[ ]: