Skip to content

Commit e17236f

Browse files
authored
Merge branch 'main' into dependabot/github_actions/actions/setup-node-6
2 parents e6cd71c + 1e8db22 commit e17236f

8 files changed

Lines changed: 33 additions & 7 deletions

File tree

.github/workflows/build.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,24 @@ jobs:
3232
- name: Print MyST version
3333
run: myst --version
3434

35-
- name: Build website as static HTML
35+
- name: Build website as static HTML (for PR)
36+
if: github.event_name == 'pull_request'
37+
run: |
38+
echo "Building MyST website without setting BASE_URL"
39+
myst build --html
40+
41+
- name: Build website as static HTML (for deploy)
42+
if: github.event_name != 'pull_request'
3643
run: |
3744
echo "Building MyST website using BASE_URL=" $BASE_URL
3845
myst build --html
3946
env:
4047
BASE_URL: /${{ github.event.repository.name }}
4148

4249
# Store the website as a build artifact so we can deploy it later
50+
# or preview the website in a PR.
4351
- name: Upload HTML website as an artifact
44-
# Only if not a pull request
45-
if: success() && github.event_name != 'pull_request'
52+
if: success()
4653
uses: actions/upload-artifact@v4
4754
with:
4855
name: html-${{ github.sha }}
15.6 KB
Binary file not shown.
15.6 KB
Binary file not shown.

environment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ name: simpeg-user-tutorials
22
channels:
33
- conda-forge
44
dependencies:
5-
- python=3.12.*
5+
- python=3.13.*
66
# Myst requirements
77
- nodejs>18
88
- mystmd
99
# Notebook requirements
1010
- jupyter
1111
- jupyterlab-myst
1212
- nbconvert
13-
- simpeg==0.24.*
14-
- discretize==0.11.*
13+
- simpeg==0.25.*
14+
- discretize==0.12.*
1515
- choclo==0.3.*
1616
- scikit-learn
1717
- pymatsolver

index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SimPEG user tutorials is the place for those who have [installed SimPEG](https:/
1010

1111

1212
:::{caution} Caution
13-
These user tutorials are meant to be run with **SimPEG v0.24**.
13+
These user tutorials are meant to be run with **SimPEG v0.25**.
1414
Please, make sure you have this version installed.
1515
:::
1616

notebooks/03-gravity/inv_gravity_anomaly_3d.ipynb

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,23 @@
383383
"The SimPEG [Data](xref:simpeg#simpeg.data.Data) class is required for inversion and connects the observed data, uncertainties and survey geometry."
384384
]
385385
},
386+
{
387+
"cell_type": "markdown",
388+
"metadata": {
389+
"execution": {
390+
"iopub.execute_input": "2025-06-02T16:23:34.738628Z",
391+
"iopub.status.busy": "2025-06-02T16:23:34.738355Z",
392+
"iopub.status.idle": "2025-06-02T16:23:34.744628Z",
393+
"shell.execute_reply": "2025-06-02T16:23:34.743489Z",
394+
"shell.execute_reply.started": "2025-06-02T16:23:34.738604Z"
395+
}
396+
},
397+
"source": [
398+
":::{important}\n",
399+
"SimPEG uses a right-handed xyz coordinate system in which the z axis points _upward_. When defining the `Data` object for a gravity inversion we must check that the `dobs` array contains the **upward** component of the gravity acceleration due to anomalous bodies.\n",
400+
":::"
401+
]
402+
},
386403
{
387404
"cell_type": "code",
388405
"execution_count": 8,

notebooks/08-tdem/fwd_tdem_1d.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@
212212
" tdem.sources.CircularLoop(\n",
213213
" receiver_list=receiver_list,\n",
214214
" location=source_location,\n",
215+
" orientation=source_orientation,\n",
215216
" waveform=stepoff_waveform,\n",
216217
" current=source_current,\n",
217218
" radius=source_radius,\n",

notebooks/08-tdem/inv_tdem_1d.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@
297297
" tdem.sources.CircularLoop(\n",
298298
" receiver_list=receiver_list,\n",
299299
" location=source_location,\n",
300+
" orientation=source_orientation,\n",
300301
" waveform=waveform,\n",
301302
" current=source_current,\n",
302303
" radius=source_radius,\n",

0 commit comments

Comments
 (0)