Observatorio-Ciudades / accesibilidad-urbana

Medir la accesibilidad peatonal a diferentes amenidades relevantes durante el periodo de aislamiento social, tales como supermercados, tiendas de abarrotes, mercados, entre otros.
1 stars 1 forks source link

Download a specific date [Modifications inside download_raster_from_pc() function] #115

Open AlexLoya opened 4 hours ago

AlexLoya commented 4 hours ago

In order to be able to download a raster in a specific date,

OPTION A:

A kwarg could be added to function raster>download_raster_from_pc(). The kwarg would be a list that sustitutes function create_time_of_interest().

For example, if a date was confirmed to be useful for a specific area of interest (e.g. using EO Browser), an input kwarg could be recieved (e.g. time_of_interest = ['2024-09-02/2024-09-04']). Function create_time_of_interest() would be skipped, and time_of_interest would be taken from the kwarg.

Note: start_date and end_date would still be used in function df_date_links(), normally using Month Start (MS). Therefore, start_date would need to be 2024-09-01 for download_raster_from_pc() to work in it's current state.

OPTION B: Modify start date 2024-09-01 inside download_raster_from_pc() when identifying a month where Month Start (MS) is not in the time range. (Review implications)

AlexLoya commented 4 hours ago

Reference located in notebooks/public_interest_topics/pub_2024-09_chapala/01_ndwi_chapala.ipynb