Skip to content

Commit 35a874a

Browse files
authored
Update download link of mola32.nc from Google Drive to GitHub (#28)
* Update download link of mola32.nc from Google Drive to GitHub Copy available from https://github.com/andrebelem/PlanetaryMaps/blob/v1.0/mola32.nc * Temporarily build JupyterBook from branch * Try using conda-lock.yml to build JupyterBook Use dependencies from lockfile rather than environment.yml file. * Switch from setup-miniconda to setup-micromamba Conda/mamba can't install from conda-lock.yml directly, but micromamba should be able to. * Remove mamba list command Packages are listed under setup-micromamba action already. * Revert "Temporarily build JupyterBook from branch" This reverts commit 0214c8b.
1 parent 7032c4e commit 35a874a

File tree

3 files changed

+14
-22
lines changed

3 files changed

+14
-22
lines changed

.github/workflows/deploy-book.yml

+9-14
Original file line numberDiff line numberDiff line change
@@ -30,21 +30,16 @@ jobs:
3030

3131
# Install Mambaforge with conda-forge dependencies
3232
- name: Setup Mambaforge
33-
uses: conda-incubator/setup-[email protected]
33+
uses: mamba-org/setup-[email protected]
3434
with:
35-
activate-environment: egu22pygmt
36-
environment-file: environment.yml
37-
python-version: ${{ matrix.python-version }}
38-
channels: conda-forge
39-
channel-priority: strict
40-
miniforge-version: latest
41-
miniforge-variant: Mambaforge
42-
mamba-version: "*"
43-
use-mamba: true
44-
45-
# Show installed pkg information for postmortem diagnostic
46-
- name: List installed packages
47-
run: mamba list
35+
environment-name: egu22pygmt
36+
environment-file: conda-lock.yml
37+
create-args: >-
38+
python=${{ matrix.python-version }}
39+
condarc: |
40+
channels:
41+
- conda-forge
42+
- nodefaults
4843
4944
# Build the book
5045
- name: Build the book

book/mars_maps.ipynb

+3-5
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,16 @@
3434
"# Also, if you are in colab or trying from your jupyter, you will need the Mars Topography (MOLA) already in Netcdf\n",
3535
"# a copy of the original file distributed from the Mars Climate Database,\n",
3636
"# from the European Space Agency under ESTEC contract 11369/95/NL/JG(SC) and Centre National D'Etude Spatial\n",
37-
"# is in the gdrive.\n",
37+
"# is on GitHub.\n",
3838
"\n",
39-
"!gdown 1fDzz8AxR1T58y0IGPhmbb1ZwrTLckp2G"
39+
"!wget https://github.com/andrebelem/PlanetaryMaps/raw/v1.0/mola32.nc"
4040
]
4141
},
4242
{
4343
"cell_type": "code",
4444
"execution_count": null,
4545
"id": "11b04ce1",
46-
"metadata": {
47-
"scrolled": false
48-
},
46+
"metadata": {},
4947
"outputs": [],
5048
"source": [
5149
"import xarray as xr\n",

book/mars_maps_extended.ipynb

+2-3
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,12 @@
7575
},
7676
"outputs": [],
7777
"source": [
78-
"\n",
7978
"# Also, if you are in colab or trying from your jupyter, you will need the Mars Topography (MOLA) already in Netcdf\n",
8079
"# a copy of the original file distributed from the Mars Climate Database,\n",
8180
"# from the European Space Agency under ESTEC contract 11369/95/NL/JG(SC) and Centre National D'Etude Spatial\n",
82-
"# is in the gdrive.\n",
81+
"# is on GitHub.\n",
8382
"\n",
84-
"!gdown 1fDzz8AxR1T58y0IGPhmbb1ZwrTLckp2G"
83+
"!wget https://github.com/andrebelem/PlanetaryMaps/raw/v1.0/mola32.nc"
8584
]
8685
},
8786
{

0 commit comments

Comments
 (0)