Skip to content

read/write/plot: improved flexibility for h5 file#671

Merged
yunjunz merged 1 commit intoinsarlab:mainfrom
yunjunz:h5
Sep 24, 2021
Merged

read/write/plot: improved flexibility for h5 file#671
yunjunz merged 1 commit intoinsarlab:mainfrom
yunjunz:h5

Conversation

@yunjunz
Copy link
Copy Markdown
Member

@yunjunz yunjunz commented Sep 24, 2021

Description of proposed changes

  • read/plot: support geometry h5 file with other undefined datasets, e.g. "displacement", which is useful for single-pair displacement products for generic sharing purpose.
  • read.read_attribute(): ignore Std while grabbing UNIT
  • writefile.write(): add optional ds_unit_dict arg to specify different data unit for each dataset, same as layout_hdf5()
  • geocode: same h5 compression bwt. input/output

Reminders

  • Pass Codacy code review (green)
  • Pass Circle CI / local test (green)
  • Make sure that your code follows our style. Use the other functions/files as a basis.
  • If modifying functionality, describe changes to function behavior and arguments in a comment below the function declaration.
  • If adding new functionality, add a detailed description to the documentation and/or an example.

+ read/plot: support geometry h5 file with other undefined datasets, e.g. "displacement", which is useful for single-pair displacement products for generic sharing purpose.
+ read.read_attribute(): ignore Std while grabbing UNIT
+ writefile.write(): add optional ds_unit_dict arg to specify different data unit for each dataset, same as layout_hdf5()
+ geocode: same h5 compression bwt. input/output
@yunjunz yunjunz merged commit 884434f into insarlab:main Sep 24, 2021
@yunjunz yunjunz deleted the h5 branch September 24, 2021 05:19
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.

1 participant