Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 1 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.4%) to scientific vocabulary
Keywords
Repository
Basic Info
Statistics
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 6
- Releases: 2
Topics
Metadata Files
README.md
Google Earth Engine Python Package (GGE)
License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. So you better cite it.
Introduction
Welcome to the Google Earth Engine (GGE) Python package, a powerful toolkit designed to simplify the interaction with the Google Earth Engine API. Our focus is on satellite data analysis, providing comprehensive tools to handle data from various satellite sensors, perform advanced band mathematics, and visualize the results.
Harness the power of satellite imagery to explore and analyze the Earth's surface with ease. Whether you're conducting research, working on environmental projects, or developing innovative solutions, GGE offers the tools you need to achieve your goals.
I have not implemeted all fully, but parts works in each folder, i.e., landsat, landcover, etc..
Prerequisites
Before using this package, ensure you have the following installed:
- Python 3.8 or higher
- Google Earth Engine Python API
- Need a project that has access to Google Earth Engine, see https://developers.google.com/earth-engine/tutorials/community/intro-to-python-api
Installation
To install the package, follow these steps:
Clone the repository:
bash git clone https://github.com/aalling93/gge.gitNavigate to the package directory:
bash cd ggeInstall the required dependencies:
bash pip install -r requirements.txtor even betterbash pip install -e .
The GGE package provides a simple and intuitive interface for working with satellite data. Here are some examples:
Downloading and Displaying RGB Images
```python from gge.sensors.landsat import Landsat
Define the area and time range
area = (35.6895, 139.6917, 35.6895, 139.6917) # Tokyo coordinates time_range = ('2020-01-01', '2020-12-31')
Initialize Landsat object
landsat = Landsat(area, time_range)
Download data
landsat.download_data()
Display RGB image
landsat.display_rgb(2) ```
Accessing Specific Bands and Metadata
```python
Set the item type to Surface Reflectance Band 4
landsat.itemtype = "SRB4"
Access the first item
img, meta = landsat[0]
``` Likewise you can do
```python
Set the item type to Surface Reflectance Band 4
landsat.item_type = "EVI"
Access the first item
img, meta = landsat[0]
``` and then you get the EVI for image 0...
models
I have added a single model, for change detection/anomaly detection. It is the SOM model.
It takes a 3D numpy array of, e.g., NDWI images from a region. It then traing a SOM model and finds where the anomlaies are.
Happy analyzing!
Owner
- Name: Kristian Aalling Sørensen
- Login: aalling93
- Kind: user
- Location: Copenhagen
- Website: https://www.linkedin.com/in/ksoerensen/
- Repositories: 4
- Profile: https://github.com/aalling93
PhD. MSc. MEng. Specialization in Earth Observation.
Citation (CITATION.cff)
cff-version: 0.0.1
message: "If you use this software, please cite it as below."
authors:
- family-names: Soerensen
given-names: Kristian Aalling
orcid: https://orcid.org/0000-0001-6443-1297
title: "ggee python integration"
version: 0.0.1
date-released: 2024-07-01
url: "https://github.com/aalling93/gge"
doi: 10.5281/zenodo.12607035
GitHub Events
Total
- Push event: 3
- Pull request event: 2
- Create event: 2
Last Year
- Push event: 3
- Pull request event: 2
- Create event: 2
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 0
- Total pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: less than a minute
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: less than a minute
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- aalling93 (5)
- AlessandroCotrufo (2)
Pull Request Authors
- aalling93 (2)
- AlessandroCotrufo (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- earthengine-api >=0.1
- geopandas >=1.0.0
- google_api_python_client >=2.1
- matplotlib >=3.6
- numpy >=2.0.0
- tqdm >=4.5
- earthengine-api =>0.1
- geopandas =>1.0.0
- google_api_python_client =>2.1
- matplotlib =>3.6
- numpy =>2.0.0
- tqdm =>4.5
- earthengine-api >=0.1
- geopandas >=1.0.0
- google_api_python_client >=2.1
- matplotlib >=3.6
- numpy >=2.0.0
- tqdm >=4.5