Adding addional imports, URLS, functions, enhance Documentaion - #23
Merged
Conversation
Add some imports and URLs that will help later in the download script
These changes will affect the changes made later in the code. 1. I make a function that take a coordinates and save them as geojson file. 2. Another function that retreive the geojson file as to use it later
I delete a variable geojson (I will use it at the end or I will use all these variables in a seperate file to easily change them ). I enhance the file documentaion
Add a function that get images ids using the search filter
# Get images dates from IDs: # - Parses the image ID using the provided date format and returns the date as a datetime object.
I replace RE_format, PS_format with get_image_date. This function is more general to work with any satellite. When I request Rapid eye and planet scope satellite, I found that they have the same id format. But the functions written before suppose that they are different. I make this function take the date format and date length to avoid all these to avoid differences. If there are differences in the future we will update only the variables with no need to change all function.
The functions in the old script need some modifications. I added the clipping tool before getting the order.
Add few modifications to this function
Delete some unnecessary functions. Add configuration variables. Edit validate_and_compare_dates function.
rawann31
force-pushed
the
dev
branch
2 times, most recently
from
June 4, 2024 22:42
d23a7d8 to
ead5080
Compare
fwitmer
approved these changes
Jun 5, 2024
fwitmer
left a comment
Owner
There was a problem hiding this comment.
Good streamlining of code and added documentation/references.
Ritika-K7
pushed a commit
to Ritika-K7/CoastlineExtraction
that referenced
this pull request
Aug 23, 2025
Adding addional imports, URLS, functions, enhance Documentaion
Ritika-K7
pushed a commit
to Ritika-K7/CoastlineExtraction
that referenced
this pull request
Aug 23, 2025
Adding addional imports, URLS, functions, enhance Documentaion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add some imports and URLs that will help later in the download script.
This pull request is part of Google Summer of Code 2024.