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
Built Distribution
File details
Details for the file dtcv2_util-0.1.8.tar.gz
.
File metadata
- Download URL: dtcv2_util-0.1.8.tar.gz
- Upload date:
- Size: 14.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0635033781494ffb28431b23a822acbf68029b3474fdeea42f8c0bcab38423e9 |
|
MD5 | 160ddc89ea2f1915fc0da9b6a1fb4406 |
|
BLAKE2b-256 | 1df962616be537687328da05fcb24c11ca9e297c5618099b4c7517faddbfd29e |
File details
Details for the file dtcv2_util-0.1.8-py3-none-any.whl
.
File metadata
- Download URL: dtcv2_util-0.1.8-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf131f37ab086a3ed879a91e887a370b291f8bbca7b3286920175130651fbabd |
|
MD5 | f563b82df4aad7756482c3eca35d6975 |
|
BLAKE2b-256 | 63a5356af9b963a9181f7557e12357adfbb5a53e019f4e803d58f599f2a6a95f |