Giter Site home page Giter Site logo

pytropomi's Introduction

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

  • filter results given a pair of longitude and latitude coordinate
    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)
  • filter results given the polygon and/or the intersection area of two polygon (polygon and area params)
   from shapely.geometry import Polygon
   
   polygon = Polygon([(100, 20), (105, 25), (110, 30), (115, 35), (120, 30), (125, 25), (130, 20), (120,
   area = 20
    
   pro = 'L2_O3____'

   downs5p(producttype=pro, polygon=polygon, area=area, processingmode='Near real time', 
           beginPosition=beginPosition, endPosition=endPosition)

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

pytropomi's People

Contributors

bugsuse avatar atmosai avatar khahux avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.