Tools to download (relevant parts of) various NWP products.
Project description
NWP Downloading Utilities
Contains utilities for downloading (relevant parts) of NWP products.
Currently limited to MEPS product from the Norwegian Meteorological Office.
Products are accessed remotely using OPeNDAP and only specifically requested data is downloaded.
Development
Setting up a development space
conda create --name nwpdl-dev python=3.9
conda activate nwpdl-dev
conda install numpy xarray pandas
conda install pytest
conda install -c conda-forge pyresample
conda install -c conda-forge netCDF4
conda deactivate nwpdl-dev
conda activate nwpdl-dev
To run the tests, simply run pytest
in the base directory.
Build and Distribute
Setup environment
conda create --name nwpdl-build python=3.9
conda activate nwpdl-build
pip install --upgrade pip
pip install --upgrade build
pip install --upgrade twine
Build and upload
python -m build
python -m twine upload --repository testpypi dist/*
Drop --repository testpypi
to upload to real PyPI.
Test build
conda create --name nwpdl-test python=3.9
conda activate nwpdl-test
pip install --index-url https://test.pypi.org/simple/ --no-deps nwp-dl-utils
Drop --index-url https://test.pypi.org/simple/ --no-deps
to download from real PyPI.
References
Blame and Contact
- Volker Hoffmann (volker.hoffmann@sintef.no)
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
File details
Details for the file nwp_dl_utils-0.0.9.tar.gz
.
File metadata
- Download URL: nwp_dl_utils-0.0.9.tar.gz
- Upload date:
- Size: 20.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d69de662a30a8187eeb6fb5cbd07ec4d9956ac124a9d47fe50f61ecb7a4ac9b8 |
|
MD5 | bf61c17ba6e14acc3ed811063b444c63 |
|
BLAKE2b-256 | 818f5b165d903e6500870804b0affe6a9566d9d47807ff31b17316ca3a554a37 |
File details
Details for the file nwp_dl_utils-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: nwp_dl_utils-0.0.9-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55a270e3fb2edd9fda93b557dd9348be69774da6c6b37dcba2a65e2d3417cf82 |
|
MD5 | 6ec2fda9be2a0485066ceb8513df389a |
|
BLAKE2b-256 | 87e0cfe13f7e77726bc6726ecb30bf3e2cfca331a90356280e2e46f9869e8995 |