Skip to main content

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 -c conda-forge pyresample
conda install -c conda-forge netCDF4
conda deactivate nwpdl-dev
conda activate nwpdl-dev

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

  1. https://packaging.python.org/en/latest/tutorials/packaging-projects/.

Blame and Contact

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

nwp_dl_utils-0.0.3.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

nwp_dl_utils-0.0.3-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file nwp_dl_utils-0.0.3.tar.gz.

File metadata

  • Download URL: nwp_dl_utils-0.0.3.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for nwp_dl_utils-0.0.3.tar.gz
Algorithm Hash digest
SHA256 9e8706eec3c0c1506769931c5c6fe1cdfaa55f67f7ddd6fea60fadd367053ee2
MD5 0f4797c81d82b931d303b16740989bbb
BLAKE2b-256 406b4acd3bce5230dc462e3250ba57cd8c19eb8e73212191ccf8c8ad0217f620

See more details on using hashes here.

File details

Details for the file nwp_dl_utils-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for nwp_dl_utils-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6a801323a7517d3ddc86fb124300d27f296dbf345f6d2f5faa2fe90f3225b9c8
MD5 91a1de0767768e7f0517a2f78c495d7a
BLAKE2b-256 91d49f4bce2d352bf8d673b82c42633f48ed565ef7b544dab13cbaca3070bb8b

See more details on using hashes here.

Supported by

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