Python API to SURFEX
Project description
https://coveralls.io/github/metno/pysurfex
Python API to SURFEX (pysurfex)
- An API in python to the external surface model SURFEX.
Prepare input and namelists to a SURFEX binary
Create atmospheric forcing for offline SURFEX runs
Read SURFEX output
A scheduler setup to run offline SURFEX experiments
Quality control of observations with titanlib
Optimal interpolation with gridpp
Monitor the observations usage
See online documentation in https://metno.github.io/pysurfex/
Installation of pregenerated packages from pypi (pip)
pip3 install pysurfex
User installation:
pip3 install pysurfex --user
Installation on debian based Linux system
Install the required pacakges (some might be obsolete if the pip packages contain the needed depedencies):
sudo apt-get update
sudo apt-get install -y libudunits2-dev libproj-dev libeccodes0 libeccodes-dev libnetcdf-dev netcdf-bin
The following depencies are needed. Install the non-standard ones e.g. with pip or your system installation system.
General dependencies (from pypi)
numpy
netCDF4
cfunits
pyproj
pyyaml
toml
netCDF4
f90nml
requests
To read NetCDF files:
NetCDF4
To read grib files:
eccodes
from ECMWF https://software.ecmwf.int/wiki/display/ECC/Releases installed with ENABLE_PYTHON=ON
To plot:
matplotlib
To get observations from frost.met.no API:
requests
For Quality control of observations
titanlib
db-sqlite3
For optimal interpolation and observation operators
gridpp
For testing:
pytest
Download the source code, then install pysurfex by executing the following inside the extracted folder:
Install pysurfex
poetry install
Create documentation
cd docs
# Create html documentation
make html
Examples
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pysurfex-0.0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d68cacf9f0744d941e54c9c122bf224fa408c05783483c3e8316ed7d59fa000a |
|
MD5 | 5ee3790f0e2cf5423befcd992d687e55 |
|
BLAKE2b-256 | f11acf8760aa8d2d868227530ca1b8a62672c2a6a3b95ee3c226794435672b25 |