Skip to content

Commit

Permalink
Merge pull request #5 from Serapieum-of-alex/abstract-class
Browse files Browse the repository at this point in the history
add an abstract class
  • Loading branch information
MAfarrag committed Jan 15, 2023
2 parents 959de6b + 0c9ce55 commit 25ad5ee
Show file tree
Hide file tree
Showing 24 changed files with 2,327 additions and 1,370 deletions.
2 changes: 0 additions & 2 deletions .coveralls.yml

This file was deleted.

8 changes: 6 additions & 2 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
python -m pip install --upgrade pip
pip install --no-cache-dir Cython
pip install --find-links=https://girder.github.io/large_image_wheels --no-cache GDAL
- name: Test GDAL installation
run: |
python -c "from osgeo import gdal"
Expand All @@ -41,8 +41,12 @@ jobs:
python setup.py install
- name: Generate coverage report
env:
ECMWF_API_URL: ${{ secrets.ECMWF_API_URL }}
ECMWF_API_KEY: ${{ secrets.ECMWF_API_KEY }}
ECMWF_API_EMAIL: ${{ secrets.ECMWF_API_EMAIL }}
run: |
python -m pytest -vvv --cov=earth2observe --cov-report=xml
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v3
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -150,3 +150,4 @@ conda/
.idea/*
examples/data/chirps/*
*.xml
tests/mo/*
8 changes: 8 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,11 @@ History

* fix pypi package names in the requirements.txt file
* fix python version in requirement.txt

0.2.0 (2023-01-15)
------------------

* bump up numpy and pyramids versions
* create an abstract class for datasource and catalog as a bluebrint for all data sources
* test all classes in CI
* use pathlib to deal with paths
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@


[![codecov](https://codecov.io/gh/Serapieum-of-alex/earth2observe/branch/main/graph/badge.svg?token=2nBcI5ijvB)](https://codecov.io/gh/Serapieum-of-alex/earth2observe)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/4c95cf4c0dd044e4b451e08355fe6ee7)](https://www.codacy.com/gh/Serapieum-of-alex/earth2observe/dashboard?utm_source=github.com&utm_medium=referral&utm_content=Serapieum-of-alex/earth2observe&utm_campaign=Badge_Grade)
![GitHub last commit](https://img.shields.io/github/last-commit/MAfarrag/earthobserve)
![GitHub forks](https://img.shields.io/github/forks/MAfarrag/earthobserve?style=social)
![GitHub Repo stars](https://img.shields.io/github/stars/MAfarrag/earthobserve?style=social)
Expand Down Expand Up @@ -60,7 +61,7 @@ pip install git+https://github.com/MAfarrag/earthobserve
## pip
to install the last release you can easly use pip
```
pip install earthobserve==0.1.7
pip install earthobserve==0.2.0
```

Quick start
Expand Down
Loading

0 comments on commit 25ad5ee

Please sign in to comment.