From 13fc61c58899e56aec51de87601be96e3492c052 Mon Sep 17 00:00:00 2001 From: Juseth Chancay Date: Mon, 19 Feb 2024 13:37:27 -0500 Subject: [PATCH] Added PyPi metrics --- README.md | 5 +++-- setup.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6dc1036..c9209e5 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ # MeteoSatPy +[![PyPI Latest Release](https://img.shields.io/pypi/v/meteosatpy.svg)](https://pypi.org/project/meteosatpy/) +[![PyPI Downloads](https://img.shields.io/pypi/dm/meteosatpy.svg?label=PyPI%20downloads)](https://pypi.org/project/meteosatpy/) ## What is it? **MeteoSatPy** is a Python library designed for downloading and managing hydro-meteorological data sourced from satellites and global models. It offers users efficient access to near-real-time and historical weather conditions globally. With features for data acquisition, processing, and analysis. **MeteoSatPy** is a versatile tool for meteorological research, forecasting, and decision-making across various sectors. @@ -23,7 +25,6 @@ pip install meteosatpy - [netcdf4](https://unidata.github.io/netcdf4-python/): Reads and writes netCDF files compatible with older versions of the library. - [h5netcdf](https://h5netcdf.org/): A Python interface for the netCDF4 file-format that reads and writes local or remote HDF5 files. - Prior to installing **MeteoSatPy** using PyPi, we recommend creating a new conda environment with dependencies: ```sh @@ -61,7 +62,7 @@ ch.download( # Download CMORPH data cm = CMORPH() cm.download( - date=dates[i], + date=date, timestep="daily", outpath=date.strftime("cmorph_%Y-%m-%d.tif") ) diff --git a/setup.py b/setup.py index d23a7ec..948533a 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ URL = 'https://github.com/jusethCS/meteosatpy' LICENSE = 'MIT' -DESCRIPTION = 'Library designed for downloading and managing meteorological data sourced from satellites and global models' +DESCRIPTION = 'Library designed for downloading and managing meteorological data sourced from satellites and global models.' LONG_DESCRIPTION = (HERE / "README.md").read_text(encoding='utf-8') LONG_DESC_TYPE = "text/markdown"