Giter Site home page Giter Site logo

openpmd / openpmd-example-datasets Goto Github PK

View Code? Open in Web Editor NEW
8.0 6.0 4.0 323.61 MB

:gift: HDF5 Example Files

License: Creative Commons Zero v1.0 Universal

Python 94.11% Lua 5.89%
openpmd openscience example-data fileformat research community

openpmd-example-datasets's Introduction

openPMD example datasets

This repository contains examples of openPMD datasets, in three different geometries:

  • 2D Cartesian
  • 3D Cartesian
  • Cylindrical with azimuthal decomposition ("thetaMode")

The structure.h5 is an openPMD 1.1.0 compliant file contains the bare bones structure with no associated data.

In order to obtain these datasets:

  • Clone this repository
git clone https://github.com/openPMD/openPMD-example-datasets.git
  • Uncrompress the files
cd openPMD-example-datasets
tar -zxvf example-2d.tar.gz
tar -zxvf example-3d.tar.gz
tar -zxvf example-thetaMode.tar.gz
...

How were these files created?

Files created with the Particle-In-Cell code Warp

The files example-2d.tar.gz, example-3d.tar.gz and example-thetaMode.tar.gz were produced with the Particle-In-Cell code Warp. The resolution is intentionally very low, so as to produce data of manageable size.

The scripts that were used in order to produce these openPMD files from Warp can be found in the directory scripts/warp.

Examples created with the finite-element code FEMM

The files example-femm-3d.h5 and example-femm-thetaMode.h5 were produced using the finite-element code FEMM.

The scripts that were used in order to produce these openPMD files can be found in the directory scripts/femm.

Examples created with the Particle-In-Cell code PIConGPU

The files legacy_datasets.tar.gz were produced with the Particle-In-Cell code PIConGPU.

openpmd-example-datasets's People

Contributors

ax3l avatar franzpoeschel avatar remilehe avatar s-sajid-ali avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

openpmd-example-datasets's Issues

Shape of Const Records (Warp)

@C0nsultant just realized the constant record component in Warp have a wrong shape (for particle records) right now.

The shape attribute in those files is 1 but should be the number of particles (N,).

Issue with `spack` installation instructions

When following these instructions with system=ubuntu; compute=openmp, I get the following error when doing spack install:

Package 'py-pil' not found.

This is quite confusing, since none of the packages are called py-pil. I checked that this does not come from the package py-pip (by removing it from the list of packages to install), so it seems that one of the other python packages is pulling this as a dependency.

Add ADIOS example Datasets

For reference purposes, it would be convenient to have (validated) sample files in formats other than HDF5.

This also should uncover possible incompatabilities and inconsistencies between file formats (e.g. HDF5 and ADIOS lack bool due to their C roots, see openPMD/openPMD-api#50).

ADIOS is a major backend in the community and thus should deserve some attention. As the author of openPMD/openPMD-api#126, it was difficult to verify file correctness without any ground thruth.

Anonymous Cloning (Git lfs)

@RemiLehe we actually found the problem we previously had with git lfs and the need to "enter your github credentials".

There is a specific syntax for anonymous, read-only access that is also useful for people not having a github account: git://github.com/openPMD/openPMD-example-datasets.git.

The https syntax (https://github.com/openPMD/openPMD-example-datasets.git) and the ssh syntax ([email protected]:openPMD/openPMD-example-datasets.git) are both for read and possible write-access remotes.

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.