{"id":27085619,"url":"https://github.com/albertobarrago/sentinel","last_synced_at":"2025-10-24T06:10:18.251Z","repository":{"id":284193107,"uuid":"954131309","full_name":"AlbertoBarrago/sentinel","owner":"AlbertoBarrago","description":"A contribute for the research of Corrado Malanga and Filippo Biondi ","archived":false,"fork":false,"pushed_at":"2025-03-24T16:49:15.000Z","size":39,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-03-24T17:23:40.188Z","etag":null,"topics":["data-analysis","sar"],"latest_commit_sha":null,"homepage":"https://arxiv.org/abs/2208.00811","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlbertoBarrago.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-24T15:55:11.000Z","updated_at":"2025-03-24T16:49:19.000Z","dependencies_parsed_at":"2025-03-24T17:33:58.805Z","dependency_job_id":null,"html_url":"https://github.com/AlbertoBarrago/sentinel","commit_stats":null,"previous_names":["albertobarrago/sentinel"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbertoBarrago%2Fsentinel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbertoBarrago%2Fsentinel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbertoBarrago%2Fsentinel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlbertoBarrago%2Fsentinel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlbertoBarrago","download_url":"https://codeload.github.com/AlbertoBarrago/sentinel/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247436151,"owners_count":20938532,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-analysis","sar"],"created_at":"2025-04-06T04:38:06.929Z","updated_at":"2025-10-24T06:10:12.992Z","avatar_url":"https://github.com/AlbertoBarrago.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sentinel SAR Analysis Tool\n\nA Python tool for fetching and analyzing Synthetic Aperture Radar (SAR) data from Copernicus Sentinel-1. This tool allows for data acquisition based on coordinates, processing the imagery, and applying signal processing techniques to detect subsurface anomalies.\n\n## Features\n\n- Fetch SAR data from Copernicus Open Access Hub or Copernicus Data Space Ecosystem\n\n- Define areas of interest using geographic coordinates\n- Download and process SAR imagery\n- Apply preprocessing techniques including speckle filtering\n- Detect potential subsurface features using edge detection and morphological operations\n- Visualize results with original data, processed data, and detected features\n\n\n## How to obtain API_KEY from copernicus\n``` bash\nexport KEYCLOAK_TOKEN=$(curl -s -X POST -H \"Content-Type: application/x-www-form-urlencoded\" \\\n  --data 'client_id=\u003cclient_id\u003e' \\\n  --data 'client_secret=\u003cclient_secret\u003e' \\\n  --data 'grant_type=client_credentials' \\\n  'https://identity.dataspace.copernicus.eu/auth/realms/CDSE/protocol/openid-connect/token' | jq -r .access_token)\n```\n\n## Installation\nYou can use setup.py \n```bash\npython setup.py install\n```\nor\n```bash\npip install -r requirements.txt\n```\n\n### Prerequisites\n\n- Python 3.7+\n- pip (Python package installer)\n\n### Setup\n\n1. Clone this repository:\n```bash\ngit clone https://github.com/yourusername/sentinel-sar-analysis.git\ncd sentinel-sar-analysis\n```\n\n2. Set up a virtual environment (recommended):\n\n   **Using venv** (Python's built-in virtual environment):\n   ```bash\n   # Create a virtual environment\n   python3 -m venv .venv\n   \n   # Activate the virtual environment\n   # On macOS/Linux:\n   source .venv/bin/activate\n   # On Windows:\n   # .venv\\Scripts\\activate\n   ```\n\n   **Using conda** (if you prefer Anaconda/Miniconda):\n   ```bash\n   # Create a conda environment\n   conda create -n sentinel-env python=3.9\n   \n   # Activate the conda environment\n   conda activate sentinel-env\n   ```\n\n3. Install the required dependencies:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. Set up environment variables (optional):\n\n   Create a `.env` file in the project root directory with your Copernicus credentials:\n   ```\n   CLIENT_ID=your_copernicus_client_id\n   CLIENT_SECRET=your_copernicus_client_secret\n   ```\n   \n   This step is optional but recommended if you plan to use the example script.\n\n## Usage\n\n1. Run the script:\n\n```bash\npython sentinel_sar_analysis.py\n```\n\n2. Enter your Copernicus Open Access Hub credentials when prompted\n3. Specify the area of interest by entering coordinates (or use the default Giza, Egypt coordinates)\n4. Enter the date range for SAR data acquisition\n5. The script will download and analyze the data, then display and save the results\n\n## Example\n\nThe default coordinates are set to the Giza Plateau in Egypt, which is known for its archaeological significance. The script will search for SAR data in this area and analyze it to detect potential subsurface features.\n\n## Notes\n\n\n- You need a registered account at the [Copernicus Open Access Hub](https://dataspace.copernicus.eu/)\n- The script downloads SAR data which can be large files (several GB)\n- Processing SAR data is computationally intensive and may take time depending on your hardware\n- The results are saved in a 'data' directory created in the current working directory","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertobarrago%2Fsentinel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbertobarrago%2Fsentinel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertobarrago%2Fsentinel/lists"}