trhallam / segysak

SEGY Swiss Army Knife for Seismic Data
https://trhallam.github.io/segysak/
GNU General Public License v3.0
97 stars 34 forks source link

0.3.1 segy_writer bug #102

Closed lvdai15621 closed 2 years ago

lvdai15621 commented 3 years ago

error out: 'FrozenDict' object does not support item assignment 0.3.0 with no similar error.

trhallam commented 3 years ago

Can you provide more details about how you are generating this error please?

What arguments are you passing to the function? What is the full stack trace of the error? Do you have a minimum reproducible example that generates the error (https://stackoverflow.com/help/minimal-reproducible-example)?

lvdai15621 commented 3 years ago

I import segy_writer at the beginning: "from segysak.segy import segy_writer"

error occurs at the code : "segy_writer(self.seisnc, export_path, trace_header_map=self.trace_header_map)" ( I have established a class based on segysak)

"trace_header_map" is descibed as:

self.trace_header_map = { 'iline': self.head_dict['iline'], 'xline': self.head_dict['xline'], 'cdp_x': self.head_dict['cdpx'], 'cdp_y': self.head_dict['cdpy'] }

all of the above is good in 0.3.0, but not ok in 0.3.1

Thanks for the reply.

trhallam commented 3 years ago

Ok, I think this got identified and fixed after the release but I didn't get around to publishing it. Can you please update to 0.3.2 and try again?

trhallam commented 2 years ago

Closing, no feedback from user.