bugsuse / pytropomi

To download Sentinel-5 Product from TROPOMI's s5phub
MIT License
22 stars 8 forks source link

pytropomi

This python module is to download Sentinel-5 from s5phub data center of TROPOMI, and now just support to download Sentinel-5 product. Please read User'guide if you want to know about the details of Sentinel-5 data.

Install

To install the pachage using commands as follow

   git clone https://github.com/bugsuse/pytropomi.git
   cd pytropomi
   python setup.py install

Usage

The package now support to download the multi-type product, including Level1B and Level2 product of NO2, O3, SO2 and so on, given the date range, and you can provide a pair of longitude and latitude coordinate or a polygon and/or the interaction area of two polygon to filter the product

    from datetime import datetime
    from pytropomi.downs5p import downs5p

    beginPosition = datetime(2019, 7, 7, 0)
    endPosition = datetime(2019, 7, 7, 23)

    pro = 'L2__NO2___'

    longitude = 120
    latitude = 30

    downs5p(producttype=pro, longitude=longitude, latitude=latitude, processingmode='Near real time',
            beginPosition=beginPosition, endPosition=endPosition)

Please check the scripts inside the examples directory to get the usage about the package.