Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alternative storage scheme for ard_dir #207

Open
johntruckenbrodt opened this issue May 27, 2024 · 0 comments
Open

alternative storage scheme for ard_dir #207

johntruckenbrodt opened this issue May 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@johntruckenbrodt
Copy link
Member

johntruckenbrodt commented May 27, 2024

Currently, the ard_dir storage scheme follows the pattern

<mgrs>/<product>

for example

32UMG/S1A_IW_NRB__1SDV_20221230T170954_046564_059481_32UMG_1E7E

It would be good to give flexibility to the user to adjust this.

Potential solution

Introduce a new configuration parameter storage_scheme, which could look like this to reproduce the above:

storage_scheme = {mgrs}/{pid}

where

  • mgrs: the full name of the MGRS tile
  • pid: the product identifier

Additional keys for adjusting the scheme could be (including examples following the above):

  • utm: the UTM zone (32)
  • gzd: the grid zone designator (32U)
  • lid: the latitude band identifier (U)
  • sid: the square identifier (MG)
  • year: the acquisition year (2022)
  • month: the acquisition month (12)

The above could also be expressed as

storage_scheme = {utm}{lid}{sid}/{pid}

or

storage_scheme = {gzd}{sid}/{pid}

A more complex example:

storage_scheme = {utm}/{lid}/{sid}/{year}/{month}/{pid}

translating to

32/U/MG/2022/12/S1A_IW_NRB__1SDV_20221230T170954_046564_059481_32UMG_1E7E
@johntruckenbrodt johntruckenbrodt added the enhancement New feature or request label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant