Skip to content

Commit 26c0800

Browse files
authored
Merge pull request #972 from MPAS-Dev/develop
Merge develop to main for 1.9.0 release
2 parents 3b7f962 + 03968c8 commit 26c0800

File tree

165 files changed

+2126
-584
lines changed

Some content is hidden

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

165 files changed

+2126
-584
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ matrix:
1818
- name: "python-3.8"
1919
python: 3.8
2020
env: CONDA_ENV=py38
21-
- name: "python-3.7-xarray-master"
21+
- name: "python-3.7-xarray-main"
2222
python: 3.7
23-
env: CONDA_ENV=py37-xarray-master
23+
env: CONDA_ENV=py37-xarray-main
2424

2525
env:
2626
global:

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@ Analysis for simulations produced with Model for Prediction Across Scales
55
(MPAS) components and the Energy Exascale Earth System Model (E3SM), which
66
used those components.
77

8-
![sea surface temperature](docs/_static/sst_example.png)
8+
![sea surface temperature](docs/users_guide/_static/sst_example.png)
99

1010
## conda-forge
1111

1212
### Current build status
1313

1414
<table><tr><td>All platforms:</td>
1515
<td>
16-
<a href="https://dev.azure.com/conda-forge/feedstock-builds/_build/latest?definitionId=6243&branchName=master">
17-
<img src="https://dev.azure.com/conda-forge/feedstock-builds/_apis/build/status/mpas-analysis-feedstock?branchName=master">
16+
<a href="https://dev.azure.com/conda-forge/feedstock-builds/_build/latest?definitionId=6243&branchName=main">
17+
<img src="https://dev.azure.com/conda-forge/feedstock-builds/_apis/build/status/mpas-analysis-feedstock?branchName=main">
1818
</a>
1919
</td>
2020
</tr>
@@ -127,7 +127,7 @@ for more details.
127127
3. If you installed the `mpas-analysis` package, run:
128128
`mpas_analysis myrun.cfg`. This will read the configuration
129129
first from `mpas_analysis/default.cfg` and then replace that
130-
configuraiton with any changes from from `myrun.cfg`
130+
configuration with any changes from from `myrun.cfg`
131131
4. If you want to run a subset of the analysis, you can either set the
132132
`generate` option under `[output]` in your config file or use the
133133
`--generate` flag on the command line. See the comments in
@@ -178,7 +178,7 @@ Note: for older runs, mpas-seaice files will be named:
178178
* `mpascice.rst.0002-01-01_00000.nc`
179179
* `streams.cice`
180180
* `mpas-cice_in`
181-
Also, for older runs mpaso-in will be named:
181+
Also, for older runs `mpaso_in` will be named:
182182
* `mpas-o_in`
183183

184184

@@ -221,13 +221,13 @@ If you are running from a git repo:
221221
2. If using the `mpas-analysis` conda package, download the job script and/or
222222
sample config file from the
223223
[example configs directory](https://github.com/MPAS-Dev/MPAS-Analysis/tree/develop/configs).
224-
2. Modify the number of parallel tasks, the run name, the output directory
224+
3. Modify the number of parallel tasks, the run name, the output directory
225225
and the path to the config file for the run.
226-
3. Note: the number of parallel tasks can be anything between 1 and the
226+
4. Note: the number of parallel tasks can be anything between 1 and the
227227
number of analysis tasks to be performed. If there are more tasks than
228228
parallel tasks, later tasks will simply wait until earlier tasks have
229229
finished.
230-
4. Submit the job using the modified job script
230+
5. Submit the job using the modified job script
231231

232232

233233

azure-pipelines.yml

Lines changed: 15 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
trigger:
33
branches:
44
include:
5-
- master
5+
- main
66
- develop
77
tags:
88
include:
@@ -11,7 +11,7 @@ trigger:
1111
pr:
1212
branches:
1313
include:
14-
- master
14+
- main
1515
- develop
1616

1717
jobs:
@@ -37,7 +37,11 @@ jobs:
3737
eval "$(conda shell.bash hook)"
3838
conda config --add channels conda-forge
3939
conda config --set channel_priority strict
40-
conda install --yes "conda<22.11.0" conda-build mamba boa
40+
conda update --yes --all
41+
conda install --yes mamba
42+
# workaround based on recent failures
43+
rm /usr/share/miniconda/pkgs/cache/*.json
44+
mamba install --yes conda-build boa
4145
displayName: Update conda base environment
4246
4347
- bash: |
@@ -70,7 +74,7 @@ jobs:
7074
conda activate
7175
mamba create --yes --quiet --name docs -c ${CONDA_PREFIX}/conda-bld/ \
7276
python=$PYTHON_VERSION mpas-analysis sphinx mock sphinx_rtd_theme \
73-
tabulate m2r2 "mistune<2"
77+
tabulate "m2r2>=0.3.3" "mistune<2"
7478
condition: eq(variables['python.version'], '3.10')
7579
displayName: Create Anaconda docs environment
7680
@@ -93,7 +97,7 @@ jobs:
9397
if [[ "$(Build.SourceBranch)" == "refs/heads/develop" ]]; then
9498
export DOCS_VERSION="latest"
9599
deploy=True
96-
elif [[ "$(Build.SourceBranch)" == "refs/heads/master" ]]; then
100+
elif [[ "$(Build.SourceBranch)" == "refs/heads/main" ]]; then
97101
export DOCS_VERSION="stable"
98102
deploy=True
99103
elif [[ "$(Build.SourceBranch)" == refs/tags/* ]]; then
@@ -141,7 +145,7 @@ jobs:
141145
displayName: build and deploy docs
142146
143147
- job:
144-
displayName: xarray-master
148+
displayName: xarray-main
145149
pool:
146150
vmImage: 'ubuntu-latest'
147151
strategy:
@@ -158,7 +162,11 @@ jobs:
158162
eval "$(conda shell.bash hook)"
159163
conda config --add channels conda-forge
160164
conda config --set channel_priority strict
161-
conda install --yes python=$PYTHON_VERSION "conda<22.11.0" conda-build mamba boa
165+
conda update --yes --all
166+
conda install --yes mamba
167+
# workaround based on recent failures
168+
rm /usr/share/miniconda/pkgs/cache/*.json
169+
mamba install --yes conda-build boa
162170
displayName: Update conda base environment
163171
164172
- bash: |
@@ -187,53 +195,3 @@ jobs:
187195
conda activate mpas
188196
pytest --pyargs mpas_analysis
189197
displayName: pytest
190-
191-
- job:
192-
displayName: osx
193-
pool:
194-
vmImage: 'macOS-latest'
195-
strategy:
196-
matrix:
197-
Python39:
198-
python.version: '3.9'
199-
Python310:
200-
python.version: '3.10'
201-
Python311:
202-
python.version: '3.11'
203-
204-
steps:
205-
- bash: echo "##vso[task.prependpath]$CONDA/bin"
206-
displayName: Add conda to PATH
207-
208-
- bash: sudo chown -R 501:20 /usr/local/miniconda/pkgs
209-
displayName: Fix permissions
210-
211-
- bash: |
212-
set -e
213-
eval "$(conda shell.bash hook)"
214-
conda config --add channels conda-forge
215-
conda config --set channel_priority strict
216-
conda install --yes "conda<22.11.0" conda-build mamba boa
217-
displayName: Update conda base environment
218-
219-
- bash: |
220-
set -e
221-
eval "$(conda shell.bash hook)"
222-
conda activate
223-
conda mambabuild -m "ci/python${PYTHON_VERSION}.yaml" "ci/recipe"
224-
displayName: Build MPAS-Analysis
225-
226-
- bash: |
227-
set -e
228-
eval "$(conda shell.bash hook)"
229-
conda activate
230-
mamba create --yes --quiet --name mpas -c ${CONDA_PREFIX}/conda-bld/ \
231-
python=$PYTHON_VERSION mpas-analysis pytest
232-
displayName: Create Anaconda mpas environment
233-
234-
- bash: |
235-
set -e
236-
eval "$(conda shell.bash hook)"
237-
conda activate mpas
238-
pytest --pyargs mpas_analysis
239-
displayName: pytest

ci/recipe/meta.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% set name = "MPAS-Analysis" %}
2-
{% set version = "1.8.0" %}
2+
{% set version = "1.9.0" %}
33

44
package:
55
name: {{ name|lower }}
@@ -18,37 +18,37 @@ build:
1818

1919
requirements:
2020
host:
21-
- python >=3.7
21+
- python >=3.8
2222
- pip
2323
run:
24-
- python >=3.7
24+
- python >=3.8
2525
- bottleneck
2626
- cartopy >=0.18.0
2727
- cartopy_offlinedata
2828
- cmocean
2929
- dask
30-
- esmf >=8.0.0,<8.3.0
31-
- esmf=*=nompi_*
30+
- esmf >=8.4.2,<8.5.0
31+
- esmf=*=mpi_mpich_*
3232
- f90nml
33-
- geometric_features >=0.5.0
33+
- geometric_features >=1.2.0
3434
- gsw
3535
- lxml
36-
- mache >=1.1.2
37-
- matplotlib-base >=3.0.2
38-
- mpas_tools >=0.14.0
36+
- mache >=1.11.0
37+
- matplotlib-base >=3.6.0,!=3.7.2
38+
- mpas_tools >=0.16.0
3939
- nco >=4.8.1
4040
- netcdf4
4141
- numpy
4242
- pandas
43-
- pillow
43+
- pillow >=10.0.0,<11.0.0
4444
- progressbar2
4545
- pyproj
4646
- pyremap >=0.0.14,<0.1.0
4747
- python-dateutil
4848
- requests
4949
- scipy
5050
- setuptools
51-
- shapely
51+
- shapely >=2.0,<3.0
5252
- xarray >=0.14.1
5353

5454
test:

configs/alcf/job_script.cooley.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
source /lus/theta-fs0/projects/ccsm/acme/tools/e3sm-unified/load_latest_e3sm_unified_cooley.sh
77
# alternatively, you can load your own development environment
8-
# source ~/miniconda3/etc/profile.d/conda.sh
8+
# source ~/mambaforge/etc/profile.d/conda.sh
99
# conda activate mpas_dev
1010
# export E3SMU_MACHINE=cooley
1111

configs/compy/job_script.compy.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export OMP_NUM_THREADS=1
1010

1111
source /share/apps/E3SM/conda_envs/load_latest_e3sm_unified_compy.sh
1212
# alternatively, you can load your own development environment
13-
# source ~/miniconda3/etc/profile.d/conda.sh
13+
# source ~/mambaforge/etc/profile.d/conda.sh
1414
# conda activate mpas_dev
1515
# export E3SMU_MACHINE=compy
1616

configs/job_script.default.bash

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

88
export OMP_NUM_THREADS=1
99

10-
source ~/miniconda3/etc/profile.d/conda.sh
10+
source ~/mambaforge/etc/profile.d/conda.sh
1111
conda activate mpas_dev
1212
# if you are on an E3SM supported machine, you can specify it:
1313
# export E3SMU_MACHINE=chrysalis

0 commit comments

Comments
 (0)