nasa-api
nasa-api copied to clipboard
get_asset_image() function throwing 503 server error
I try to get the earth assets images between two dates like so;
begin = '2015-01-01'
end = datetime.now().strftime('%Y-%m-%d')
assets = earth.assets(lat=1.5, lon=100.75, begin=begin, end=end)
then when I loop through the results like so;
for asset in assets:
try:
print(asset.get_asset_image())
except Exception as e:
print(str(e))
for every image I get a 503 server error for url.
I actually noticed the Earth api is down on Nasa's site, due to another api being deprecated that it relied on: https://api.nasa.gov/