Revision 6fc314e2
Added by Adam Wilson about 11 years ago
climate/procedures/ee.MOD09.py | ||
---|---|---|
37 | 37 |
monthstart=1 |
38 | 38 |
monthstop=12 |
39 | 39 |
|
40 |
|
|
41 | 40 |
#//////////////////////////////////////////////////// |
42 | 41 |
# Loop through months and get monthly % missing data |
43 | 42 |
|
... | ... | |
69 | 68 |
# '[[-180, -90], [-180, 90], [180, 90], [180, -90]]' //global |
70 | 69 |
# '[[-180, -60], [-180, 90], [180, 90], [180, -60]]' // Western Hemisphere |
71 | 70 |
|
71 |
## Define tiles |
|
72 |
|
|
73 |
|
|
72 | 74 |
## build the URL and name the object (so that when it's unzipped we know what it is!) |
73 | 75 |
path =mod09a.getDownloadUrl({ |
74 | 76 |
'name': 'mod09_'+str(year)+"_"+str(month), # name the file (otherwise it will be a uninterpretable hash) |
75 | 77 |
'scale': 926, # resolution in meters |
76 | 78 |
'crs': 'EPSG:4326', # MODIS sinusoidal |
77 |
'region': region |
|
79 |
'region': region # region defined above
|
|
78 | 80 |
}); |
79 | 81 |
|
80 | 82 |
## download with wget |
Also available in: Unified diff
cleaning up comments