Open SashaAivaz opened 7 months ago
@SashaAivaz Try again, I just fixed a bug in MTCollection.add_tf
.
I updated the add_tf
to have arguments add_tf(tf_object, new_survey='new_survey_name', tf_id_extra='interpolated'
The tf_id_extra
will add this onto the end of the tf_id
which is the transfer function id, usually the same as the station. If your station and tf_id are "mt01" then if you set tf_id_extra
the new tf_id will be "mt01_tf_id_extra", helps organize transfer functions.
But now you should be able to set the survey for your original data and your downsampled data.
@kujaku11 I did installed the updates but it seems it doesn't like any argument for add_tf It gives same error for tf_id_extra.
I have a MT collection that has no survey id and to downsample frequencies, I needed to add the survey id because the keys for MT collection are survey_id.station_id and having '0' for survey id meant no string and problem. I got this error: I have used this code to downsample and add the id:
Now I have two entities for each station one unknown survey id and one downsampled. I added the id to the original mt_object before making new_mt_obj but result is same.