Skip to main content

FA/LFI/LFA for Python

Reason this release was yanked:

unstable

Project description

FALFILFA

Externalized FA - LFI - LFA Formats from IAL

  • LFI : "Logiciel de Fichiers Indexes"
  • FA : "Format Arpege" - overlay on top of LFI
  • LFA : format used for DDH outputs

Installing FALFILFA

Supported Platforms

  • Linux

Requirements

Building FALFILFA

Environment variables

$ export ecbuild_ROOT=`<path-to-ecbuild>`
$ export gribex_ROOT=`<path-to-your-gribex-root>`
$ export fiat_ROOT=`<path-to-fiat>`
$ export eccodes_ROOT=`<path-to-eccodes>`

Compilers could be set while building the libraries or with thoses env variables :

$ export CC=`<path-to-C-compiler>`
$ export FC=`<path-to-Fortran-compiler>`

Since, we are using ecbuild, you must compile FALFILFA out-of-source, so create a build-directory

$ mkdir build

Configuration of the build happens through standard CMake

$ cmake -S FALFILFA -B build

Extra options can be added to the cmake command to control the build:

  • -DCMAKE_BUILD_TYPE=<Debug|RelWithDebInfo|Release|Bit> default=RelWithDebInfo (typically -O2 -g)
  • -DBUILD_SHARED_LIBS=<BOTH|ON|OFF> default=ON
  • -DENABLE_SINGLE_PRECISION=<ON|OFF> default=OFF
  • -DENABLE_DOUBLE_PRECISION=<ON|OFF> default=ON
  • -DCMAKE_INSTALL_PREFIX=<install-prefix> default=/usr/local (You will need permission to install)
  • -DCMAKE_Fortran_COMPILER=< fortran compiler> default=gfortran or the set FC env variable
  • -DCMAKE_C_COMPILER=< C compiler> default=gcc or the set CC env variable

More options to control compilation flags, only when defaults are not sufficient

  • -DCMAKE_Fortran_FLAGS=<fortran-flags>
  • -DCMAKE_C_FLAGS=<c-flags>

Once this has finished successfully, run cmake --build . and cmake --install ..

Building falfilfa4py

To build the falfilfa4py python package (wheel): TBC

Caveats

The current version relies on a copy of the GRIB_API_INTERFACE module (grib_api_interface.F90) from IAL, renamed ECCODES_INTERFACE (src/fa/module/grib_api_interface.F90).

This is a temporary workaround, several options are considered to fix this caveat in a near future:

  • relying directly on ECCODES library
  • moving this module in a lower-level library, e.g. eccodes or fiat

Reporting Bugs

Issues: https://github.com/ACCORD-NWP/FALFILFA/Issues Contributions: https://github.com/ACCORD-NWP/FALFILFA/Pulls

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

falfilfa4py-1.0.1-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.6 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ x86-64

falfilfa4py-1.0.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

falfilfa4py-1.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

falfilfa4py-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

falfilfa4py-1.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

File details

Details for the file falfilfa4py-1.0.1-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for falfilfa4py-1.0.1-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e6059ee1331ac8fc5b3cd71e735cf686f035ff23f6539803636d70560d2cd789
MD5 9c010bd00e0fb641dcf11eacb762ea74
BLAKE2b-256 96e37d90ba6920286292c248f53935f194f3611d642c5f4f585a97670b4107ea

See more details on using hashes here.

File details

Details for the file falfilfa4py-1.0.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for falfilfa4py-1.0.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 228c0b615910924b2b1a7bb9f158f949c4052c803b99b56e52f4bdbe64580a04
MD5 01b6ffb966dbe72bf27ae1adde93b75b
BLAKE2b-256 f9ced3f40fb335d0dc7a3d988404c4dc79e0c390c03680e6130a6a9424dbbdf8

See more details on using hashes here.

File details

Details for the file falfilfa4py-1.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for falfilfa4py-1.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9afba9b3350bda2e549858f1b80f61486e0325fd2e7cf2f83b9dbf8adbdf6206
MD5 3497d72ebfc2f0132aae8c7fe9b0a087
BLAKE2b-256 ed67720b32d503e8fd74b5da40c1c79f7481e1485c3986f5fefea0b3ad314148

See more details on using hashes here.

File details

Details for the file falfilfa4py-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for falfilfa4py-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8cd8549694244b76ad4182966fbd6853aa09c7b2c2838cb9993d4438af45ad37
MD5 152fd6ab8cc92ca59afd0b84c0a96f77
BLAKE2b-256 e5d368a99f6d25454636ad776bafd05f383c75fe7b26bbeb42f539cf3192e5f9

See more details on using hashes here.

File details

Details for the file falfilfa4py-1.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for falfilfa4py-1.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 49cd6eb67102c3da24cb6d132305db4e7391856d0298d57e7b51d90cb2b69d0c
MD5 685774866fdc0891bc9cdd0790f23f38
BLAKE2b-256 98856891b05ad9e49beebae5b677b642dec472299cc1e8a2f1b490d007cf72a8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page