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-1.2.0.tar.gz (14.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dtcv2_util-1.2.0-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dtcv2_util-1.2.0.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for dtcv2_util-1.2.0.tar.gz
Algorithm Hash digest
SHA256 fc0afadacd0bb7c4e7950b7bcfdf1f891d7366bf96b485d79c5faa7714713b5e
MD5 05bf43fc1b5e1db4bdd5589c6b7fe23e
BLAKE2b-256 7497a58b3c0fb6319674367d46b551b18926f029bb5a0ed5d9abdbab51a41c30

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dtcv2_util-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for dtcv2_util-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5e40e1c461d0d8a95f0dfaf85b95af16412c74a4e3a522786f096c6531e0da98
MD5 98e30d53ace3a931aa83b098eb3cf275
BLAKE2b-256 55d675ef00d00d2a4e6112c769f8ddda6a4885b34e6b04b22c60123cfd1577af

See more details on using hashes here.

Supported by

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