Metadata-Version: 2.4
Name: pysteps-nwp-importers
Version: 1.1.1
Summary: Pysteps plugin to import a variety of NWP rainfall forecasts
Keywords: pysteps_nwp_importers,pysteps,plugin,importer
Author: pySTEPS developers
License-Expression: BSD-3-Clause
License-File: LICENSE
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: dask
Requires-Dist: netcdf4
Requires-Dist: numpy
Requires-Dist: pysteps<2.0.0
Requires-Dist: scipy
Requires-Dist: pyproj
Requires-Dist: xarray
Requires-Dist: pygrib ; sys_platform != 'win32' and extra == 'pygrib'
Requires-Python: >=3.11
Provides-Extra: pygrib
Description-Content-Type: text/x-rst

pysteps-nwp-importers
=====================

Pysteps plugin to import a variety of NWP rainfall forecasts. This plugin was created with Cookiecutter and makes the NWP importers findable for the Pysteps importer functionality after installation.


License
=======
* BSD license


Documentation
=============

NWP rainfall forecast importer using pysteps utilities. This plugin currently provides importers for:

* KNMI HARMONIE NWP forecasts
* BoM NWP forecasts
* RMI NWP forecasts
* DWD NWP forecasts


Installation
============

The latest development version of pysteps_nwp_importers can be installed using
pip by running in a terminal::

    pip install git+https://github.com/pySTEPS/pysteps-nwp-importers@v1.x

The DWD importer also needs pygrib, which is installed with the ``pygrib`` extra::

    pip install "pysteps-nwp-importers[pygrib] @ git+https://github.com/pySTEPS/pysteps-nwp-importers"

Test the plugin
===============

This plugin comes with a tester, which can also be used to test whether the plugin is correctly hooked up to pysteps.

The development environment is managed with uv_. In a clone of this repository,
install the plugin with its dependencies and run the tests with::

    uv sync --all-extras
    uv run pytest -v --tb=line

The tests download their data from pysteps-data on the first run.

.. _uv: https://docs.astral.sh/uv/

Credits
=======

This package was created with Cookiecutter_ and the `cookiecutter-pysteps-plugin`_ project template. 
The `cookiecutter-pysteps-plugin`_ template was adapted from the cookiecutter-pypackage_
template.

.. _cookiecutter-pypackage: https://github.com/audreyfeldroy/cookiecutter-pypackage
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-pysteps-plugin`: https://github.com/pysteps/cookiecutter-pysteps-plugin
