utility
latlon_2modis_tile(lat, lon)
Find the latitude and longitude of a given modis tile
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
lat
|
float
|
Description of parameter |
required |
lon
|
float
|
Description of parameter |
required |
Returns:
| Type | Description |
|---|---|
(int, int)
|
H and V |
Source code in monetio/sat/utility.py
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | |
write_array_tif(data, crs, transform, output_filename)
Write a tiff from a numpy array given the crs and transform
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data
|
numpy array
|
Description of parameter |
required |
crs
|
type
|
Description of parameter |
required |
transform
|
type
|
Description of parameter |
required |
output_filename
|
type
|
Description of parameter |
required |
Returns:
| Type | Description |
|---|---|
type
|
Description of returned object. |
Source code in monetio/sat/utility.py
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | |