help download modis files with token and muti threading processing
Project description
ModisDownload
help ours down load from base url https://ladsweb.modaps.eosdis.nasa.gov/ when i use this packages , our bandwidth work in deadline with the first version we can use this download all modis file with any time in any area use like this
search_p()
search_area()
reload()
g=getHtml("your token")
g.download_main("production name","time,time1..time2","area or x1y1,x1y1","download dir")
SearchChinaData
it also can get metadata about china image search_area and now we can login the website to search more data use this kind command
from ModisDownload.InitCHN import Init
from ModisDownload.PolygonUtiles import Poly
from ModisDownload.SearchCHN import SearchData,SearchChina,Login
from ModisDownload.Base import Sensors
from ModisDownload import visited
if __name__ == '__main__':
Init(False)
login = loginTest("***", "****")
geom = Poly.Point(114.220090, 30.305615)
geom2 = Poly.Polygon(
[[105.550278, 32.174096], [105.550278, 28.707072], [109.525337, 28.707072], [109.525337, 32.174096]])
geom3 = Poly.Square(104.550278, 28.174096, 109.525337, 18.707072)
searchData = SearchData("2020-05-11", "2022-05-21",
[Sensors.HJ2A_HSI,Sensors.HJ2A_CCD]
, [geom,geom2,geom3], 100, 1,login=login)
search = SearchChina(searchData, False)
search.search()
search.save_ans("ans.csv")
return
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ModisDownload-1.7.tar.gz
(519.5 kB
view hashes)
Built Distribution
ModisDownload-1.7-py3-none-any.whl
(525.7 kB
view hashes)
Close
Hashes for ModisDownload-1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 023a4b1ff5f4e27df229d4f0fc7d849ade4ca6eefdd9b1c04d39d08cacf81aa5 |
|
MD5 | d33fa3f48313df5c154dc40baa3bb00d |
|
BLAKE2b-256 | 1f6251f0023080251b2e06d5f934295b538ebd5b81dfd8c17113e6297133e0b4 |