Skip to content

Commit 03bcafc

Browse files
authored
Merge pull request #125 from MiraGeoscience/GEOPY-2522
GEOPY-2522: Update simpeg fork to 0.25
2 parents 62df930 + 7d744e8 commit 03bcafc

272 files changed

Lines changed: 24249 additions & 17090 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.ci/azure/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
pool:
66
vmImage: ubuntu-latest
77
variables:
8-
python.version: "3.10"
8+
python.version: "3.11"
99
timeoutInMinutes: 240
1010
steps:
1111
# Checkout simpeg repo.

.ci/azure/pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
- task: UsePythonVersion@0
1414
inputs:
15-
versionSpec: "3.10"
15+
versionSpec: "3.11"
1616
displayName: "Setup Python"
1717

1818
- bash: |
@@ -57,7 +57,7 @@ jobs:
5757

5858
- task: UsePythonVersion@0
5959
inputs:
60-
versionSpec: "3.10"
60+
versionSpec: "3.11"
6161
displayName: "Setup Python"
6262

6363
- bash: |

.ci/azure/setup_env.sh

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,17 @@
22
set -ex #echo on and exit if any line fails
33

44
# TF_BUILD is set to True on azure pipelines.
5-
is_azure=$(${TF_BUILD:-false} | tr '[:upper:]' '[:lower:]')
5+
is_azure=$(echo "${TF_BUILD:-false}" | tr '[:upper:]' '[:lower:]')
66

77
if ${is_azure}
88
then
9+
# Add conda-forge as channel
10+
conda config --add channels conda-forge
11+
# Remove defaults channels
12+
# (both from ~/.condarc and from /usr/share/miniconda/.condarc)
13+
conda config --remove channels defaults
14+
conda config --remove channels defaults --system
15+
# Update conda
916
conda update --yes -n base conda
1017
fi
1118

@@ -30,4 +37,4 @@ echo "Conda Environment:"
3037
conda list
3138

3239
echo "Installed SimPEG version:"
33-
python -c "import simpeg; print(simpeg.__version__)"
40+
python -c "import simpeg; print(simpeg.__version__)"

.ci/azure/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
parameters:
22
os : ['ubuntu-latest']
3-
py_vers: ['3.10']
3+
py_vers: ['3.11']
44
test: ['tests/em',
55
'tests/base tests/flow tests/seis tests/utils',
66
'tests/meta',

.ci/environment_test.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ channels:
33
- conda-forge
44
dependencies:
55
- numpy>=1.22
6-
- scipy>=1.8
6+
- scipy>=1.12
77
- pymatsolver>=0.3
88
- matplotlib-base
9-
- discretize>=0.11
10-
- geoana>=0.7
9+
- discretize>=0.12
10+
- geoana>=0.8.1
1111
- libdlf
12+
- typing_extensions
1213

1314
# optional dependencies
1415
- dask
@@ -24,6 +25,8 @@ dependencies:
2425
- sphinx
2526
- sphinx-gallery>=0.1.13
2627
- sphinxcontrib-apidoc
28+
- sphinx-reredirects
29+
- sphinx-design
2730
- pydata-sphinx-theme
2831
- nbsphinx
2932
- numpydoc
@@ -43,4 +46,4 @@ dependencies:
4346
# PyPI uploading
4447
- wheel
4548
- twine
46-
- build
49+
- python-build

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Bug report
22
description: Report a bug in SimPEG.
33
title: "BUG: <Please write a comprehensive title after the 'BUG: ' prefix>"
4-
labels: [Bug]
4+
labels: ["bug"]
55

66
body:
77
- type: markdown
@@ -46,6 +46,7 @@ body:
4646
description: >
4747
Please include the output from `simpeg.Report()` to describe your system for us.
4848
Paste the output from `from simpeg import Report; print(Report())` below.
49+
render: shell
4950
validations:
5051
required: true
5152

.github/zizmor.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Zizmor configuration
2+
# --------------------
3+
#
4+
# This file configures zizmor. This is not a workflow that gets run in GitHub
5+
# Actions.
6+
#
7+
# References: https://woodruffw.github.io/zizmor/configuration
8+
9+
rules:
10+
unpinned-uses:
11+
config:
12+
policies:
13+
# Mimic default behaviour: official actions can get pinned by tag.
14+
actions/*: ref-pin
15+
# Allow to use tags to pin reviewdog actions.
16+
reviewdog/action-black: ref-pin
17+
reviewdog/action-flake8: ref-pin

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ docs/_build/
4747
docs/warnings.txt
4848
docs/content/api/generated/*
4949
.DS_Store
50-
docs/content/examples/*
51-
docs/content/tutorials/*
50+
docs/content/user-guide/examples/*
51+
docs/content/user-guide/tutorials/*
5252
docs/modules/*
5353
docs/sg_execution_times.rst
5454
.vscode/*

CITATION.rst

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1+
=============
12
Citing SimPEG
2-
-------------
3+
=============
34

4-
There is a `paper about SimPEG <http://dx.doi.org/10.1016/j.cageo.2015.09.015>`_, if you use this code, please help our scientific visibility by citing our work!
5+
There is a paper about SimPEG! If you are using this library in your research,
6+
we greatly appreciate that the software gets cited!
57

68

7-
Cockett, R., Kang, S., Heagy, L. J., Pidlisecky, A., & Oldenburg, D. W. (2015). SimPEG: An open source framework for simulation and gradient based parameter estimation in geophysical applications. Computers & Geosciences.
9+
Cockett, R., Kang, S., Heagy, L. J., Pidlisecky, A., & Oldenburg, D. W.
10+
(2015). SimPEG: An open source framework for simulation and gradient based
11+
parameter estimation in geophysical applications. Computers & Geosciences.
812

913

10-
BibTex:
14+
Here is a Bibtex entry to make things easier if you’re using Latex:
1115

1216
.. code::
1317
@@ -19,3 +23,24 @@ BibTex:
1923
publisher={Elsevier}
2024
}
2125
26+
Electromagnetics
27+
----------------
28+
29+
If you are using the :mod:`simpeg.electromagnetics` module, please also cite:
30+
31+
Lindsey J. Heagy, Rowan Cockett, Seogi Kang, Gudni K. Rosenkjaer, Douglas W. Oldenburg, A framework for simulation and inversion in electromagnetics, Computers & Geosciences, Volume 107, 2017, Pages 1-19, ISSN 0098-3004, http://dx.doi.org/10.1016/j.cageo.2017.06.018.
32+
33+
Here is a Bibtex entry to make things easier if you’re using Latex:
34+
35+
.. code::
36+
37+
@article{heagy2017,
38+
title={A framework for simulation and inversion in electromagnetics},
39+
author={Lindsey J. Heagy and Rowan Cockett and Seogi Kang and Gudni K. Rosenkjaer and Douglas W. Oldenburg},
40+
journal={Computers & Geosciences},
41+
volume={107},
42+
pages={1 - 19},
43+
year={2017},
44+
issn={0098-3004},
45+
doi={http://dx.doi.org/10.1016/j.cageo.2017.06.018}
46+
}

README.rst

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The vision is to create a package for finite volume simulation with applications
4848

4949
You are welcome to join our forum and engage with people who use and develop SimPEG at: https://simpeg.discourse.group/.
5050

51-
Weekly meetings are open to all. They are generally held on Wednesdays at 10:30am PDT. Please see the calendar (`GCAL <https://calendar.google.com/calendar/b/0?cid=ZHVhamYzMWlibThycWdkZXM5NTdoYXV2MnNAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ>`_, `ICAL <https://calendar.google.com/calendar/ical/duajf31ibm8rqgdes957hauv2s%40group.calendar.google.com/public/basic.ics>`_) for information on the next meeting.
51+
Weekly meetings are open to all. They are generally held on Wednesdays at 3:00 PM Pacific Time. Please see the calendar (`GCAL <https://calendar.google.com/calendar/b/0?cid=ZHVhamYzMWlibThycWdkZXM5NTdoYXV2MnNAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ>`_, `ICAL <https://calendar.google.com/calendar/ical/duajf31ibm8rqgdes957hauv2s%40group.calendar.google.com/public/basic.ics>`_) for information on the next meeting.
5252

5353
Overview Video
5454
==============
@@ -120,9 +120,8 @@ Meetings
120120
SimPEG hosts weekly meetings for users to interact with each other,
121121
for developers to discuss upcoming changes to the code base, and for
122122
discussing topics related to geophysics in general.
123-
Currently our meetings are held every Wednesday, alternating between
124-
a mornings (10:30 am pacific time) and afternoons (3:00 pm pacific time)
125-
on even numbered Wednesdays. Find more info on our
123+
Currently our meetings are held every Wednesday at 3:00 PM Pacific Time.
124+
Find more info on our
126125
`Mattermost <https://mattermost.softwareunderground.org/simpeg>`_.
127126

128127

0 commit comments

Comments
 (0)