remotepixel / aws-sat-api-py Goto Github PK
View Code? Open in Web Editor NEWPython port of https://github.com/RemotePixel/aws-sat-api
License: BSD 3-Clause "New" or "Revised" License
Python port of https://github.com/RemotePixel/aws-sat-api
License: BSD 3-Clause "New" or "Revised" License
Data from AWFI, PAN10M and PAN5M are already being ingested to the CBERS repository (testing phase).
The structure organization follows the same already being used for the MUX camera:
https://github.com/fredliporace/cbers-on-aws/tree/new_cameras
also mention to not use this for production
Hi @vincentsarago , congratulations for this awesome API!
I'm going to implement a new functionality to satisfy my needs, it will allow restricting searches by start_date and end_date for Sentinel2.
I would like to know if those changes would be welcome in this code.
If yes, I would be happy to implement them in a fork and than make a push request to this repo.
Hi everyone, really enjoy the project, very useful!
There seems to be a bug in the default argument of the start_date in the sentinel2 search function:
>>> from aws_sat_api.search import sentinel2
>>> utm = 16
>>> lat = 'S'
>>> grid = 'DF'
>>> full_search = False
>>> level = 'l1c'
>>> s2_meta = sentinel2(utm, lat, grid, full_search, level)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "c:\users\mark.boer\documents\git\aws-sat-api-py\aws_sat_api\search.py", line 183, in sentinel2
raise ValueError(f"Start date out of range {start_date.year} < 2015.")
ValueError: Start date out of range 2014 < 2015.
I live in the Netherlands, I think this problem lies in the fact that live in a timezone with a positive timezone offset.
I think this issue can be solved by adding a tzinfo=timezone.utc
to search.py line 172
start_date = start_date or datetime(2015, 1, 1, tzinfo=timezone.utc)
I'll create a PR later today :)
I have a dataset ID from scihub copernicus : S2B_MSIL2A_20201006T052709_N0214_R105_T43PCT_20201006T075133 and I have to download the corresponding data from AWS through aws-sat-api. Please guide how can I find the above parameters to search the dataset in AWS.
When โ๏ธ appears the function fails an return empty
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.