前のエントリã®ç¶ãã§ãã
çµå±ãWinPythonã®64bitãå©ç¨ãããã¨ã«ãã¾ããã
WinPythonã®ã¤ã³ã¹ãã¼ã«
ããã±ã¼ã¸ã®ã¤ã³ã¹ãã¼ã«
以ä¸ãWinPythonã®ã³ã³ã½ã¼ã«ã§ã®ä½æ¥
http://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal pip install GDAL-1.11.2-cp27-none-win_amd64.whl gdalã«ã¯VCredist SP1ãå¿ è¦ã¨ããã®ã§ãªã³ã¯ããã©ã£ã¦ã¤ã³ã¹ãã¼ã« http://www.lfd.uci.edu/~gohlke/pythonlibs/#rasterio pip install --no-deps rasterio-0.20.0-cp27-none-win_amd64.whl pip install affine click snuggs cligj pip insatall --no-deps landsat-util http://www.lfd.uci.edu/~gohlke/pythonlibs/#pycurl pip install pycurl-7.19.5.1-cp27-none-win_amd64.whl pip install homura termcolor boto
ããã°ã©ã ã®ä¿®æ£
windowsã§åãããã«ä»¥ä¸ã®ãã¡ã¤ã«ãä¿®æ£
C:\Users\mizutani\Downloads\WinPython-64bit-2.7.9.4\python-2.7.9.amd64\Lib\site-packages\landsat\downloader.py
ã®amazon_s3_urlã®ä»¥ä¸ã®é¨åãæ¸ãæã
return join(self.s3, sat['sat'], sat['path'], sat['row'], sat['scene'], filename).replace("\\","/")
å®è¡
æ¤ç´¢
python Scripts\landsat search --lat 35.0 --lon 135.0 --cloud 10
ãã¦ã³ãã¼ã
python Scripts\landsat download LC81100352014332LGN00 --bands 432
å¦ç
python Scripts\landsat process C:\Users\mizutani\Downloads\WinPython-64bit-2.7.9.4\settings\landsat\downloads\LC81100352014332LGN00
åèï¼ããã±ã¼ã¸ã¤ã³ã¹ãã¼ã«ã®æé ã®æå³ï¼
以ä¸ã®ãã¨ãåãã£ã¦ãªãã¦ã¯ã¾ãã¾ããã
- pip gdalã ã¨libraryã¨ããç¡ãã¨ã¨ã©ã¼ã«ãªãã
- ã¾ããgdalãwhlã§å ¥ããã¨ãrasterioã¨landsat-utilã¨ã§ä¾åãã¼ã¸ã§ã³ãéãããpip rasterioããã¨gdalãä¾åãã¼ã¸ã§ã³ã®ãã®ãpipã§å ¥ãããã¨ãã¦ã¨ã©ã¼ã«ãªãã
- ãªã®ã§ãraterioã¨landsat-utilãpipããã¨ãã«--no-depsãæå®ãã¦ä¾åããã±ã¼ã¸ãå ¥ããªãããã«ãã¦ãgdal以å¤ãå¾ããå ¥ããã
ãã®æ¹æ³ãªãvc++ã®ã¤ã³ã¹ãã¼ã«ããgdalã®ã³ã³ãã¤ã«ãå¿ è¦ãããã¾ããã
ãã¹ãéãã¨GDALã³ãã³ãã使ãã¾ãã
C:\WinPython-64bit-2.7.10.1>set PATH=%PATH%;C:\WinPython-64bit-2.7.10.1\python-2
.7.10.amd64\Lib\site-packages\osgeo