This tool processes the LILA NOAA (National Oceanic and Atmospheric Administration) dataset and converts it into the
standardized TreeOfLife-toolbox format compatible with the distributed-downloader ecosystem. The tool performs the
following key operations:
- Filtering: Loads the NOAA dataset, standardizes column names, generates UUIDs, and partitions the data
- Scheduling: Creates a processing schedule to distribute work across compute resources
- Processing: Loads and crops images according to bounding box coordinates, computes hash values, and saves processed data in parquet format
The tool was specifically developed to convert LILA NOAA dataset into distributed-downloader format. It is not
going to work on anything else.
og_images_root: Path to the root directory of the NOAA images (absolute path)
- The NOAA images are available in the
og_images_rootdirectory. - The input CSV file contains the following columns:
detection_id: Unique identifier for each detectiondetection_type: Life stage of the detected organismrgb_image_path: Relative path to the image from the root directoryrgb_left,rgb_right,rgb_top,rgb_bottom: Bounding box coordinates for cropping
- The paths in
rgb_image_pathare relative to theog_images_rootdirectory.
After successful execution, the following is guaranteed:
-
The processed data is available in the configured output directory with the structure:
{images_folder}/server_name=noaa/partition_id={id}/successes.parquet -
Each parquet file contains:
uuid: Unique identifier for each entrysource_id: Original detection IDidentifier: Full path to the original imageis_license_full: Set to False (NOAA data does not include license information)original_size: Dimensions of the original imageresized_size: Dimensions of the cropped imagehashsum_original: MD5 hash of the original imagehashsum_resized: MD5 hash of the cropped imageimage: Binary data of the cropped image
-
The verification tables confirm the completion of processing for all partitions.