Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update download link of mola32.nc from Google Drive to GitHub #28

Merged
merged 6 commits into from
Jul 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 9 additions & 14 deletions .github/workflows/deploy-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,16 @@ jobs:

# Install Mambaforge with conda-forge dependencies
- name: Setup Mambaforge
uses: conda-incubator/setup-[email protected]
uses: mamba-org/setup-[email protected]
with:
activate-environment: egu22pygmt
environment-file: environment.yml
python-version: ${{ matrix.python-version }}
channels: conda-forge
channel-priority: strict
miniforge-version: latest
miniforge-variant: Mambaforge
mamba-version: "*"
use-mamba: true

# Show installed pkg information for postmortem diagnostic
- name: List installed packages
run: mamba list
environment-name: egu22pygmt
environment-file: conda-lock.yml
create-args: >-
python=${{ matrix.python-version }}
condarc: |
channels:
- conda-forge
- nodefaults

# Build the book
- name: Build the book
Expand Down
8 changes: 3 additions & 5 deletions book/mars_maps.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,16 @@
"# Also, if you are in colab or trying from your jupyter, you will need the Mars Topography (MOLA) already in Netcdf\n",
"# a copy of the original file distributed from the Mars Climate Database,\n",
"# from the European Space Agency under ESTEC contract 11369/95/NL/JG(SC) and Centre National D'Etude Spatial\n",
"# is in the gdrive.\n",
"# is on GitHub.\n",
"\n",
"!gdown 1fDzz8AxR1T58y0IGPhmbb1ZwrTLckp2G"
"!wget https://github.com/andrebelem/PlanetaryMaps/raw/v1.0/mola32.nc"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "11b04ce1",
"metadata": {
"scrolled": false
},
"metadata": {},
"outputs": [],
"source": [
"import xarray as xr\n",
Expand Down
5 changes: 2 additions & 3 deletions book/mars_maps_extended.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,12 @@
},
"outputs": [],
"source": [
"\n",
"# Also, if you are in colab or trying from your jupyter, you will need the Mars Topography (MOLA) already in Netcdf\n",
"# a copy of the original file distributed from the Mars Climate Database,\n",
"# from the European Space Agency under ESTEC contract 11369/95/NL/JG(SC) and Centre National D'Etude Spatial\n",
"# is in the gdrive.\n",
"# is on GitHub.\n",
"\n",
"!gdown 1fDzz8AxR1T58y0IGPhmbb1ZwrTLckp2G"
"!wget https://github.com/andrebelem/PlanetaryMaps/raw/v1.0/mola32.nc"
]
},
{
Expand Down