Takuya Miyashita
This site
Web
Start:
*GEE Python API [#e3188394]
**Ubuntu 上での準備 [#x55b1d58]
下のように GCloud を有効にして認証する.
#codeprettify{{
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg...
curl https://packages.cloud.google.com/apt/doc/apt-key.gp...
sudo apt-get update && sudo apt-get install google-cloud-...
sudo apt-get install google-cloud-sdk-app-engine-java goo...
gcloud init
earthengine authenticate
}}
~
**python3.10 のエラー回避 [#be987700]
#codeprettify{{
earthengine asset info users/username/assets_id
}}
で assets の情報を確認できるのだが,こうすると
#codeprettify{{
AttributeError: module 'collections' has no attribute 'Ca...
}}
というエラーが出た.どうやら python3.10 だとこうなるらし...
collections.Callable は collections.abc.Callable になって...
#codeprettify{{
/home/miyashita/.local/lib/python3.10/site-packages/httpl...
}}
の中の collections.Callable を書き換えた.
#codeprettify{{
#if isinstance(proxy_info, collections.Callable):
if isinstance(proxy_info, collections.abc.Callable):
}}
**earthengine スクリプト [#n98118ff]
[[Command Line Tool>https://developers.google.com/earth-e...
End:
*GEE Python API [#e3188394]
**Ubuntu 上での準備 [#x55b1d58]
下のように GCloud を有効にして認証する.
#codeprettify{{
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg...
curl https://packages.cloud.google.com/apt/doc/apt-key.gp...
sudo apt-get update && sudo apt-get install google-cloud-...
sudo apt-get install google-cloud-sdk-app-engine-java goo...
gcloud init
earthengine authenticate
}}
~
**python3.10 のエラー回避 [#be987700]
#codeprettify{{
earthengine asset info users/username/assets_id
}}
で assets の情報を確認できるのだが,こうすると
#codeprettify{{
AttributeError: module 'collections' has no attribute 'Ca...
}}
というエラーが出た.どうやら python3.10 だとこうなるらし...
collections.Callable は collections.abc.Callable になって...
#codeprettify{{
/home/miyashita/.local/lib/python3.10/site-packages/httpl...
}}
の中の collections.Callable を書き換えた.
#codeprettify{{
#if isinstance(proxy_info, collections.Callable):
if isinstance(proxy_info, collections.abc.Callable):
}}
**earthengine スクリプト [#n98118ff]
[[Command Line Tool>https://developers.google.com/earth-e...
Page:
Edit with a page name which already exists