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.4.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nwp_dl_utils-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 5d72de0c49eca89ae5654871771bbfc26546b5969ec88feee0eef9823414ca83
MD5 f98d8045d44d6fbfdc342ff819b7b5b9
BLAKE2b-256 463fc7bb6bc94050665981a2528731a9153ef16af39bde7a1b2783c992da71f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nwp_dl_utils-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c9f8bb70bba4faf4663c95ee326c4d43a0038d580c8872ac6701291b964bb8a0
MD5 c7b32a14babac7a1a5d06dec3ba553ac
BLAKE2b-256 b8ad5cbd91754d6ccf6b24bd9c13bf8f1a37f5d9a9db0dea201e83174aba4b95

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