Skip to content

WIBLMultitool

Brian Miles edited this page Oct 17, 2024 · 1 revision

Introduction

The Python source code provides a single script that can be installed to provide a lot of functionality to manipulate WIBL files, and to do local processing of files (mainly for debugging purposes). The wibl command installed with cd wibl-python; pip install . provides sub-commands to implement the functionality:

% wibl -h
usage: wibl <command> [<arguments>]

    Commands include:
        datasim     Generate test data using Python-native data simulator.
        editwibl    Edit WIBL logger files, e.g., add platform metadata.
        uploadwibl  Upload WIBL logger files to an S3 bucket.
        parsewibl   Read and report contents of a WIBL file.
        dcdbupload  Upload a GeoJSON file to DCDB direct.
        procwibl    Local processing from WIBL file to GeoJSON.
        validate    Validate the metadata in a GeoJSON file.
        

Python tools for WIBL low-cost data logger system

positional arguments:
  command     Subcommand to run

options:
  -h, --help  show this help message and exit
  --version   print version and exit

Each sub-command provides a more detailed help/syntax list with the -h option. See the wibl-python/README.md for further details, noting that:

  • The validate sub-command assumes that the CSB Schema validator is installed.
  • The configuration file required for dcdbupload and procwibl can be generated by editing the parameter file in wibl-python/scripts/desktop/configuration-parameters.sh and then running wibl-python/scripts/desktop/configure-desktop.sh.
Clone this wiki locally