datasets module¶
Module for accessing the Earth Engine Data Catalog with dot notation.
get_community_data_list()
¶
Returns the list of community dataset IDs.
From https://github.com/samapriya/awesome-gee-community-datasets/blob/master/community_datasets.json
Source code in geemap/datasets.py
93 94 95 96 97 98 99 | |
get_data_csv()
¶
Returns the path to the CSV file summarizing the Earth Engine Data Catalog.
Source code in geemap/datasets.py
23 24 25 26 27 28 29 30 31 32 33 34 | |
get_data_dict()
¶
Returns the Earth Engine Data Catalog as a nested dictionary.
Source code in geemap/datasets.py
128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | |
get_data_list()
¶
Returns a list of Earth Engine dataset IDs.
Source code in geemap/datasets.py
68 69 70 71 72 73 74 | |
get_ee_stac_list()
¶
Returns the STAC list of the Earth Engine Data Catalog.
Raises:
| Type | Description |
|---|---|
Exception
|
If the JSON file fails to download. |
Source code in geemap/datasets.py
102 103 104 105 106 107 108 109 110 111 112 113 114 115 | |
get_geemap_data_list()
¶
Returns the list of the public datasets from GEE users.
Source code in geemap/datasets.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 | |
get_metadata(asset_id, source='ee')
¶
Displays metadata about an Earth Engine asset.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
asset_id
|
str
|
The Earth Engine asset id. |
required |
source
|
str
|
'ee', 'community' or 'all'. |
'ee'
|
Raises:
| Type | Description |
|---|---|
Exception
|
If search fails. |
Source code in geemap/datasets.py
148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | |
merge_dict(dict1, dict2)
¶
Returns the merge of two nested dictionaries.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
dict1
|
dict[Any, Any]
|
The first dictionary to merge. |
required |
dict2
|
dict[Any, Any]
|
The second dictionary to merge. |
required |
Source code in geemap/datasets.py
118 119 120 121 122 123 124 125 | |
update_data_list(out_dir='.')
¶
Updates the Earth Engine Data Catalog dataset list.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
out_dir
|
str
|
The output directory to save the GitHub repository. Defaults to ".". |
'.'
|
Raises:
| Type | Description |
|---|---|
Exception
|
If the CSV file fails to save. |
Source code in geemap/datasets.py
37 38 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 | |