brazil-data-cube / cube-builder

Cube Builder is an application to generate data cubes on local cluster using Python and Celery.
https://cube-builder.readthedocs.io/en/latest/
GNU General Public License v3.0
8 stars 7 forks source link

Add support to format data cube name and path #236

Closed raphaelrpl closed 2 years ago

raphaelrpl commented 2 years ago

Currently, we data cube name pattern follows on-premise data cubes like:

S2-SEN2COR_10_16D_LCF, CB4_64_16D_LCF, LC8_30_16D_LCF, etc.

with directory path:

S2-SEN2COR_10_16D_LCF/v001/089098/2019-01-01_2019-01-16/S2-SEN2COR_10_16D_LCF_v001_089098_2019-01-01_2019-01-16.png

It must be replaced as:

S2-16D, CB4-16D, LC8-16D

and directory as:

s2-16d/v1/089/098/2019/01/01/S2-16D_V1_089098_2019-01-01.png

Consider to support both format using format_path_cube and format_item_cube.