VGRID
Vertical Hybrid-pressure grid generation
Components of the lib
This is composed of:
- A Fortran program (
src/mkvgrid/main.F90) for generating hybrid-pressure grid. - A Fortran library (
src/stdatm/) containing routines for standard atmosphere computations of altitude and pressure on grid levels. - A Python interface package
pyvgrid(src/pyvgrid/) to the Fortran program and library, including also utilities to plot grids usingbokeh. - Examples of namelists (
nam/) used to generate grids, including canonical ones.
Install
Using pip:
pip install pyvgrid
To recompile:
git clone https://github.com/ACCORD-NWP/vgrid.gitcd vgrid- for the python interface (incl. compilation):
python -m buildpip install dist/pyvgrid*.whl
- for the Fortran only:
0.
BUILD_DIR=<where you want to build>; INSTALL_DIR=<where you want to install>cmake -B $BUILD_DIR -DCMAKE_INSTALL_PREFIX=$INSTALL_DIRcmake --build $BUILD_DIRcmake --install $BUILD_DIR
Examples of use
-
Generation of a new grid from namelist and command-line:
- Prepare a namelist containing the parameters to tune, cf. examples in
nam/ mkvgrid <my_nam> [optionally_a_second_one_for_comparison]this will compute the grid, generate namelist blocks for NAMVV1 and NAMFPG, and open a html figure in your default browser- Option
-hto see other options of the command, especially to choose abscissa/ordinate among altitude, pressure, level number, level thickness (m or Pa).
- Prepare a namelist containing the parameters to tune, cf. examples in
-
Plot a grid from a FA file, and emulate its re-creation through
mkvgrid: cf.doc/test_vgrid_from_epygram.py
Documentation
- Scientific documentation by P.Benard (2008) is available on: http://www.umr-cnrm.fr/gmapdoc/IMG/pdf/memoeta0.pdf
- Examples of namelists (in
nam/) are auto-documented - Python interface is auto-documented
- More to come...
Metadata
Release files for pyvgrid 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 5.3 MB
Release files / pyvgrid-1.0.2-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pyvgrid-1.0.2-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.13 CPython 3.13 free-threading Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
5afd69ef647273f426c14978102838003f42c61f02c62a26ddd0fce9c2e5c472
|
|
BLAKE2b-256 checksum How to use checksums |
5136f7874911a0942e4dd49b08c849f42e8449a4e933a7ccaa125e4ec5bb8358
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / pyvgrid-1.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pyvgrid-1.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
82802395e4d62a2f8a54e41f002a233ebe6c81dde2e4e7480cb9ce6e89a663da
|
|
BLAKE2b-256 checksum How to use checksums |
7360025d5e6d61d279019a5ad68ac5e2e66e590fa72b304721deb5611541dc99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / pyvgrid-1.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pyvgrid-1.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
0788163c4a9bb298a0db6d1060fdeb2203ee6a886650a3be8ab800e5b694bd88
|
|
BLAKE2b-256 checksum How to use checksums |
79ba8667f2d74ff9be6363bba3a3302761d41d2081ae52c6de03b3b7e67313ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / pyvgrid-1.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pyvgrid-1.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
1e3ec1dce1023771f9f4664637742c59ee630d41998ff8a9abe8311bc676fad0
|
|
BLAKE2b-256 checksum How to use checksums |
f9b53fc5e37b037ca4964614734b9060302c4d74fa40983f01b36c1e1198f32e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Release files / pyvgrid-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | pyvgrid-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
86c8e142326d71e4704f8154292cc4ca4c7caebc16bce428d92fb86db7ba4e93
|
|
BLAKE2b-256 checksum How to use checksums |
3afffce440cac20cbcc9f0c457e9c55648ca1280f23ddbcbd8bd92ac064b8a3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Security for pyvgrid 1.0.2
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.