• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

RemotePixel/aws-sat-api-py: Python port of https://github.com/RemotePixel/aws-sa ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

RemotePixel/aws-sat-api-py

开源软件地址:

https://github.com/RemotePixel/aws-sat-api-py

开源编程语言:

Python 100.0%

开源软件介绍:

⚠️ Using this module could result in AWS charge (Sentinel-2 and CBERS buckets are requester-pays buckets)

aws-sat-api-py

Python port of https://github.com/RemotePixel/aws-sat-api

A really simple non-spatial API to get Landsat-8, Sentinel-2(A and B) and CBERS-4 images hosed on AWS S3

Installation

Requirement
pip install aws-sat-api

Usage

from aws_sat_api.search import landsat, cbers, sentinel2

l8_path = 178
l8_row = 80
full_search = False
l8_meta = landsat(l8_path, l8_row, full_search)


cbers_path = 178
cbers_row = 80
cbers_sensor = 'MUX'
cbers_meta = cbers(cbers_path, cbers_row, sensor)


utm = 16
lat = 'S'
grid = 'DF'
full_search = False
level = 'l1c'
s2_meta = sentinel2(utm, lat, grid, full_search, level)

CLI

awssat --help
Usage: awssat [OPTIONS] COMMAND [ARGS]...

  Search.

Options:
  --help  Show this message and exit.

Commands:
  cbers     CBERS search CLI.
  landsat   Landsat search CLI.
  sentinel  Sentinel search CLI.

Example:

Get Zoom 8 mercator tiles covering all landsat images for path/row 015/033 and 015/034

awssat landsat -pr 015-033,015-034 | jq -c '. | {"type": "Feature", "properties": {}, geometry: .geometry}' | fio collect | fio extent | supermercado burn 8 | xt -d'-'
8-72-96
8-73-96
8-74-96
8-72-97
8-73-97
8-74-97
8-72-98
8-73-98
8-74-98
8-72-99
8-73-99
8-74-99
8-72-100
8-73-100
8-74-100



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap