Skip to content

Commit

Permalink
Remove temperature anomalies API as it is no longer supported.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendan Viscomi committed Feb 25, 2017
1 parent 7f06060 commit dde5843
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 79 deletions.
28 changes: 0 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,34 +63,6 @@ Or simply fetch the images directly:
'LC8_L1T_TOA/LC81270592014035LGN00'
```

### Earth Temperature Anomalies

Determine how much warmer or cooler a location is by using the [temperature anomalies API](https://api.nasa.gov/api.html#earth-temperature-anomalies).

Get data by address:
```python
>>> from nasa import temperature
>>> temps = temperature.address('1600 Pennsylvania Ave, Washington, DC', begin=2010)
>>> [(t.year, t.anomaly) for t in temps]
[(2010, 0.966000021),
(2011, 1.236700058),
(2012, 1.936300039),
(2013, 0.373100013),
(2014, -0.219600007)]
```

Or by coordinates:
```python
>>> from nasa import temperature
>>> temps = temperature.coordinates(lat=1.6, lon=100.3, begin=2010)
>>> [(t.year, t.anomaly) for t in temps]
[(2010, 0.987699986),
(2011, 0.572600007),
(2012, 0.661599994),
(2013, 0.8046),
(2014, 0.861299992)]
```

### Patents

See what cool patents are held in the NASA patent portfolio using the [Patents API](https://api.nasa.gov/api.html#patents).
Expand Down
51 changes: 0 additions & 51 deletions nasa/temperature.py

This file was deleted.

0 comments on commit dde5843

Please sign in to comment.