Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copernicus Data Space Ecosystem credentials
# Get these from: https://dataspace.copernicus.eu/
# 1. Create an account
# 2. Go to User Settings > API Keys
# 3. Create a new API key pair
COPERNICUS_CLIENT_ID=your_client_id_here
COPERNICUS_CLIENT_SECRET=your_client_secret_here
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ imgs
.coverage
coverage.xml
htmlcov/

# Environment variables
.env
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ repos:
hooks:
- id: mypy
additional_dependencies: [types-requests]
exclude: ^(venv|notebooks|anysat)/
exclude: ^(src/eval/(baseline_models|cropharvest)/|.*_marimo\.py|copernicus_marimo\.py)

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
Expand Down
1 change: 0 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ s2 = torch.randn((t, h, w, len(S2_BANDS)))
masked_output = construct_galileo_input(s2=s2, normalize=normalize)
```

If you want to see Galileo being used on real data, we also have a [notebook](visualizing_embeddings.ipynb) which generates embeddings for a real training tif file:
If you want to see Galileo being used on real data, we also have a [marimo app](visualizing_embeddings.py) which generates embeddings for a real training tif file:

<img src="diagrams/model_outputs.png" alt="Galileo model outputs" height="300px"/>

Expand Down Expand Up @@ -125,6 +125,8 @@ uv run ruff check . # Lint code
uv run ruff format . # Format code
uv run mypy . # Type checking
uv run pre-commit run --all-files # Run all pre-commit checks
uv run marimo run visualizing_embeddings.py # Run marimo app for visualization
uv run marimo edit visualizing_embeddings.py # Edit marimo app
```

**Optional - Codecov setup:**
Expand Down
Loading
Loading