From 1823f19a1d4a2d5effdc0c5452050a955c8dd2b4 Mon Sep 17 00:00:00 2001 From: jnywong Date: Mon, 3 Jun 2024 11:58:53 +0000 Subject: [PATCH 01/15] Move assets into book folder --- {assets => book/assets}/2i2c_login.png | Bin {assets => book/assets}/2i2c_logo.png | Bin {assets => book/assets}/MD_logo.png | Bin {assets => book/assets}/SETUP1.png | Bin {assets => book/assets}/TOPS.png | Bin {assets => book/assets}/banner.jpg | Bin {assets => book/assets}/banner_with_person.jpg | Bin .../assets}/climate_risks_cloud_data_filled.png | Bin .../assets}/climate_risks_cloud_data_filled.svg | 0 .../assets}/climate_risks_cloud_data_line.png | Bin .../assets}/climate_risks_cloud_data_line.svg | 0 .../assets}/climate_risks_drought_color.png | Bin .../assets}/climate_risks_drought_filled.png | Bin .../assets}/climate_risks_drought_filled.svg | 0 .../assets}/climate_risks_drought_line.png | Bin .../assets}/climate_risks_drought_line.svg | 0 .../assets}/climate_risks_fire_color.png | Bin .../assets}/climate_risks_fire_filled.png | Bin .../assets}/climate_risks_fire_filled.svg | 0 {assets => book/assets}/climate_risks_fire_line.png | Bin {assets => book/assets}/climate_risks_fire_line.svg | 0 .../assets}/climate_risks_flood_color.png | Bin .../assets}/climate_risks_flood_filled.png | Bin .../assets}/climate_risks_flood_filled.svg | 0 .../assets}/climate_risks_flood_line.png | Bin .../assets}/climate_risks_flood_line.svg | 0 .../assets}/climate_risks_remote_sensing_filled.png | Bin .../assets}/climate_risks_remote_sensing_filled.svg | 0 .../assets}/climate_risks_remote_sensing_line.png | Bin .../assets}/climate_risks_remote_sensing_line.svg | 0 {assets => book/assets}/earthdata_login.png | Bin {assets => book/assets}/earthdata_profile2.png | Bin {assets => book/assets}/earthdata_profile_old.png | Bin {assets => book/assets}/image165.png | Bin {assets => book/assets}/image377.jpg | Bin {assets => book/assets}/image5.png | Bin {assets => book/assets}/image7.jpeg | Bin {assets => book/assets}/logo.png | Bin .../points-lines-polygons-vector-data-types.png | Bin {assets => book/assets}/start_server.png | Bin .../assets}/work_environment_jupyter_lab.png | Bin 41 files changed, 0 insertions(+), 0 deletions(-) rename {assets => book/assets}/2i2c_login.png (100%) rename {assets => book/assets}/2i2c_logo.png (100%) rename {assets => book/assets}/MD_logo.png (100%) rename {assets => book/assets}/SETUP1.png (100%) rename {assets => book/assets}/TOPS.png (100%) rename {assets => book/assets}/banner.jpg (100%) rename {assets => book/assets}/banner_with_person.jpg (100%) rename {assets => book/assets}/climate_risks_cloud_data_filled.png (100%) rename {assets => book/assets}/climate_risks_cloud_data_filled.svg (100%) rename {assets => book/assets}/climate_risks_cloud_data_line.png (100%) rename {assets => book/assets}/climate_risks_cloud_data_line.svg (100%) rename {assets => book/assets}/climate_risks_drought_color.png (100%) rename {assets => book/assets}/climate_risks_drought_filled.png (100%) rename {assets => book/assets}/climate_risks_drought_filled.svg (100%) rename {assets => book/assets}/climate_risks_drought_line.png (100%) rename {assets => book/assets}/climate_risks_drought_line.svg (100%) rename {assets => book/assets}/climate_risks_fire_color.png (100%) rename {assets => book/assets}/climate_risks_fire_filled.png (100%) rename {assets => book/assets}/climate_risks_fire_filled.svg (100%) rename {assets => book/assets}/climate_risks_fire_line.png (100%) rename {assets => book/assets}/climate_risks_fire_line.svg (100%) rename {assets => book/assets}/climate_risks_flood_color.png (100%) rename {assets => book/assets}/climate_risks_flood_filled.png (100%) rename {assets => book/assets}/climate_risks_flood_filled.svg (100%) rename {assets => book/assets}/climate_risks_flood_line.png (100%) rename {assets => book/assets}/climate_risks_flood_line.svg (100%) rename {assets => book/assets}/climate_risks_remote_sensing_filled.png (100%) rename {assets => book/assets}/climate_risks_remote_sensing_filled.svg (100%) rename {assets => book/assets}/climate_risks_remote_sensing_line.png (100%) rename {assets => book/assets}/climate_risks_remote_sensing_line.svg (100%) rename {assets => book/assets}/earthdata_login.png (100%) rename {assets => book/assets}/earthdata_profile2.png (100%) rename {assets => book/assets}/earthdata_profile_old.png (100%) rename {assets => book/assets}/image165.png (100%) rename {assets => book/assets}/image377.jpg (100%) rename {assets => book/assets}/image5.png (100%) rename {assets => book/assets}/image7.jpeg (100%) rename {assets => book/assets}/logo.png (100%) rename {assets => book/assets}/points-lines-polygons-vector-data-types.png (100%) rename {assets => book/assets}/start_server.png (100%) rename {assets => book/assets}/work_environment_jupyter_lab.png (100%) diff --git a/assets/2i2c_login.png b/book/assets/2i2c_login.png similarity index 100% rename from assets/2i2c_login.png rename to book/assets/2i2c_login.png diff --git a/assets/2i2c_logo.png b/book/assets/2i2c_logo.png similarity index 100% rename from assets/2i2c_logo.png rename to book/assets/2i2c_logo.png diff --git a/assets/MD_logo.png b/book/assets/MD_logo.png similarity index 100% rename from assets/MD_logo.png rename to book/assets/MD_logo.png diff --git a/assets/SETUP1.png b/book/assets/SETUP1.png similarity index 100% rename from assets/SETUP1.png rename to book/assets/SETUP1.png diff --git a/assets/TOPS.png b/book/assets/TOPS.png similarity index 100% rename from assets/TOPS.png rename to book/assets/TOPS.png diff --git a/assets/banner.jpg b/book/assets/banner.jpg similarity index 100% rename from assets/banner.jpg rename to book/assets/banner.jpg diff --git a/assets/banner_with_person.jpg b/book/assets/banner_with_person.jpg similarity index 100% rename from assets/banner_with_person.jpg rename to book/assets/banner_with_person.jpg diff --git a/assets/climate_risks_cloud_data_filled.png b/book/assets/climate_risks_cloud_data_filled.png similarity index 100% rename from assets/climate_risks_cloud_data_filled.png rename to book/assets/climate_risks_cloud_data_filled.png diff --git a/assets/climate_risks_cloud_data_filled.svg b/book/assets/climate_risks_cloud_data_filled.svg similarity index 100% rename from assets/climate_risks_cloud_data_filled.svg rename to book/assets/climate_risks_cloud_data_filled.svg diff --git a/assets/climate_risks_cloud_data_line.png b/book/assets/climate_risks_cloud_data_line.png similarity index 100% rename from assets/climate_risks_cloud_data_line.png rename to book/assets/climate_risks_cloud_data_line.png diff --git a/assets/climate_risks_cloud_data_line.svg b/book/assets/climate_risks_cloud_data_line.svg similarity index 100% rename from assets/climate_risks_cloud_data_line.svg rename to book/assets/climate_risks_cloud_data_line.svg diff --git a/assets/climate_risks_drought_color.png b/book/assets/climate_risks_drought_color.png similarity index 100% rename from assets/climate_risks_drought_color.png rename to book/assets/climate_risks_drought_color.png diff --git a/assets/climate_risks_drought_filled.png b/book/assets/climate_risks_drought_filled.png similarity index 100% rename from assets/climate_risks_drought_filled.png rename to book/assets/climate_risks_drought_filled.png diff --git a/assets/climate_risks_drought_filled.svg b/book/assets/climate_risks_drought_filled.svg similarity index 100% rename from assets/climate_risks_drought_filled.svg rename to book/assets/climate_risks_drought_filled.svg diff --git a/assets/climate_risks_drought_line.png b/book/assets/climate_risks_drought_line.png similarity index 100% rename from assets/climate_risks_drought_line.png rename to book/assets/climate_risks_drought_line.png diff --git a/assets/climate_risks_drought_line.svg b/book/assets/climate_risks_drought_line.svg similarity index 100% rename from assets/climate_risks_drought_line.svg rename to book/assets/climate_risks_drought_line.svg diff --git a/assets/climate_risks_fire_color.png b/book/assets/climate_risks_fire_color.png similarity index 100% rename from assets/climate_risks_fire_color.png rename to book/assets/climate_risks_fire_color.png diff --git a/assets/climate_risks_fire_filled.png b/book/assets/climate_risks_fire_filled.png similarity index 100% rename from assets/climate_risks_fire_filled.png rename to book/assets/climate_risks_fire_filled.png diff --git a/assets/climate_risks_fire_filled.svg b/book/assets/climate_risks_fire_filled.svg similarity index 100% rename from assets/climate_risks_fire_filled.svg rename to book/assets/climate_risks_fire_filled.svg diff --git a/assets/climate_risks_fire_line.png b/book/assets/climate_risks_fire_line.png similarity index 100% rename from assets/climate_risks_fire_line.png rename to book/assets/climate_risks_fire_line.png diff --git a/assets/climate_risks_fire_line.svg b/book/assets/climate_risks_fire_line.svg similarity index 100% rename from assets/climate_risks_fire_line.svg rename to book/assets/climate_risks_fire_line.svg diff --git a/assets/climate_risks_flood_color.png b/book/assets/climate_risks_flood_color.png similarity index 100% rename from assets/climate_risks_flood_color.png rename to book/assets/climate_risks_flood_color.png diff --git a/assets/climate_risks_flood_filled.png b/book/assets/climate_risks_flood_filled.png similarity index 100% rename from assets/climate_risks_flood_filled.png rename to book/assets/climate_risks_flood_filled.png diff --git a/assets/climate_risks_flood_filled.svg b/book/assets/climate_risks_flood_filled.svg similarity index 100% rename from assets/climate_risks_flood_filled.svg rename to book/assets/climate_risks_flood_filled.svg diff --git a/assets/climate_risks_flood_line.png b/book/assets/climate_risks_flood_line.png similarity index 100% rename from assets/climate_risks_flood_line.png rename to book/assets/climate_risks_flood_line.png diff --git a/assets/climate_risks_flood_line.svg b/book/assets/climate_risks_flood_line.svg similarity index 100% rename from assets/climate_risks_flood_line.svg rename to book/assets/climate_risks_flood_line.svg diff --git a/assets/climate_risks_remote_sensing_filled.png b/book/assets/climate_risks_remote_sensing_filled.png similarity index 100% rename from assets/climate_risks_remote_sensing_filled.png rename to book/assets/climate_risks_remote_sensing_filled.png diff --git a/assets/climate_risks_remote_sensing_filled.svg b/book/assets/climate_risks_remote_sensing_filled.svg similarity index 100% rename from assets/climate_risks_remote_sensing_filled.svg rename to book/assets/climate_risks_remote_sensing_filled.svg diff --git a/assets/climate_risks_remote_sensing_line.png b/book/assets/climate_risks_remote_sensing_line.png similarity index 100% rename from assets/climate_risks_remote_sensing_line.png rename to book/assets/climate_risks_remote_sensing_line.png diff --git a/assets/climate_risks_remote_sensing_line.svg b/book/assets/climate_risks_remote_sensing_line.svg similarity index 100% rename from assets/climate_risks_remote_sensing_line.svg rename to book/assets/climate_risks_remote_sensing_line.svg diff --git a/assets/earthdata_login.png b/book/assets/earthdata_login.png similarity index 100% rename from assets/earthdata_login.png rename to book/assets/earthdata_login.png diff --git a/assets/earthdata_profile2.png b/book/assets/earthdata_profile2.png similarity index 100% rename from assets/earthdata_profile2.png rename to book/assets/earthdata_profile2.png diff --git a/assets/earthdata_profile_old.png b/book/assets/earthdata_profile_old.png similarity index 100% rename from assets/earthdata_profile_old.png rename to book/assets/earthdata_profile_old.png diff --git a/assets/image165.png b/book/assets/image165.png similarity index 100% rename from assets/image165.png rename to book/assets/image165.png diff --git a/assets/image377.jpg b/book/assets/image377.jpg similarity index 100% rename from assets/image377.jpg rename to book/assets/image377.jpg diff --git a/assets/image5.png b/book/assets/image5.png similarity index 100% rename from assets/image5.png rename to book/assets/image5.png diff --git a/assets/image7.jpeg b/book/assets/image7.jpeg similarity index 100% rename from assets/image7.jpeg rename to book/assets/image7.jpeg diff --git a/assets/logo.png b/book/assets/logo.png similarity index 100% rename from assets/logo.png rename to book/assets/logo.png diff --git a/assets/points-lines-polygons-vector-data-types.png b/book/assets/points-lines-polygons-vector-data-types.png similarity index 100% rename from assets/points-lines-polygons-vector-data-types.png rename to book/assets/points-lines-polygons-vector-data-types.png diff --git a/assets/start_server.png b/book/assets/start_server.png similarity index 100% rename from assets/start_server.png rename to book/assets/start_server.png diff --git a/assets/work_environment_jupyter_lab.png b/book/assets/work_environment_jupyter_lab.png similarity index 100% rename from assets/work_environment_jupyter_lab.png rename to book/assets/work_environment_jupyter_lab.png From 4a55a53e24db5251905cac800187bf61afc522be Mon Sep 17 00:00:00 2001 From: jnywong Date: Mon, 3 Jun 2024 11:59:56 +0000 Subject: [PATCH 02/15] Rename workflow files --- .github/workflows/{build.yml => build_container.yml} | 0 .github/workflows/{deploy.yml => deploy_jupyter_book.yml} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{build.yml => build_container.yml} (100%) rename .github/workflows/{deploy.yml => deploy_jupyter_book.yml} (100%) diff --git a/.github/workflows/build.yml b/.github/workflows/build_container.yml similarity index 100% rename from .github/workflows/build.yml rename to .github/workflows/build_container.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy_jupyter_book.yml similarity index 100% rename from .github/workflows/deploy.yml rename to .github/workflows/deploy_jupyter_book.yml From c3ea434c9043dcffa97f61b65faf3f906b94fa68 Mon Sep 17 00:00:00 2001 From: jnywong Date: Mon, 3 Jun 2024 13:00:57 +0000 Subject: [PATCH 03/15] Update table of contents --- book/_toc.yml | 45 ++++++++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/book/_toc.yml b/book/_toc.yml index d4f967f..da22f12 100644 --- a/book/_toc.yml +++ b/book/_toc.yml @@ -2,37 +2,36 @@ # Learn more at https://jupyterbook.org/customize/toc.html format: jb-book -root: intro +root: 09_Scratch/intro parts: - - caption: About this Module + - caption: Open Science chapters: - - file: about_the_tutorial/disenio_leccion - - file: about_the_tutorial/Assessment_Activities - - file: about_the_tutorial/Learner_Personas - - file: about_the_tutorial/Module_Objectives - - file: about_the_tutorial/Outcomes - - file: about_the_tutorial/Requirements - - - caption: Flood Module + - file: 01_Open_Science/Open_Science_Intro + + - caption: Geospatial fundamentals chapters: + - file: 02_Geospatial_fundamentals/2_Selecting_an_AOI - file: remote-sensing - - file: earthdata-cloud - - file: flood - - file: 1_Getting_Started_text - - file: 1_Getting_Started - - file: 1_ES_Primeros_pasos - - file: notebooks/2_ES_Flood - - file: SLIDES-NASA-TOPS-setup - - file: SLIDES-NASA-TOPS-flood - - caption: Drought Module + - caption: Geospatial data files + chapters: + - file: 03_Geospatial_data_files/geographic_data_formats + + - caption: NASA EarthData chapters: - - file: drought + - file: 04_NASA_Earthdata/0_Initial_Setup + - file: 04_NASA_Earthdata/0_Configuracion_inicial - - caption: Wildfire Module + - caption: Wildfire Analysis chapters: - - file: wildfire - + - file: 07_Wildfire_analysis/Retrieving_Disturbance_Data + - file: 07_Wildfire_analysis/Wildfire + + - caption: Flood Analysis + chapters: + - file: 08_Flood_analysis/3_Retrieving_FloodData + - file: 08_Flood_analysis/flood + - caption: Appendix chapters: - file: proposal From 58c89a1f4e36df379bbf9f66cb9d48484c171294 Mon Sep 17 00:00:00 2001 From: jnywong Date: Mon, 3 Jun 2024 13:01:24 +0000 Subject: [PATCH 04/15] Add title --- book/02_Geospatial_fundamentals/2_Selecting_an_AOI.md | 2 ++ book/07_Wildfire_analysis/Retrieving_Disturbance_Data.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/book/02_Geospatial_fundamentals/2_Selecting_an_AOI.md b/book/02_Geospatial_fundamentals/2_Selecting_an_AOI.md index cca8d4f..cf5dda5 100644 --- a/book/02_Geospatial_fundamentals/2_Selecting_an_AOI.md +++ b/book/02_Geospatial_fundamentals/2_Selecting_an_AOI.md @@ -12,6 +12,8 @@ jupyter: name: python3 --- +# Selecting an AOI + Selecting and modifying Areas of Interest (AOIs) is an important part of geospatial data analysis workflows. The Python ecosystem of libraries provide a number ways to do this, some of which will be explored and demonstrated in this notebook. In particular, we will demonstrate the following: 1. How to specify AOIs in different ways 2. How to use `geopandas` to load shapely geometries, visualize them, and perform operations such as `intersection` diff --git a/book/07_Wildfire_analysis/Retrieving_Disturbance_Data.md b/book/07_Wildfire_analysis/Retrieving_Disturbance_Data.md index 4462d19..a077e2d 100644 --- a/book/07_Wildfire_analysis/Retrieving_Disturbance_Data.md +++ b/book/07_Wildfire_analysis/Retrieving_Disturbance_Data.md @@ -12,6 +12,8 @@ jupyter: name: python3 --- +# Retrieving Disturbance Data + The [OPERA DIST-HLS data product](https://lpdaac.usgs.gov/documents/1766/OPERA_DIST_HLS_Product_Specification_V1.pdf) can be used to study the impacts and evolution of wildfires at a large scale. In this notebook, we will retrieve data associated with the [2023 Greece wildfires](https://en.wikipedia.org/wiki/2023_Greece_wildfires) to understand its evolution and extent. We will also generate a time series visualization of the event. In particular, we will be examining the area around the city of [Alexandroupolis](https://en.wikipedia.org/wiki/Alexandroupolis) which was severely impacted by the wildfires, resulting in loss of lives, property, and forested areas. From e14120fece38c34ac575e836b8409cb910a54ba3 Mon Sep 17 00:00:00 2001 From: jnywong Date: Mon, 3 Jun 2024 13:01:36 +0000 Subject: [PATCH 05/15] Fix links --- book/09_Scratch/intro.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/book/09_Scratch/intro.md b/book/09_Scratch/intro.md index 8299df3..390abdb 100644 --- a/book/09_Scratch/intro.md +++ b/book/09_Scratch/intro.md @@ -1,6 +1,6 @@ # Determining Climate Risks with NASA Earthdata Cloud -![](../../asset/banner.jpg) +![](../assets/banner.jpg) GitHub Repo: https://github.com/ScienceCore/climaterisk @@ -8,12 +8,12 @@ GitHub Repo: https://github.com/ScienceCore/climaterisk Under joint development by -![](../../asset/MD_logo.png) +![](../assets/MD_logo.png) and -![](../../asset/2i2c_logo.png) +![](../assets/2i2c_logo.png) as ScienceCore module for -![](../../asset/TOPS.png):w +![](../assets/TOPS.png) From fbfec6e280435682e80b9c0c5a4dee009263a944 Mon Sep 17 00:00:00 2001 From: jnywong Date: Mon, 3 Jun 2024 13:11:29 +0000 Subject: [PATCH 06/15] Fix links --- book/01_Open_Science/Open_Science_Intro.md | 8 ++++---- book/02_Geospatial_fundamentals/remote-sensing.md | 2 +- .../geographic_data_formats.md | 2 +- book/04_NASA_Earthdata/0_Configuracion_inicial.md | 12 ++++++------ book/04_NASA_Earthdata/0_Initial_Setup.md | 10 +++++----- book/07_Wildfire_analysis/Wildfire.md | 2 +- book/08_Flood_analysis/flood.md | 2 +- 7 files changed, 19 insertions(+), 19 deletions(-) diff --git a/book/01_Open_Science/Open_Science_Intro.md b/book/01_Open_Science/Open_Science_Intro.md index a160bd9..4d5085b 100644 --- a/book/01_Open_Science/Open_Science_Intro.md +++ b/book/01_Open_Science/Open_Science_Intro.md @@ -24,7 +24,7 @@ We aim to equip learners with the skills to analyze, visualize, and report on da - +![](../assets/image165.png) ### Availability of Open Science Resources: @@ -47,7 +47,7 @@ We aim to equip learners with the skills to analyze, visualize, and report on da - And much more.. - +![](../assets/image377.jpg) @@ -64,7 +64,7 @@ We aim to equip learners with the skills to analyze, visualize, and report on da Scientific knowledge, or research products, take the form of: - +![](../assets/image5.png) ### What is data? @@ -98,7 +98,7 @@ Results capture the different research outputs of the scientific process. Public Products are created throughout the scientific process that are needed to enable others to reproduce the findings. The products of research include data, code, analysis pipelines, papers, and more! - +![](../assets/image7.jpeg) diff --git a/book/02_Geospatial_fundamentals/remote-sensing.md b/book/02_Geospatial_fundamentals/remote-sensing.md index f332126..0f7539f 100644 --- a/book/02_Geospatial_fundamentals/remote-sensing.md +++ b/book/02_Geospatial_fundamentals/remote-sensing.md @@ -1,3 +1,3 @@ # Remote Sensing -![](../../asset/climate_risks_remote_sensing_filled.png) +![](../assets/climate_risks_remote_sensing_filled.png) diff --git a/book/03_Geospatial_data_files/geographic_data_formats.md b/book/03_Geospatial_data_files/geographic_data_formats.md index 9f36e8f..cb9b2e5 100644 --- a/book/03_Geospatial_data_files/geographic_data_formats.md +++ b/book/03_Geospatial_data_files/geographic_data_formats.md @@ -12,7 +12,7 @@ Line data is used to represent linear features. Common examples would be rivers, **Polygon data** Polygons are used to represent areas such as the boundary of a city (on a large scale map), lake, or forest. Polygon features are two dimensional and therefore can be used to measure the area and perimeter of a geographic feature.^1^ -![points-lines-polygons-vector-data-types](../../assets/points-lines-polygons-vector-data-types.png) +![points-lines-polygons-vector-data-types](../assets/points-lines-polygons-vector-data-types.png)

This image shows the three vector types: points, lines and polygons. Source: National Ecological Observatory Network.

diff --git a/book/04_NASA_Earthdata/0_Configuracion_inicial.md b/book/04_NASA_Earthdata/0_Configuracion_inicial.md index 6e0cac3..55e4cec 100644 --- a/book/04_NASA_Earthdata/0_Configuracion_inicial.md +++ b/book/04_NASA_Earthdata/0_Configuracion_inicial.md @@ -7,7 +7,7 @@ Para acceder al 2i2c Hub seguí estos sencillos pasos: -![2i2c_login](../../asset/2i2c_login.png) +![2i2c_login](../assets/2i2c_login.png) @@ -16,7 +16,7 @@ Para acceder al 2i2c Hub seguí estos sencillos pasos: * Si el acceso es correcto, verás la pantalla que se muestra a continuación. Por último elegí la opción Start para ingresar al ambiente de Jupyter lab en la nube. -![start_server](../../asset/start_server.png) +![start_server](../assets/start_server.png) @@ -25,14 +25,14 @@ Para acceder al 2i2c Hub seguí estos sencillos pasos: -![ambiente_trabajo_jupyter_lab](../../asset/work_environment_jupyter_lab.png) +![ambiente_trabajo_jupyter_lab](../assets/work_environment_jupyter_lab.png) ## 2- ¿Cómo utilizar el Earthdata de la NASA? -#### Breve introducción +### Breve introducción El programa **Earth Science Data Systems (ESDS)**, **Programa de Sistemas de Datos de Ciencias de la Tierra** de la NASA, supervisa el ciclo de vida de los datos científicos de la Tierra de todas sus misiones de observación de la Tierra, desde su adquisición hasta su procesamiento y distribución. @@ -43,13 +43,13 @@ A los efectos de esta guía, el sitio web Earthdata de la NASA es el punto de en * Ingresa al sitio de Earth Nasa: https://www.earthdata.nasa.gov/. Luego selecciona la opción "Use Data" y a continuación "Register". Por último, ingresa a https://urs.earthdata.nasa.gov/. -![earthdata_login](../../asset/earthdata_login.png) +![earthdata_login](../assets/earthdata_login.png) * Selecciona la opción "Register for a profile", allí elige un *nombre de usuario* y *contraseña*. Como sugerencia, elige aquellos que recuerdes bien, ya que los necesitarás más adelante. También deberás cargar tu perfil para compeltar el registro, en el mismo se te pedirán datos como correo, país, afiliación, entre otros. Al final, elige "Register for Earthdata Login". -![earthdata_profile](../../asset/earthdata_profile2.png) +![earthdata_profile](../assets/earthdata_profile2.png) diff --git a/book/04_NASA_Earthdata/0_Initial_Setup.md b/book/04_NASA_Earthdata/0_Initial_Setup.md index b6c4aca..34bef06 100644 --- a/book/04_NASA_Earthdata/0_Initial_Setup.md +++ b/book/04_NASA_Earthdata/0_Initial_Setup.md @@ -14,18 +14,18 @@ To access the 2i2c Hub, follow these simple steps: * Go to the 2i2c Hub. -![2i2c_login](../../asset/2i2c_login.png) +![2i2c_login](../assets/2i2c_login.png) * Enter your credentials: username and password (Note: You must have previously sent your Github account username to be enabled for access with that account). * If the login is successful, you will see the following screen. Choose the Start option to enter the JupyterLab environment in the cloud. -![2i2c_login](../../asset/start_server.png) +![2i2c_login](../assets/start_server.png) * Finally, if you see the following JupyterLab screen, you are ready to start working. -![ambiente_trabajo_jupyter_lab](../../asset/work_environment_jupyter_lab.png) +![ambiente_trabajo_jupyter_lab](../assets/work_environment_jupyter_lab.png) ## 2. Using NASA's Earthdata @@ -37,11 +37,11 @@ For the purposes of this guide, the NASA Earthdata website is the entry point th Go to the Earth Nasa website: https://www.earthdata.nasa.gov/. Then, select the option "Use Data" and then "Register". Finally, go to https://urs.earthdata.nasa.gov/. -![earthdata_login](../../asset/earthdata_login.png) +![earthdata_login](../assets/earthdata_login.png) Select the "Register for a profile" option, there choose a username and password. As a suggestion, choose ones that you remember well, as you will need them later. You will also need to complete your profile to complete the registration, where you will be asked for information such as email, country, affiliation, among others. Finally, choose "Register for Earthdata Login". -![earthdata_profile](../../asset/earthdata_profile2.png) +![earthdata_profile](../assets/earthdata_profile2.png) ## 3. Data Configuration for Access from Jupyter Notebooks diff --git a/book/07_Wildfire_analysis/Wildfire.md b/book/07_Wildfire_analysis/Wildfire.md index 07b2697..6cd0988 100644 --- a/book/07_Wildfire_analysis/Wildfire.md +++ b/book/07_Wildfire_analysis/Wildfire.md @@ -1,3 +1,3 @@ # Wildfire -![](../../asset/climate_risks_fire_color.png) +![](../assets/climate_risks_fire_color.png) diff --git a/book/08_Flood_analysis/flood.md b/book/08_Flood_analysis/flood.md index e50f18d..d2fa60c 100644 --- a/book/08_Flood_analysis/flood.md +++ b/book/08_Flood_analysis/flood.md @@ -1,4 +1,4 @@ # Flood -![](../../asset/climate_risks_flood_color.png) +![](../assets/climate_risks_flood_color.png) From 47366c7027ad5ba5b741d98e06e20ac91fd6cee1 Mon Sep 17 00:00:00 2001 From: jnywong Date: Mon, 3 Jun 2024 13:11:45 +0000 Subject: [PATCH 07/15] Fix typo and remove Appendix --- book/_toc.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/book/_toc.yml b/book/_toc.yml index da22f12..95e0f16 100644 --- a/book/_toc.yml +++ b/book/_toc.yml @@ -11,7 +11,7 @@ parts: - caption: Geospatial fundamentals chapters: - file: 02_Geospatial_fundamentals/2_Selecting_an_AOI - - file: remote-sensing + - file: 02_Geospatial_fundamentals/remote-sensing - caption: Geospatial data files chapters: @@ -31,9 +31,4 @@ parts: chapters: - file: 08_Flood_analysis/3_Retrieving_FloodData - file: 08_Flood_analysis/flood - - - caption: Appendix - chapters: - - file: proposal - title: TOPS-T Proposal \ No newline at end of file From cd842cff578e1b981628cd026e5b1fde88a7d217 Mon Sep 17 00:00:00 2001 From: jnywong Date: Wed, 5 Jun 2024 13:47:13 +0000 Subject: [PATCH 08/15] Update Jupyter Book configs --- book/_config.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/book/_config.yml b/book/_config.yml index afef983..aaf8faf 100644 --- a/book/_config.yml +++ b/book/_config.yml @@ -3,22 +3,15 @@ title: Reproducibly Analysing Wildfire, Drought, and Flood Risk with NASA Earthdata Cloud author: 2i2c / MetaDocencia -logo: logo.png +logo: assets/TOPS.png +# Auto-exclude files not in the toc +only_build_toc_files: true # Force re-execution of notebooks on each build. # See https://jupyterbook.org/content/execute.html execute: execute_notebooks: force -# Define the name of the latex output file for PDF builds -latex: - latex_documents: - targetname: book.tex - -# Add a bibtex file so that we can create citations -bibtex_bibfiles: - - references.bib - # Information about where the book exists on the web repository: url: https://github.com/ScienceCore/climaterisk # Online location of your book @@ -30,7 +23,6 @@ repository: html: use_issues_button: true use_repository_button: true - use_multitoc_numbering: false launch_buttons: From 6cd39c1fe56b9fdde04adef8bfb6c7d113bc5084 Mon Sep 17 00:00:00 2001 From: jnywong Date: Wed, 5 Jun 2024 13:48:01 +0000 Subject: [PATCH 09/15] Update GitHub action to deploy jupyter book --- .github/workflows/deploy_jupyter_book.yml | 60 +++++++++++++++-------- 1 file changed, 39 insertions(+), 21 deletions(-) diff --git a/.github/workflows/deploy_jupyter_book.yml b/.github/workflows/deploy_jupyter_book.yml index 177d57d..f676991 100644 --- a/.github/workflows/deploy_jupyter_book.yml +++ b/.github/workflows/deploy_jupyter_book.yml @@ -1,41 +1,59 @@ -name: deploy +name: deploy-jupyter-book +# Run this when the main branch changes on: - # Trigger the workflow on push to main branch push: branches: - - main + - main + # If your git repository has the Jupyter Book within some-subfolder next to + # unrelated files, you can make this run only if a file within that specific + # folder has been modified. + # + paths: + - book/** -# This job installs dependencies, build the book, and pushes it to `gh-pages` +# This job installs dependencies, builds the book, and pushes it to `gh-pages` jobs: - build-and-deploy-book: - runs-on: ${{ matrix.os }} + deploy-book: + runs-on: ubuntu-latest permissions: - contents: write - strategy: - matrix: - os: [ubuntu-latest] - python-version: [3.8] + pages: write + id-token: write steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 # Install dependencies - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + - name: Set up Python 3.11 + uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python-version }} + python-version: 3.11 + - name: Install dependencies run: | pip install -r requirements.txt + # (optional) Cache your executed notebooks between runs + # if you have in your conf.yml: + # execute: + # execute_notebooks: cache + - name: cache executed notebooks + uses: actions/cache@v3 + with: + path: _build/.jupyter_cache + key: jupyter-book-cache-${{ hashFiles('requirements.txt') }} + # Build the book - name: Build the book run: | - jupyter-book build book + jupyter-book build ./book - # Deploy the book's HTML to gh-pages branch - - name: GitHub Pages action - uses: peaceiris/actions-gh-pages@v3.6.1 + # Upload the book's HTML as an artifact + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: book/_build/html + path: "./book/_build/html" + + # Deploy the book's HTML to GitHub Pages + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 \ No newline at end of file From 6862e9decc7686d695113f3bdb9021e253537760 Mon Sep 17 00:00:00 2001 From: jnywong Date: Wed, 5 Jun 2024 15:56:52 +0000 Subject: [PATCH 10/15] Update table of contents --- book/_toc.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/book/_toc.yml b/book/_toc.yml index 95e0f16..7d74bbf 100644 --- a/book/_toc.yml +++ b/book/_toc.yml @@ -2,7 +2,7 @@ # Learn more at https://jupyterbook.org/customize/toc.html format: jb-book -root: 09_Scratch/intro +root: intro parts: - caption: Open Science chapters: @@ -31,4 +31,3 @@ parts: chapters: - file: 08_Flood_analysis/3_Retrieving_FloodData - file: 08_Flood_analysis/flood - \ No newline at end of file From 1de46e2ca1b663063df1ce3e5d6b5f394c94317a Mon Sep 17 00:00:00 2001 From: jnywong Date: Mon, 3 Jun 2024 13:01:36 +0000 Subject: [PATCH 11/15] Fix links From 881665354baa53ededc007b24a8ecc84b57e56cb Mon Sep 17 00:00:00 2001 From: jnywong Date: Mon, 3 Jun 2024 13:11:45 +0000 Subject: [PATCH 12/15] Fix typo and remove Appendix --- book/_toc.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/book/_toc.yml b/book/_toc.yml index 7d74bbf..03318e0 100644 --- a/book/_toc.yml +++ b/book/_toc.yml @@ -31,3 +31,4 @@ parts: chapters: - file: 08_Flood_analysis/3_Retrieving_FloodData - file: 08_Flood_analysis/flood + \ No newline at end of file From 9847c4643925dd288a90040fb643fc07d8b817f8 Mon Sep 17 00:00:00 2001 From: jnywong Date: Wed, 5 Jun 2024 13:48:01 +0000 Subject: [PATCH 13/15] Update GitHub action to deploy jupyter book --- book/01_Open_Science/Open_Science_Intro.md | 2 +- book/intro.md | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 book/intro.md diff --git a/book/01_Open_Science/Open_Science_Intro.md b/book/01_Open_Science/Open_Science_Intro.md index 4d5085b..a9b7fb8 100644 --- a/book/01_Open_Science/Open_Science_Intro.md +++ b/book/01_Open_Science/Open_Science_Intro.md @@ -12,7 +12,7 @@ jupyter: name: python3 --- -## About this tutorial +# About this tutorial This tutorial is part of a project which focuses on leveraging the vast amount of Earth science data available through the NASA Earthdata Cloud to better understand and forecast environmental risks such as wildfire, drought, and floods. At its core, this project embodies the principles of open science, aiming to make data, methods, and findings accessible to all. We aim to equip learners with the skills to analyze, visualize, and report on data related to these critical environmental risks through open science-based workflows and the use of cloud-based data computing. diff --git a/book/intro.md b/book/intro.md new file mode 100644 index 0000000..3cd9fb9 --- /dev/null +++ b/book/intro.md @@ -0,0 +1,19 @@ +# Determining Climate Risks with NASA Earthdata Cloud + +![](assets/banner.jpg) + + +GitHub Repo: https://github.com/ScienceCore/climaterisk + + +Under joint development by + +![](assets/MD_logo.png) + +and + +![](assets/2i2c_logo.png) + +as ScienceCore module for + +![](assets/TOPS.png) From a1bef2f9e30458fb2e325358cc5117b2caf42321 Mon Sep 17 00:00:00 2001 From: jnywong Date: Mon, 3 Jun 2024 13:00:57 +0000 Subject: [PATCH 14/15] Update table of contents --- book/_toc.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/book/_toc.yml b/book/_toc.yml index 03318e0..41a5bc4 100644 --- a/book/_toc.yml +++ b/book/_toc.yml @@ -30,5 +30,4 @@ parts: - caption: Flood Analysis chapters: - file: 08_Flood_analysis/3_Retrieving_FloodData - - file: 08_Flood_analysis/flood - \ No newline at end of file + - file: 08_Flood_analysis/flood \ No newline at end of file From 0e3828d4f616b2b526708ce1edea41013bba7833 Mon Sep 17 00:00:00 2001 From: jnywong Date: Mon, 3 Jun 2024 13:11:45 +0000 Subject: [PATCH 15/15] Fix typo and remove Appendix --- book/_toc.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/book/_toc.yml b/book/_toc.yml index 41a5bc4..03318e0 100644 --- a/book/_toc.yml +++ b/book/_toc.yml @@ -30,4 +30,5 @@ parts: - caption: Flood Analysis chapters: - file: 08_Flood_analysis/3_Retrieving_FloodData - - file: 08_Flood_analysis/flood \ No newline at end of file + - file: 08_Flood_analysis/flood + \ No newline at end of file