Skip to main content

PHYEX

PHYsique EXternalisée

tests consistency Doxygen AROME branch

PHYEX is the atmospheric physics package (turbulence, shallow convection and microphysics schemes) shared by the Meso-NH, AROME (and HARMONIE-AROME) and LMDZ models.

The documentation can be found in the docs directory. Several presentations were done, the materials can be found on the wiki.

FORTRAN users: compiling the library

The library (and, optionally, the offline test programs) is compiled with CMake directly from the main CMakeLists.txt file.

Requirements:

  • CMake >= 3.18
  • FORTRAN and C compilers
  • git and an internet connection if ecbuild and fiat are not already installed (they are then downloaded and built automatically)
  • python >= 3.8 (with the venv module) only if the source code is transformed at build time (PHYEX_TRANSFORMATION option, the pyfortool package is then installed automatically if needed)

Example:

git clone https://github.com/UMR-CNRM/PHYEX.git
cmake -S PHYEX -B build -DCMAKE_TOOLCHAIN_FILE=PHYEX/arch/arch-gnu.ecbuild
cmake --build build -j

The build options (precision, test programs, transformations...) are described in the Offline documentation. The way to plug the library in a model is described in the Plugging documentation.

Python users: the pyphyex package

The pyphyex package provides a python binding of the main PHYEX routines (pyphyex.lowlevel) and a 1D model (pyphyex.phyex1d, with the phyex1d-* commands). It can be installed from this repository (same requirements as for the FORTRAN library, CMake >= 3.18 and the compilers, python >= 3.10):

pip install ./PHYEX

See the Offline documentation for the python binding and the phyex1d documentation for the 1D model (for instance: phyex1d-cases_install download; phyex1d-exp_run ARMCU/REF --exp dt=60).

Developers

The contribution workflows are described in the Developer documentation and the coding norms in the CodingNorms documentation.

The tools (source code preparation and test scripts, phyex-check_* commands) are provided as a python package to install, in editable mode, from the repository (python >= 3.10 recommended):

git clone https://github.com/UMR-CNRM/PHYEX.git
python3 -m venv phyex.env
. phyex.env/bin/activate
pip install -e PHYEX/tools

For instance, the offline test programs (testprogs) can be compiled, executed and compared to the reference results with the source code of a local repository (input data are downloaded automatically):

phyex-check_testprogs -p -c -r -C --computeRefIfNeeded $PWD/PHYEX REF

All the checks needed before a contribution (coding norms, consistency, documentation, python wheel and the test cases of the different models) can be run with phyex-check_commit. The tools are described in the Tools documentation.

Main references

License

PHYEX is distributed under the CeCILL-C license (see the LICENSE file).

Metadata

Release files for pyphyex 0.9.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyphyex 0.9.5
File Size Uploaded Provenance Actions
pyphyex-0.9.5.tar.gz 1.1 MB Without provenance Details for pyphyex-0.9.5.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for pyphyex 0.9.5
File Interpreter ABI Platform Actions
pyphyex-0.9.5-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64, Linux glibc 2.27+ ARM64 Details for pyphyex-0.9.5-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
pyphyex-0.9.5-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for pyphyex-0.9.5-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Total release size: 12.5 MB

Release files / pyphyex-0.9.5.tar.gz

Download URL pyphyex-0.9.5.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
b6a387dd220d986ac820d330278400d52753784435a3bbd0b2c56716f8ff3e7d
BLAKE2b-256 checksum
How to use checksums
a4aa690927d32c61033770b7906de8986ede9aea082a1751482c38bf69caf878
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / pyphyex-0.9.5-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl

Download URL pyphyex-0.9.5-py3-none-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Size 5.5 MB
Tags Linux glibc 2.27+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
6b14b04c90049d70f67978f5d371b7b2774de38b854e7bffdcea721e9a7ffa22
BLAKE2b-256 checksum
How to use checksums
da44cc3b027094774fb7e9060c80db2c3eebabf03891e845b7a015c15e51c3d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / pyphyex-0.9.5-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL pyphyex-0.9.5-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 5.8 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
b81edbb09a443aa673d86cdfa5ab3c1821fb2429a8cd9219e0c3d39b037853c0
BLAKE2b-256 checksum
How to use checksums
a933871cf8808dae6442bae300a253a4dd2ab5158fcf93958cb4525fcb456932
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for pyphyex 0.9.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.9.5 This release

3 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page