Skip to content

Adding addional imports, URLS, functions, enhance Documentaion - #23

Merged
fwitmer merged 10 commits into
fwitmer:devfrom
rawann31:dev
Jun 5, 2024
Merged

Adding addional imports, URLS, functions, enhance Documentaion#23
fwitmer merged 10 commits into
fwitmer:devfrom
rawann31:dev

Conversation

@rawann31

@rawann31 rawann31 commented Jun 2, 2024

Copy link
Copy Markdown
Collaborator

Add some imports and URLs that will help later in the download script.

This pull request is part of Google Summer of Code 2024.

rawann31 added 2 commits June 2, 2024 02:18
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
@rawann31 rawann31 changed the title Update DeeringAutoDownloadCode.py Add 2 function related to saving and getting geojson files Jun 2, 2024
@rawann31 rawann31 changed the title Add 2 function related to saving and getting geojson files Adding addional imports, URLs, 2 function related to saving and getting geojson files Jun 2, 2024
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
@rawann31 rawann31 changed the title Adding addional imports, URLs, 2 function related to saving and getting geojson files Adding addional imports, URLS, functions, enhance Documentaion Jun 2, 2024
rawann31 added 6 commits June 2, 2024 05:05
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
rawann31 force-pushed the dev branch 2 times, most recently from d23a7d8 to ead5080 Compare June 4, 2024 22:42

@fwitmer fwitmer left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good streamlining of code and added documentation/references.

@fwitmer
fwitmer merged commit 5c325f0 into fwitmer:dev Jun 5, 2024
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
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.

2 participants