Skip to content

Commit

Permalink
Merge pull request #7 from ecmwf/develop
Browse files Browse the repository at this point in the history
Update Readme
  • Loading branch information
awarde96 authored May 7, 2024
2 parents d887e9e + 04aa8ed commit 46b31c8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
12 changes: 0 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Currently no pypi package available. WIll be added in the future.
**Create time series request**: Create a request for a time series request using the time series feature, set options and config for use by polytope feature extraction. NB: Assumes data is in a local FDB.

```python
from polytope_mars.api import PolytopeMars

request = {
"class": "od",
Expand All @@ -49,15 +48,4 @@ request = {
},
}

options = {
"values": {
"mapper": {"type": "octahedral", "resolution": 1280, "axes": ["latitude", "longitude"]}
},
"date": {"merge": {"with": "time", "linkers": ["T", "00"]}},
"step": {"type_change": "int"},
"number": {"type_change": "int"},
}
config = {"class": "od", "expver": "0001", "levtype": "sfc", "type": "pf"}

result = PolytopeMars(config, options).extract(request)
```
2 changes: 1 addition & 1 deletion polytope_mars/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.1"
__version__ = "0.0.3"
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
polytope
polytope
eccovjson

0 comments on commit 46b31c8

Please sign in to comment.