Skip to main content

FA/LFI/LFA for Python

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.0-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.3 MB view details)

Uploaded CPython 3.13tmanylinux: glibc 2.17+ x86-64

falfilfa4py-1.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

falfilfa4py-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

falfilfa4py-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

falfilfa4py-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.3 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

File details

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

File metadata

File hashes

Hashes for falfilfa4py-1.0.0-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e8026c90b83dc8b5b218afd3e190b48e52e20c686cc463266ae8d6c9d934299c
MD5 fcb14217d2ee94e31bb0fdcb8e5b1397
BLAKE2b-256 6f98ef7c5b1c2f9bdb99185b4e61d08d7d23b8ffc0bb84997938eebf69819536

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for falfilfa4py-1.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 09025f7ce689027eeb68ad26653a3ee98a49f8df9e6a89d146164454ae360910
MD5 972241b2ac5b4e29c39cf3942bde5042
BLAKE2b-256 2ed4eb86829f7403b0075835199270117b41c34cb4562f6508301044d862d768

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for falfilfa4py-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e74f520dbba85f30df6291b1683e9ebbac21f0ad0fd7367c4beaf3f6dfad4d2d
MD5 f3d7990fbd463df9ace2a16f759d7de2
BLAKE2b-256 3f6869a4c45c0b3a5ebedc1cec37589e0904b474baf31e94596479ef69b3f34d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for falfilfa4py-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 decb114801a396c88c4f9375e66d61729d28438d7dddb6d3489371f076563d13
MD5 0f2af59a25d6d9bdbf9297e39f0f55af
BLAKE2b-256 499a9713e784b0367c76dd3dded21d600da17ac73b52216cff50dd91ed01ffc5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for falfilfa4py-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1f1f500b9441d13bd2fccbb943fcd383b28760f13207c920be21cd2e5b669434
MD5 043bcf02d2c72d4846df1bcd93264706
BLAKE2b-256 e4f8d2167d9cfdb8862e8f59f5fea64f137afe7c66eb540a7dd52431c509bd90

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