Skip to content

Conversation

@Antsalacia
Copy link
Collaborator

@Antsalacia Antsalacia commented Dec 9, 2024

Add user input as a string

closes #56

@wehrad
Copy link
Owner

wehrad commented Dec 12, 2024

Thanks for working on this @Antsalacia ! I think we can just put the tag at the end of the mosaic tif file and not every single split box. So it would only be needed here (and not where you put it for now):
https://github.com/AdrienWehrle/earthspy/blob/f0ae4f798a0ffc3466fbc40742322908ebf6879a/earthspy/earthspy.py#L1049-L1052

@wehrad
Copy link
Owner

wehrad commented Dec 16, 2024

Thanks for working on this @Antsalacia ! Now we need a default label in case the user doesn't pass one. Any ideas?

@Antsalacia
Copy link
Collaborator Author

We could add default ?

@wehrad
Copy link
Owner

wehrad commented Dec 16, 2024

We could add default ?

I think the point here would be to have a different label for different areas running on the same date so that they don't get replaced. Having default would just change the file name but still overwrite.

Maybe a tag like lat{latitude}_lon{longitude} could make sense, where latitude and longitude is the center point of the bounding box.

@wehrad wehrad closed this Sep 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve file naming to prevent overwrite

2 participants