Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
knutdrand committed Sep 5, 2024
2 parents 5047243 + dabe2b8 commit a15251e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ Region names that are not recognized are skipped:
```

## Fetching climate data
Fetching climate data through Google Earth Engine. The following example fetches temperature data from the ERA5 dataset for the regions of interest.
Fetching climate data through Google Earth Engine. The following example fetches temperature data from the ERA5 dataset for the regions of interest. You need to have an an account at gee, and pass the credentials to the method to make this work: https://developers.google.com/earth-engine/guides/auth

```python

import climate_health.fetch
credentials = dict(account='[email protected]', private_key='private_key')
polygons = open("../example_data/Organisation units.geojson").read()
polygons = open("polygon_file.geojson").read()
start_period = '202001' # January 2020
end_period = '202011' # December 2020
band_names = ['temperature_2m', 'total_precipitation_sum']
Expand Down

0 comments on commit a15251e

Please sign in to comment.