Code Monkey home page Code Monkey logo

h5xray's Introduction

H5XRay

Helping Python developers understand the structure and 'cloud-friendliness' of an HDF5 file. To best keep on top of updates, star/watch this repository.

A weekend project inspired by the h5cloud project at the 2023 ICESat-2 Hackweek.

Don't want to deal with code? Try out the web app!

Installation

To get started with H5XRay, you can easily install it using pip.

Installation

pip install git+https://github.com/jonm3d/h5xray.git

Updating to the Latest Version

pip install --upgrade git+https://github.com/jonm3d/h5xray.git

Usage

H5xray provides visualizations and reports of an HDF5 file structure. See the examples directory for more detailed usage, inluding reading local files or from S3.

Example Visualizations

Default Plot

Options Plot

Example Report Contents

Report for data/atl03_4.h5:

  • Elapsed time (s): 1.373
  • Total datasets: 1020
  • Total requests: 1276.0
  • Request byte size: 2097152 bytes
  • Assumed cost per 1000 GET requests: $0.0004
  • Total cost for file: $0.0005104

Top 5 datasets with most requests:

  1. /gt3r/heights/lat_ph - 14.0 requests | Chunking: (10000,) | Number of Chunks: [616.0]
  2. /gt3r/heights/lon_ph - 14.0 requests | Chunking: (10000,) | Number of Chunks: [616.0]
  3. /gt1r/heights/lat_ph - 13.0 requests | Chunking: (10000,) | Number of Chunks: [583.0]
  4. /gt1r/heights/lon_ph - 13.0 requests | Chunking: (10000,) | Number of Chunks: [583.0]
  5. /gt1r/heights/h_ph - 11.0 requests | Chunking: (10000,) | Number of Chunks: [583.0]

System Info:

  • OS: posix
  • Platform: Linux
  • Platform Version: #1 SMP Tue Feb 14 21:50:23 UTC 2023
  • Python Version: 3.10.12
  • Machine: x86_64
  • Processor: x86_64
  • Current Working Directory: /home/jovyan/h5xray
  • Host Name: jupyter-jonm3d
  • Number of CPUs: 4

Interactive Tree Plot

The package also includes an interactive plot for inspecting HDF5 files in a jupyter notebook.

Made with ❤️ and ☕️ by:

Jonathan Markel
PhD Student
3D Geospatial Laboratory
The University of Texas at Austin
[email protected]

Twitter | GitHub | Website | GoogleScholar | LinkedIn

This work was supported by NASA FINESST Award 80NSSC23K0272.

h5xray's People

Contributors

jonm3d avatar scottstanie avatar

Stargazers

Steven Pestana avatar Geoffrey Gunter avatar Yoni Nachmany avatar Antonio Valentino avatar  avatar Tom Nicholas avatar Scott Henderson avatar Aman Bagrecha avatar Simon avatar Nikita avatar Kai Mühlbauer avatar Deepak Cherian avatar Alex Gardner avatar Alex I. Mandel avatar Tyler Sutterley avatar JP Swinski avatar Wei Ji avatar Luis López avatar

Watchers

Antonio Valentino avatar  avatar Forrest Williams avatar

Forkers

scottstanie

h5xray's Issues

Script tools

Current functionality is really limited to Python notebooks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.