wildtreetech / sentinel2-bot Goto Github PK
View Code? Open in Web Editor NEW🛰📷🌏 Tweeting pictures taken by the Sentinel 2 satellite.
Home Page: https://twitter.com/sentinel2bot
License: MIT License
🛰📷🌏 Tweeting pictures taken by the Sentinel 2 satellite.
Home Page: https://twitter.com/sentinel2bot
License: MIT License
Sometimes the bot tweets the same image again. I have noticed/suspected it a couple of times, now here is hard evidence:
https://twitter.com/Sentinel2Bot/status/816264394502008840
https://twitter.com/Sentinel2Bot/status/814858131440336896
There are probably many more, because I must only notice it when it's a distinctive image and when it gets repeated quickly.
Is this understood?
Could it be tested? eg, download all the word parts of the tweets and compare?
Hey @betatim. Nice work!
It would be nice if you were able to tag the countries (and maybe cities?) shown in the tweets. Would mean that your bot's tweets show up in tag-search results.
EDIT: I will try poking in the code to see where this needs to be added, but pointers are appreciated! :)
https://twitter.com/Sentinel2Bot/status/786480930508705792
Some images are very very dark. One way of improving on that is to use some kind of adaptive adjusting of colours/brightness.
Some images where the colours must be wrong:
https://twitter.com/Sentinel2Bot/status/937970081941852160
https://twitter.com/Sentinel2Bot/status/937929463110819841
https://twitter.com/Sentinel2Bot/status/937804008198213632
https://twitter.com/Sentinel2Bot/status/937728445110542336
https://twitter.com/Sentinel2Bot/status/937426429788217345
Currently it takes a long time/a lot of CPU to verify that the bot still works. Create tests that use mock
to replace the slow running bits so that we can verify that the bot still works.
Steps:
py.test
Right now the bot does not delete images that it has already tweeted. Eventually this will fill up the hard drive. Teach the bot to delete unused images.
Need to do better at counting characters. It is all about the unicode!
For example 'Laâyoune-Sakia El Hamra ⵍⵄⵢⵓⵏ-ⵙⴰⵇⵢⴰ ⵍⵃⴰⵎⵔⴰ العيون-الساقية الحمراء, Western Sahara'
is 81 characters but if you encode it properly: len(unicodedata.normalize("NFC", 'Laâyoune-Sakia El Hamra ⵍⵄⵢⵓⵏ-ⵙⴰⵇⵢⴰ ⵍⵃⴰⵎⵔⴰ العيون-الساقية الحمراء, Western Sahara').encode('utf-8'))
it is 134 "characters"
Good yet simple algorithm for picking visually interesting pictures.
(This issue is about finding a super simple algorithm to make this decision, if you want to use something complicated like machine-learning open a new issue)
I saw the tweets because it sometimes says "Unknown location, do you know it? Tell @openstreetmap" e.g. https://twitter.com/Sentinel2Bot/status/785543415547191296
what does this mean? and what are we supposed to be telling OpenStreetMap?
...is my question. I guess the answer might be added to the README here
The roadmap. What is on the horizon for Sentinel bot?
https://twitter.com/Sentinel2Bot/status/1161794634454065152?s=20
Particularly for images like this it would be cool to just zoom in and browse around
For images with a lot of clouds the ground is very dark. For example:
You could improve this by using a larger top end clip for scenes that have a lot of cloud.
As an example: the same image as above but by hand clipping a lot more at the top:
The clouds get clipped and you lose details there but you can see the ground.
To do: experiment with what a good clip value is. MGRS code for the example image: T47PNN_20190127T034021_rgb_small.jpg
cc @ozjtigger1
There is Py6S which can drive 6S to do atmospheric corrections. Step one would be to understand which parameters we need to know, how to look them up for our tiles, then compute big lookup tables for processing of images.
Py6S on github: https://github.com/robintw/py6s
Work ongoing for creating a LUT: robintw/Py6S#8
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.