Skip to content

Commit 061025a

Browse files
authored
Merge branch 'main' into dependabot/github_actions/actions/download-artifact-7
2 parents f42eaa9 + 71593d7 commit 061025a

5 files changed

Lines changed: 34 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818

1919
steps:
2020
- name: Checkout repo
21-
uses: actions/checkout@v5
21+
uses: actions/checkout@v6
2222

2323
- name: Setup Node
24-
uses: actions/setup-node@v5
24+
uses: actions/setup-node@v6
2525
with:
2626
node-version: '20'
2727

@@ -32,18 +32,25 @@ 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'
46-
uses: actions/upload-artifact@v4
52+
if: success()
53+
uses: actions/upload-artifact@v6
4754
with:
4855
name: html-${{ github.sha }}
4956
path: _build/html
@@ -59,7 +66,7 @@ jobs:
5966

6067
steps:
6168
- name: Checkout repo
62-
uses: actions/checkout@v5
69+
uses: actions/checkout@v6
6370

6471
# Fetch the built HTML from the build job
6572
- name: Download HTML artifact

.github/workflows/check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
steps:
1919
- name: Checkout repo
20-
uses: actions/checkout@v5
20+
uses: actions/checkout@v6
2121

2222
- name: Setup Python
2323
uses: actions/setup-python@v6

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)