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
use this kind command
from ModisDownload.InitCHN import Init
from ModisDownload.PolygonUtiles import Poly
from ModisDownload.SearchCHN import SearchData,SearchChina
from ModisDownload.Base import Sensors
from ModisDownload import visited
def searchChinaExample():
Init(False)
geom = Poly.Point(123.1231, 34.123)
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("2021-05-11", "2022-05-21",
[Sensors.GF1B_PMS, Sensors.LT1B_SAR, Sensors.GF4_B3,
Sensors.ZY302_NAD, Sensors.GF5_EMI, Sensors.CSES_GRO]
, [geom, geom2, geom3], 60, 1)
search = SearchChina(searchData, True)
search.search()
search.save_ans("ans.csv")
return
if __name__ == '__main__':
searchChinaExample()
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.5.tar.gz
(30.4 kB
view hashes)
Built Distribution
Close
Hashes for ModisDownload-1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba77116fdee79eee418c44de45ccd890b9b05ac6f66b91fc27f647b5601b2344 |
|
MD5 | 486d819881d156fe232ba82bd214d9df |
|
BLAKE2b-256 | 0ec8a3843905477917c970698c2825187d6e6f463749448eb5b187e6b4466b28 |