Generic State Vector Interface for Destination Earth data.
Project description
GSV interface
A tool for accessing the GSV data from FDB and converting it into xarray.
Core idea
The current approach can be summarized in three steps:
-
Use
pyfdbto request data from theFDB. This will return apyfdb.Dataretrieverfile-like object from which you can read all GRIB messages matching a given request. -
Use
eccodes-pythonto decode the necessary information of each GRIB message (data, coordinates, attributes...). A custom iterator (MessageIterator) is used to iterate over each message in thepyfdb.DataRetrieverobject. -
If requested by the user, interpolate the result to a regular LonLat grid of choice.
All requested messages are packed in a single xarray.Dataset object and returned to the user.
Installation instructionss
The gsv-interface package is available to install through pip. It can be installed with the folloeing command:
pip install gsv-interface
Checking installation
Top check the installation was succesfull run Python and try to import gsv.
>>> import gsv
>>> gsv.__version__
This should print the version number of the chosen release.
Dependencies
The followin non-Python libraries are required:
- ecCodes: https://github.com/ecmwf/eccodes
- fdb: https://github.com/ecmwf/fdb
This tool depends on the following Python modules, which are automatically installed though pip.
- "pyfdb==0.1.2",
- "numpy",
- "xarray",
- "eccodes",
- "healpy",
- "dask",
- "netcdf4",
- "cfgrib",
- "sparse",
- "cdo",
- "smmregrid==0.1.1",
- "polytope-client",
- "pyyaml",
- "jinja2",
- "packaging"
Documentation
Docs based on sphinx can be found in the docs/ directory of the repository.
Build dependencies for the docs can be installed with the following command (it's recommended to run it in a clean environment):
pip install -r requirements.txt
Then the docs can be built with:
make html
The resulting html docs can be then found in:
docs/build/html/index.html
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gsv_interface-2.13.1.tar.gz.
File metadata
- Download URL: gsv_interface-2.13.1.tar.gz
- Upload date:
- Size: 102.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
21ed7915f91bff18b57a6708f245877811f6c31a2098535c5a7e7fe23641d40a
|
|
| MD5 |
ce3e0609d6e9e274f8aa2bb50ce73e88
|
|
| BLAKE2b-256 |
41644e4360dc907b55d965f0b4daa051d0a38693a9942d7e882b7f3f27eadc60
|
File details
Details for the file gsv_interface-2.13.1-py3-none-any.whl.
File metadata
- Download URL: gsv_interface-2.13.1-py3-none-any.whl
- Upload date:
- Size: 154.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b2616679df419e6e3da944250a23881756d449e32ec3cb2ef5cc039bf7aac88
|
|
| MD5 |
21f51682c8b8361c7f9270fe541af5db
|
|
| BLAKE2b-256 |
42e62a5173d5667a7dbdfd072b922541f889a11aa5c9db07350c65ea1ea47702
|