slawler / hdf-ras-readers

Testbed for reading data from ras hdf outpt files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hdf-ras-readers

Testbed for reading data from ras hdf outpt files


Contents

Environment

  • Dockerfile (if you are like me and don't want to install rust & dependencies locally)
  • docker-compose
  • hot-reloader.sh Automatically recompiles and runs main on save for any file in /src.

Rust (.rs)

  • Cargo.toml for package management
  • main The development workhorse.
  • ras_reader Functions using the hdf5 crate for interrogating the RAS HDF file.
  • json_reader Functions for reading keys that map the RAS HDF file.

Data Files

  • keys.json Placeholder for RAS hdf key map (currently has hardcoded paths)
  • Base_R299.hdf Local sample data used for dev.

NOTE: HDF files stored in the /data directory should not be pushed to the remote repository. For local dev/testing you will need to replace this with a RAS HDF file and update the keys.json to reflect the data in that file (until this module is more mature).


Reference

HDF Crate Docs

HDF Crate Source

About

Testbed for reading data from ras hdf outpt files


Languages

Language:Rust 83.7%Language:Dockerfile 12.8%Language:Shell 3.5%