Skip to main content

Library for workflow management

Project description

DTCV2-utils

This is a library with utilities developed in DTGEO project in DTCV2 for general purpose. This library contains scripts and functions required for:

  • Input file validation: through a json file definition of variables
  • Log (error) file manager: creates and writes the log_file
  • Meteo utils: utilities for meteorological download
  • ESP utils: utilities for Eruption Source Parameters

For more information related to this package please consult the Wiki

Input file validation

The meteo_inp.py Python script serves as a data validation tool to ensure that input files adhere to predefined criteria specified in an options configuration file (options.json). The script validates variables for dependencies, types, and values according to the specifications outlined in the options file.

Log (error) file manager

The function constructs a JSON object containing the log message details, including the description, hour, date, type, locator, and code. It then appends this object to the specified log file.

If the log file directory does not exist, a "FATAL ERROR" message is printed, and the script exits.

Meteo utils

The Python code is part of a system for managing meteorological data and resources. It includes several classes and functions to handle various aspects of the meteorological data retrieval process.

License

The information of the license is avavilable in the File

Project status

In progress

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dtcv2_util-0.1.2.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

dtcv2_util-0.1.2-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file dtcv2_util-0.1.2.tar.gz.

File metadata

  • Download URL: dtcv2_util-0.1.2.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.19

File hashes

Hashes for dtcv2_util-0.1.2.tar.gz
Algorithm Hash digest
SHA256 05a858047f9a7fbb0ef3f7014258e253f9bb8fb58fe283b5f4961cdd3a7c8c87
MD5 18532f0ed16562341da97bb4e120e06f
BLAKE2b-256 bddc30d1ac3804f936f53cb9b8a1c76f85c6d78ae6986d4754392df09efe0b7e

See more details on using hashes here.

File details

Details for the file dtcv2_util-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: dtcv2_util-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.8.19

File hashes

Hashes for dtcv2_util-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7291123e8b9d19cde4ae617e95095208cb25c00e76b13ca78053d2ff68d47c0a
MD5 4fdcd2edb45243902c83c7c97011861c
BLAKE2b-256 f6c604497a8eec8aa5563872c9bbc9cc58bb22880a18b6f64c35d978192e3fe9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page