Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.08 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.08 KB

MUR L2P Coordination Data Generator

This script generates the JSON file needed to coordinate the execution of MUR (Multi-scale Ultra-high Resolution) algorithms.

This script produces data for the following:

  • l2p: Produces a dictionary of sensors with a 12-day date range. The L2P sensor operations should be executed on each sensor and on each day in the range.

Overview

The script:

  1. Reads a configuration file defining sensors and their date ranges.
  2. Calculates the date ranges for each sensor based on the current date and the specified day range.
  3. Writes the result to l2p.json in the specified output directory.

This output can then be used to coordinate and schedule MUR processing workflows.


Requirements

  • The following Python packages:
    • argparse (standard library)
    • datetime (standard library)
    • json (standard library)
    • logging (standard library)
    • pathlib (standard library)
    • fsspec (only required if configuration file is stored on S3)

Usage

python generate_l2p.py -o /path/to/output/dir -c /path/to/config.json