tseimandi
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Outils Sentinel ## `torchgeo` - Lien Github: https://github.com/microsoft/torchgeo - Datasets, samplers, transforms, and pre-trained models for geospatial data - Custom Raster Datasets (classe de `torchgeo`) : avantages par rapport à ce qu'on a fait ? - Transforms : à regarder de plus près - Bandes Sentinel-2 : ``` bands = { "B1": "Coastal Aerosol", "B2": "Blue", "B3": "Green", "B4": "Red", "B5": "Vegetation Red Edge 1", "B6": "Vegetation Red Edge 2", "B7": "Vegetation Red Edge 3", "B8": "NIR 1", "B8A": "NIR 2", "B9": "Water Vapour", "B10": "SWIR 1", "B11": "SWIR 2", "B12": "SWIR 3", } ``` - Exemple min-max normalization : calculer le min et max du dataset par bande ? - Sentinel-2 : NDVI, NDBI, NDSI, NDWI ajoutées comme bandes supplémentaires. Probablement pas très utile pour nous... (article sur l'utilisation du NDBI en apprentissage automatique. Vieux mais peut-être des idées à en tirer : https://www.researchgate.net/publication/248977308_Use_of_normalized_difference_built-up_index_in_automatically_mapping_urban_areas_from_TM_imagery) - https://torchgeo.readthedocs.io/en/stable/tutorials/indices.html : fonctions utilitaires qui peuvent être utiles pour DL Sentinel-2 ? - `torchgeo` trainers : pas évident de voir l'utilité - Modèles et poids pré-entraînés disponibles : https://torchgeo.readthedocs.io/en/stable/api/models.html ## Sentinel Hub **DEVIENT POTENTIELLEMENT VITE PAYANT ?** - Users can use APIs to retrieve satellite data over their AOI and specific time range from full archives in a matter of seconds - Requests : plusieurs paramètres - API (Processing API - par défaut, Batch Processing API, Third Party Data Import API, Catalog API, Statistical API, OGC API et "Brind Your Own Cog API") - Data collection : 11 collections disponibles - Time range - Area of interest - Output format - Package Python : - Il est nécessaire de s'authentifier, avec un access token (expire au bout d'1 heure): https://docs.sentinel-hub.com/api/latest/user-guides/beginners-guide/ - Ressources : https://www.sentinel-hub.com/develop/integrate/python-integrate/ - Notebooks : https://github.com/sentinel-hub/sentinelhub-py/tree/master/examples - Doc : https://sentinelhub-py.readthedocs.io/en/latest/ - `oauthlib` pour s'authentifier : ``` # set up credentials client = BackendApplicationClient(client_id=CLIENT_ID) oauth = OAuth2Session(client=client) # get an authentication token token = oauth.fetch_token(token_url='https://services.sentinel-hub.com/oauth/token', client_id=CLIENT_ID, client_secret=CLIENT_SECRET) ``` - Paramètres d'une requête. Les collections disponibles sont listées ici : https://docs.sentinel-hub.com/api/latest/data/ ``` bbox = [-87.72171, 17.11848, -87.342682, 17.481674] start_date = "2020-06-01" end_date = "2020-08-31" collection_id = "sentinel-2-l2a" ``` - Format du JSON : à approfondir - Requête : ``` # Set the request url and headers url_request = 'https://services.sentinel-hub.com/api/v1/process' headers_request = { "Authorization" : "Bearer %s" %token['access_token'] } #Send the request response = oauth.request( "POST", url_request, headers=headers_request, json = json_request ) ``` - La Catalog API permet de trouver toutes les données disponibles pour une ROI, une plage temporelle et une collection données : ``` json_search = { 'bbox': bbox, 'datetime': f'{start_date}T00:00:00Z/{end_date}T23:59:59Z', 'collections': [collection_id], 'limit': 1 } # set the url and headers url_search = 'https://services.sentinel-hub.com/api/v1/catalog/search' headers_search = { 'Content-Type': 'application/json' } # send the request response_search = oauth.request( "POST", url_search, headers=headers_search, json = json_search ) ``` - Sentinel-2 : L1C ou L2A ? The difference between L1C and L2A images is that L2A has been atmospherically corrected. Therefore, L2A is Bottom of Atmosphere values and L1C is Top of Atmosphere values. - Sentinel-2 : resolution -> 10m, 20m, and 60m depending on the wavelength - Processing API : Even though satellite imagery data are often distributed in "tiles", we do not want users to be limited to these. Tiles are an artificially introduced entity to make data distribution easier to handle. However, users should not have to care about whether their AOI is on one tile or another, or perhaps on the border of two tiles. This is why Sentinel Hub API hides this complexity and simply makes the data available over chosen area of interest and temporal period of interest. Tiles are therefore automatically stitched together based on defined parameters (AOI, time period, cloud coverage, priority, etc., depending on the data type). ## `sentinelsat` - https://github.com/sentinelsat/sentinelsat - Point faible : pas de L2C ? ## SAR - https://github.com/ESA-PhiLab/OpenSarToolkit ## Download de la PEPS - https://github.com/olivierhagolle/peps_download - https://peps.cnes.fr/rocket/plus/plus.html pour différents pré-traitements possibles des images sat ## `eolearn` : - https://eo-learn.readthedocs.io/en/latest/examples/land-cover-map/SI_LULC_pipeline.html ## Quelques pistes potentielles : - Faire une ACP sur les différentes bandes pour concentrer l'information radiométrique en quelques canaux. Mais pas sûre que ce soit efficace pour détecter des zones petites comme des bidonvilles - Utilisation de filtres passe-haut sur les images notamment pour mettre en valeur les contours présents. Permet peut-être de visualiser plus nettement un décalage des contours urbains dans le temps pour les bidonvilles qui émergent en périphéries ## Google Earth Engine - https://developers.google.com/earth-engine/datasets/catalog : Data catalog - SR = L2A je pense en général - Le pipeline pour retirer les nuages a pas l'air si compliqué. Qques fonctions potentiellement pénibles à répliquer mais le gros enjeu : est-ce qu'on veut faire les calculs sur du cloud (Google) ou pas ? Pour l'instant pour nous, pas bcp de calculs à faire j'imagine donc peut-être pas nécessaire ? A discuter.

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully