Skip to content

Commit

Permalink
Merge pull request #857 from MPAS-Dev/develop
Browse files Browse the repository at this point in the history
Merge `develop` into `master` for v1.6.0 release
  • Loading branch information
xylar authored Feb 3, 2022
2 parents f3d27a2 + cb2b57b commit bd151d2
Show file tree
Hide file tree
Showing 111 changed files with 1,327 additions and 6,456 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ used those components.

[https://mpas-dev.github.io/MPAS-Analysis/stable/](https://mpas-dev.github.io/MPAS-Analysis/stable/)

## Installation
## Installation for users

MPAS-Analysis is available as an anaconda package via the `conda-forge` channel:

Expand All @@ -40,6 +40,8 @@ conda create -n mpas-analysis mpas-analysis
conda activate mpas-analysis
```

## Installation for developers

To use the latest version for developers, get the code from:
[https://github.com/MPAS-Dev/MPAS-Analysis](https://github.com/MPAS-Dev/MPAS-Analysis)

Expand Down
18 changes: 9 additions & 9 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ jobs:
vmImage: 'ubuntu-latest'
strategy:
matrix:
Python37:
python.version: '3.7'
Python38:
python.version: '3.8'
Python39:
python.version: '3.9'
Python310:
python.version: '3.10'

steps:
- bash: echo "##vso[task.prependpath]$CONDA/bin"
Expand Down Expand Up @@ -62,8 +62,8 @@ jobs:
conda activate build
conda create --yes --quiet --name docs -c ${CONDA_PREFIX}/conda-bld/ \
python=$PYTHON_VERSION mpas-analysis sphinx mock sphinx_rtd_theme \
tabulate m2r
condition: eq(variables['python.version'], '3.8')
tabulate m2r2 "mistune<2"
condition: eq(variables['python.version'], '3.9')
displayName: Create Anaconda docs environment
- bash: |
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
fi
popd || exit 1
fi
condition: eq(variables['python.version'], '3.8')
condition: eq(variables['python.version'], '3.9')
displayName: build and deploy docs
- job:
Expand All @@ -137,8 +137,8 @@ jobs:
vmImage: 'ubuntu-latest'
strategy:
matrix:
Python38:
python.version: '3.8'
Python39:
python.version: '3.9'

steps:
- bash: echo "##vso[task.prependpath]$CONDA/bin"
Expand Down Expand Up @@ -178,12 +178,12 @@ jobs:
vmImage: 'macOS-latest'
strategy:
matrix:
Python37:
python.version: '3.7'
Python38:
python.version: '3.8'
Python39:
python.version: '3.9'
Python310:
python.version: '3.10'

steps:
- bash: echo "##vso[task.prependpath]$CONDA/bin"
Expand Down
2 changes: 1 addition & 1 deletion ci/python3.7.yaml → ci/python3.10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ pin_run_as_build:
min_pin: x.x
max_pin: x.x
python:
- 3.7.* *_cpython
- 3.10.* *_cpython
6 changes: 3 additions & 3 deletions ci/recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set name = "MPAS-Analysis" %}
{% set version = "1.5.0" %}
{% set version = "1.6.0" %}

package:
name: {{ name|lower }}
Expand All @@ -18,10 +18,10 @@ build:

requirements:
host:
- python >=3.7,<3.10
- python >=3.7
- pip
run:
- python >=3.7,<3.10
- python >=3.7
- bottleneck
- cartopy >=0.18.0
- cartopy_offlinedata
Expand Down
152 changes: 0 additions & 152 deletions configs/acme1/config.20180129.DECKv1b_piControl.ne30_oEC.edison

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,10 @@ parallelTaskCount = 4
# handle 12 simultaneous processes, one for each monthly climatology.
ncclimoParallelMode = serial

[diagnostics]
## config options related to observations, mapping files and region files used
## by MPAS-Analysis in diagnostics computations.

# The base path to the diagnostics directory. Typically, this will be a shared
# directory on each E3SM supported machine (see the example config files for
# its location). For other machines, this would be the directory pointed to
# when running "download_analysis_data.py" to get the public observations,
# mapping files and region files.
baseDirectory = /lus/theta-fs0/projects/ClimateEnergy_3/diagnostics
# the number of total threads to use when ncclimo runs in "bck" or "mpi" mode.
# Reduce this number if ncclimo is crashing (maybe because it is out of memory).
# The number of threads must be a factor of 12 (1, 2, 3, 4, 6 or 12).
ncclimoThreads = 4

[input]
## options related to reading in the results to be analyzed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,18 @@ mainRunName = 20190405.GMPAS-DIB-IAF-ISMF.T62_oRRS30to10v3wLI.theta
## options related to executing parallel tasks

# the number of parallel tasks (1 means tasks run in serial, the default)
parallelTaskCount = 12
parallelTaskCount = 4

# the parallelism mode in ncclimo ("serial" or "bck")
# Set this to "bck" (background parallelism) if running on a machine that can
# handle 12 simultaneous processes, one for each monthly climatology.
ncclimoParallelMode = bck

# the number of total threads to use when ncclimo runs in "bck" or "mpi" mode.
# Reduce this number if ncclimo is crashing (maybe because it is out of memory).
# The number of threads must be a factor of 12 (1, 2, 3, 4, 6 or 12).
ncclimoThreads = 4

[diagnostics]
## config options related to observations, mapping files and region files used
## by MPAS-Analysis in diagnostics computations.
Expand Down
Loading

0 comments on commit bd151d2

Please sign in to comment.