GEUS-Glaciology-and-Climate / mass_balance

Greenland ice sheet mass balance from 1840 through next week
https://doi.org/10.5194/essd-13-5001-2021
GNU Lesser General Public License v3.0
7 stars 3 forks source link

Improve daily summary graphic #27

Closed mankoff closed 3 months ago

mankoff commented 1 year ago

This graphic is better.

https://twitter.com/matthias_huss/status/1677221547474386946

mankoff commented 1 year ago

Also, maybe just post on a website (PROMIChttps://twitter.com/matthias_huss/status/16772E? Polar Portal?) and not on Twitter...

mankoff commented 1 year ago

Daily graphic failing as of 18 July 2023.

Traceback (most recent call last):
  File "./twitbot.py", line 113, in <module>
    api.update_status(tweet_str, media_ids=[media.media_id])
  File "/home/kdm/local/miniconda3/envs/TMB/lib/python3.8/site-packages/tweepy/api.py", line 205, in update_status
    return bind_api(
  File "/home/kdm/local/miniconda3/envs/TMB/lib/python3.8/site-packages/tweepy/binder.py", line 253, in _call
    return method.execute()
  File "/home/kdm/local/miniconda3/envs/TMB/lib/python3.8/site-packages/tweepy/binder.py", line 234, in execute
    raise TweepError(error_msg, resp, api_code=api_error_code)
tweepy.error.TweepError: [{'message': 'You currently have access to a subset of Twitter API v2 endpoints and limited v1.1 endpoints (e.g. media post, oauth) only. If you need access to this endpoint, you may need a different access level. You can learn more here: https://developer.twitter.com/en/portal/product', 'code': 453}]
make[1]: *** [dist] Error 1
make: *** [update] Error 2
mankoff commented 1 year ago

People can make their own graphic pretty easily, especially if we solve #26