Skip to content

ADIOS: Example File #2

Open
Open

Description

@ax3l

Add a script that creates and ADIOS example file.

Depends (partly) on issues mentioned here.

Main missing feature are object-oriented groups/variables/attributes in their python binding

Activity

  1. ax3l commented on Sep 1, 2015

    @ax3l
    MemberAuthor

    half-way converter script:

    #!/bin/bash
    #
    # Copyright (c) 2015 Axel Huebl
    #
    # Permission to use, copy, modify, and/or distribute this software for any
    # purpose with or without fee is hereby granted, provided that the above
    # copyright notice and this permission notice appear in all copies.
    #
    # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
    # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
    # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
    # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
    # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
    # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
    # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
    #
    sed -e 's/h5py/adios/g' \
        -e 's/\.h5/\.bp/g' \
        -e 's/h5/ad/g' \
        -e 's/File(/Writer(/g' \
        -e 's/, "w"//g' \
        -e 's/attrs/attr/g' \
        -e 's/create_group/declare_group/g' \
        -e 's/create_dataset/define_var/g' \
        createExamples_h5.py > createExamples_adios.py
    
    chmod u+x createExamples_adios.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions