Skip to content

Commit

Permalink
Fix documentation env var
Browse files Browse the repository at this point in the history
  • Loading branch information
danlooo committed Dec 19, 2023
1 parent 588fd34 commit 5d96854
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ Processing data on a openEO server requires authentication.

```@example tutorial
using OpenEOClient
username = ENV["username"]
password = ENV["password"]
username = ENV["OPENEO_USERNAME"]
password = ENV["OPENEO_PASSWORD"]
c = connect("earthengine.openeo.org", "v1.0", username, password)
step1 = c.load_collection(
"COPERNICUS/S2", BoundingBox(west=16.06, south=48.06, east=16.65, north=48.35),
["2020-01-01", "2020-01-31"], ["B10"]
)
step2 = c.reduce_dimension(step1, Reducer("median"), "t", nothing)
step2 = c.reduce_dimension(step1, ProcessGraph("median"), "t", nothing)
step3 = c.save_result(step2, "GTIFF-ZIP", Dict())
path = c.compute_result(step3)
```
Expand Down

0 comments on commit 5d96854

Please sign in to comment.