Skip to content

Commit

Permalink
Update notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Sep 1, 2024
1 parent 932798c commit e3e50c2
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 91 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/docs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.11"
env:
EARTHDATA_USERNAME: ${{ secrets.EARTHDATA_USERNAME }}
EARTHDATA_PASSWORD: ${{ secrets.EARTHDATA_PASSWORD }}

- name: Install GDAL
run: |
python -m pip install --upgrade pip
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: "3.11"
env:
EARTHDATA_USERNAME: ${{ secrets.EARTHDATA_USERNAME }}
EARTHDATA_PASSWORD: ${{ secrets.EARTHDATA_PASSWORD }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -26,4 +23,8 @@ jobs:
- name: PKG-TEST
run: |
python -m unittest discover tests/
- run: mkdocs gh-deploy --force
- name: Build docs
run: mkdocs gh-deploy --force
env:
EARTHDATA_USERNAME: ${{ secrets.EARTHDATA_USERNAME }}
EARTHDATA_PASSWORD: ${{ secrets.EARTHDATA_PASSWORD }}
36 changes: 0 additions & 36 deletions .github/workflows/test-earthdata.yml

This file was deleted.

47 changes: 0 additions & 47 deletions docs/workshops/pace.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,6 @@
"import hypercoast"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"if os.environ.get(\"EARTHDATA_USERNAME\") is None:\n",
" raise ValueError(\"Please set the EARTHDATA_USERNAME environment variable\")\n",
"if os.environ.get(\"EARTHDATA_PASSWORD\") is None:\n",
" raise ValueError(\"Please set the EARTHDATA_PASSWORD environment variable\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -253,13 +241,6 @@
"plot = hypercoast.view_pace_pixel_locations(filepath, step=20)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"![image](https://github.com/user-attachments/assets/91a0edd8-3c18-48a1-af75-ca0fc42bace1)"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -302,13 +283,6 @@
"hypercoast.viz_pace(dataset, wavelengths=[500, 510, 520, 530], ncols=2)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"![image](https://github.com/user-attachments/assets/f02ee287-06f5-45c0-a7d6-1c8ace3e8321)"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand All @@ -325,13 +299,6 @@
"hypercoast.viz_pace(dataset, wavelengths=[500, 510, 520, 530], ncols=2, crs=\"default\")"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"![image](https://github.com/user-attachments/assets/d94e5fc4-43c2-4bec-9432-2d0ff15a72b8)"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand All @@ -352,13 +319,6 @@
"hypercoast.extract_pace(dataset, latitude, longitude, return_plot=True)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"![image](https://github.com/user-attachments/assets/4ca54e13-3c68-4dba-b89b-69af0180114e)"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -394,13 +354,6 @@
"hypercoast.filter_pace(dataset, latitude, longitude, return_plot=True)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"![image](https://github.com/user-attachments/assets/fdc6aebe-f265-4a23-9608-198253795c03)"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down

0 comments on commit e3e50c2

Please sign in to comment.