(For these shield to work, set proper name..)
π TRANSFORMING EARTH OBSERVATION IN ACTIONS FOR THE HUMAN PROSPERITY π
Use this template to kickstart your ESA-PhiLab project with all the necessary structure and documentation. You'll get:
- A professional repository structure following best practices
- Automatic GitHub Pages website generation (example: https://esa-philab.github.io/Repo-Template/)
- Pre-configured badges and documentation templates
- Standardized license and citation formats
Getting started is easy - just follow the detailed instructions in docs/readme.md
to customize the template for your specific project.
Replace this with your project name.
List all project contributors. Preferably include links to their professional profiles.
Specify the type and context of the project.
- Example: ESA Ξ¦-lab Research Fellowship β Link to ESA page
Provide a concise summary of the project goals, methodology, and outcomes.
Detailed instructions to set up and run the project.
1. Setup the development environment:
./scripts/setup.sh
2. Activate the virtual environment:
source venv/bin/activate
3. Download datasets:
./scripts/download_data.sh
4. Run tests and build:
./scripts/build.sh
This repository uses a modern Python environment standard:
- Python β₯ 3.9
- Dependencies are specified in the
pyproject.toml
file.
Manual installation:
pip install .
Or using PDM:
pdm install
Bash Scripts (in scripts/
):
setup.sh
- Sets up the development environmentbuild.sh
- Builds, tests, and packages the projectdownload_data.sh
- Downloads and processes datasetscleanup.sh
- Removes build artifacts and cache files
Python Scripts (in pyscripts/
):
download_hf_datasets.py
- Downloads from Hugging Face Hubprocess_data.py
- Data processing and analysis utilitiesexample_script.py
- Example Python utility script
Please cite the following works if you use this code:
- [Reference Paper 1]
- [Reference Paper 2]
βββ LICENSE
βββ README.md
βββ pyproject.toml # project metadata & dependencies
βββ setup.cfg # optional packaging config
βββ environment.yml # optional environment specification
βββ src/ # source code & Python package
β βββ your_package/ # replace with your package name
βββ notebooks/ # Jupyter notebooks for experiments or analysis
βββ papers/ # manuscript sources (LaTeX, figures, assets)
βββ data/ # raw/processed datasets or external links
βββ scripts/ # bash/shell scripts for automation
βββ pyscripts/ # Python scripts and utilities
βββ tests/ # unit and integration tests
βββ docs/ # documentation (Sphinx, MkDocs, GitHub Pages)
β βββ index.html # main documentation page
β βββ images/ # documentation assets (images,..)
βββ examples/ # usage examples and demos
The docs/
directory contains the project's documentation website with comprehensive information about the project, including:
- Project overview and goals
- Installation and setup instructions
- Usage examples and tutorials
- API documentation
- Links to related resources and publications
- Team and contributor information
This project is licensed under the Apache License 2.0. See the LICENSE file or read more at apache.org.
Datasets are either included in data/
or hosted externally:
Ensure external links are functional and persistent.
This repository includes utilities for downloading datasets:
Python Script (Hugging Face Hub):
# Install required dependencies
pip install huggingface_hub
# Run the download script
python pyscripts/download_hf_datasets.py
Bash Script (General Data Download):
# Download and process datasets
./scripts/download_data.sh
# Force re-download and verbose output
./scripts/download_data.sh --force --verbose
The Python script (pyscripts/download_hf_datasets.py
) provides a robust way to fetch datasets from Hugging Face Hub with automatic retries and error handling. The bash script (scripts/download_data.sh
) handles general dataset downloads and preprocessing with the following features:
- Downloads datasets from various sources
- Configurable retry mechanism for handling network issues
- Progress tracking and error reporting
- Data validation and preprocessing
- Automatic directory organization
To customize which datasets to download, edit the repo_ids
list in the script.
This repository supports GitHub Pages. Request support to enable and configure the page if needed.
For internal use only: This repository conforms to the ESA-PhiLab development and archiving standards.