Skip to content

添加了部分StandardPUP产品解析#92

Merged
CyanideCN merged 9 commits intoCyanideCN:masterfrom
pysoer:master
Apr 24, 2023
Merged

添加了部分StandardPUP产品解析#92
CyanideCN merged 9 commits intoCyanideCN:masterfrom
pysoer:master

Conversation

@pysoer
Copy link
Contributor

@pysoer pysoer commented Apr 21, 2023

添加了StandardPUP对OHP、HI、ET的解析。

pysoer added 2 commits April 21, 2023 23:12
添加了StandardPUP对OHP、HI、ET的解析。
添加了StandardPUP对OHP、HI、ET的解析。
self.scan_config = np.frombuffer(self.f.read(256 * cut_num), SDD_cut)
ph = np.frombuffer(self.f.read(128), SDD_pheader)
self.ptype = ph["product_type"][0]
self.ptype_name = self.ptype_corr[self.ptype]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

如果要改用产品类型来对应产品的名字的话就可以把所有用到dtype的地方删了,包括那个查找表。还有就是这里我感觉变量名直接用pname(product name)更好。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

其他地方都修改好了,就这个dytpe和ptype没动。我后面找了些ROSE2.0的双偏振的产品来看,还有各种其他型号(例如一个“HCL_FMT”的产品,行标文件表7对应的数据类型竟然是37),下来研究透彻学习到位了再来处理吧,不急着删除,后面的双偏振的数据可能用得到。

@CyanideCN CyanideCN merged commit 6278735 into CyanideCN:master Apr 24, 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

Successfully merging this pull request may close these issues.

2 participants