Grib files downloader for sailing purposes
Project description
GRIB2Sail
Grib files downloader for sailing purposes.
Currently the supported models are:
- AROME
- AROME ANTILLE
Installation
To install GRIB2Sail simply run:
pip install grib2sail
To download GRIB from meteofrance's models (Aome), you must create a free account on meteofrance.fr. The procedure is as follow:
- Create an account on the Météo-France API portal
- Subscribe to the desired service (Arome)
- Go to "My API" then, from your subscribed model: "Generate Token"
- Checkout the curl field at the bottom, it looks like :
curl -k -X POST https://portal-api.meteofrance.fr/token -d "grant_type=client_credentials" -H "Authorization: Basic ABCDEF1234abcdef"
- The string that comes after Basic is your application ID (ABCDEF1234abcdef in this example)
- Copy/paste this application ID to GRIB2Sail when prompted (you will only be prompted the first time you use GRIB2Sail)
Usage
To get the GRIB file contianing the wind, the wind_gust, the atmospheric pressure and the cloud coverage for the area between latitude 11.5N - 12.5N and longitude 62.5W - 61.5W with a 3 hour step from the AROME ANTILLE model run:
python -m grib2sail --lat 11.5,12.5 --lon -62.5,-61.5 --step 3h --data wind,wind_gust,cloud,pressure
The first time you will be prompted to enter your application ID. It will be stored in your keyring for subsequent run.
The downloaded grib file will be present in the working directory named arome_antille_1970-01-01T00.00.00Z_3h.grib2.
It can now be imported in a navigation software such as OpenCPN
Roadmap
This is still the early stage of the development the main upcoming features are:
- adding more supported models (arpege, gfs, ecmwf...)
- adding more supported variables (rain, sea state)
- adding a GUI
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 grib2sail-0.2.0.tar.gz.
File metadata
- Download URL: grib2sail-0.2.0.tar.gz
- Upload date:
- Size: 20.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e446544769bfb08abbf4ea82a9fac54dea845416dd83dbf92d553a0cafc923b1
|
|
| MD5 |
b20967f85875880f1af3671550c1bf11
|
|
| BLAKE2b-256 |
c7db01d126cde4988c4f9e0f91647102b75e8cbec3716012584492b067413ea2
|
Provenance
The following attestation bundles were made for grib2sail-0.2.0.tar.gz:
Publisher:
release.yml on Ch1nkara/GRIB2Sail
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
grib2sail-0.2.0.tar.gz -
Subject digest:
e446544769bfb08abbf4ea82a9fac54dea845416dd83dbf92d553a0cafc923b1 - Sigstore transparency entry: 871571823
- Sigstore integration time:
-
Permalink:
Ch1nkara/GRIB2Sail@31ec6ed97e26bcec5a7c7b28497988564022cbc5 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Ch1nkara
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@31ec6ed97e26bcec5a7c7b28497988564022cbc5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file grib2sail-0.2.0-py3-none-any.whl.
File metadata
- Download URL: grib2sail-0.2.0-py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9943db16b440d12eee054e435e92ed24da214404e852707aed1abf7c065fb89f
|
|
| MD5 |
608d66b2b758ce57533bdfd9167de8df
|
|
| BLAKE2b-256 |
646eeac22d7574afe77d91c6a43a7a9bdd81203a9575639269d09fba7dd05436
|
Provenance
The following attestation bundles were made for grib2sail-0.2.0-py3-none-any.whl:
Publisher:
release.yml on Ch1nkara/GRIB2Sail
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
grib2sail-0.2.0-py3-none-any.whl -
Subject digest:
9943db16b440d12eee054e435e92ed24da214404e852707aed1abf7c065fb89f - Sigstore transparency entry: 871571825
- Sigstore integration time:
-
Permalink:
Ch1nkara/GRIB2Sail@31ec6ed97e26bcec5a7c7b28497988564022cbc5 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Ch1nkara
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@31ec6ed97e26bcec5a7c7b28497988564022cbc5 -
Trigger Event:
push
-
Statement type: