Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remote info not added to TF object in process_mth5 #295

Open
kkappler opened this issue Sep 25, 2023 · 0 comments
Open

remote info not added to TF object in process_mth5 #295

kkappler opened this issue Sep 25, 2023 · 0 comments

Comments

@kkappler
Copy link
Collaborator

This seems to be causing emtfxml TFs written by aurora to fail ingest.

I will add an Exception catch and raise warning in mt_metadata for this, but in general the RR info should be getting packed into the emtfxml

tf.read(self.xml_file_base)
File "/home/kkappler/software/irismt/mt_metadata/mt_metadata/transfer_functions/core.py", line 1781, in read
self._read_write_dict[file_type]["read"](self.fn, **kwargs)
File "/home/kkappler/software/irismt/mt_metadata/mt_metadata/transfer_functions/core.py", line 1982, in from_emtfxml
emtfxml_obj.read(self._fn)
File "/home/kkappler/software/irismt/mt_metadata/mt_metadata/transfer_functions/io/emtfxml/emtfxml.py", line 310, in read
attr.read_dict(root_dict)
File "/home/kkappler/software/irismt/mt_metadata/mt_metadata/transfer_functions/io/emtfxml/metadata/processing_info.py", line 83, in read_dict
getattr(self, key).read_dict(pop_dict)
File "/home/kkappler/software/irismt/mt_metadata/mt_metadata/transfer_functions/io/emtfxml/metadata/remote_info.py", line 48, in read_dict
pop_dict = {key: remote_info_dict.pop(key)}
AttributeError: 'NoneType' object has no attribute 'pop'

@kkappler kkappler changed the title remote info not getting packed into TF object in process_mth5 remote info not added to TF object in process_mth5 Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant