Git Product home page Git Product logo

igwn-data-checker's Introduction

IGWN Data Checker

This repository contains a software capable of testing data access and performance for the International Gravitational Waves Network data distribution.

It is based on python 3 and is to be run as a HTCondor job on the IGWN facilities.

Usage and settings

This software can be executed by simply calling ./igwn-data-checker.py, provided the settings.json file is available alongside the main script.

The settings.json file contains all th required information to run the test job. Such json file is composed of two blocks:

  1. "settngs" block which allows control over the execution parameters, such as:

    • "runs_per_file" to specify how many time to test each file. A value greater than one can highlight files not yet available in the cache;
    • "verbose" to enable additional output.
  2. "paths_to_test" is mapped to an array of values. Additional values can be inserted here as separate values. Such values can be:

    • directories: in this case each file found in the directory is tested;
    • files: the file is tested "runs_per_file" times.

Output

The output format looks as follows:

{
    "<tested_path>": [
        {
            "checksum_status": true,
            "timer": {
                "real": 2.364,
                "user": 1.881,
                "sys": 0.408
            }
        },
            {
            "checksum_status": true,
            "timer": {
                "real": 2.364,
                "user": 1.881,
                "sys": 0.408
            }
        }
    ]
}

For each tested path an entry is created. Each path key corresponds to a dictionary containing the result of checksum verification and the measured runtime for the verification to happen.

igwn-data-checker's People

Contributors

gabrielefronze avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.