Skip to content

Instantly share code, notes, and snippets.

@giswqs
Created May 17, 2020 21:39
Show Gist options
  • Save giswqs/fef2085ceeb6f3997db619cd6c364690 to your computer and use it in GitHub Desktop.
Save giswqs/fef2085ceeb6f3997db619cd6c364690 to your computer and use it in GitHub Desktop.
testing/gist.ipynb
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "import geemap",
"execution_count": 1,
"outputs": []
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "geemap.build_dir_tree('/home/qiusheng/Downloads/geemap/')",
"execution_count": 2,
"outputs": [
{
"output_type": "stream",
"text": "/home/qiusheng/Downloads/geemap/ ['.github', 'docs', 'examples', 'geemap', 'tests', 'tutorials'] ['.editorconfig', '.gitignore', 'AUTHORS.rst', 'CONTRIBUTING.rst', 'HISTORY.rst', 'LICENSE', 'MANIFEST.in', 'Makefile', 'README.rst', 'requirements.txt', 'requirements_dev.txt', 'setup.cfg', 'setup.py', 'tox.ini'] \n\n/home/qiusheng/Downloads/geemap/.github ['workflows'] ['ISSUE_TEMPLATE.md', 'ee_token.py'] \n\n/home/qiusheng/Downloads/geemap/.github/workflows [] ['py-check.yaml', 'pypi-publish.yml'] \n\n/home/qiusheng/Downloads/geemap/docs ['source'] ['Makefile', 'authors.rst', 'conf.py', 'contributing.rst', 'history.rst', 'index.rst', 'installation.rst', 'make.bat', 'readme.rst', 'usage.rst'] \n\n/home/qiusheng/Downloads/geemap/docs/source [] ['geemap.rst', 'modules.rst'] \n\n/home/qiusheng/Downloads/geemap/examples ['data', 'javascripts', 'notebooks', 'python', 'template'] ['README.md'] \n\n/home/qiusheng/Downloads/geemap/examples/data [] ['animation.gif', 'countries.cpg', 'countries.dbf', 'countries.json', 'countries.prj', 'countries.shp', 'countries.shx', 'ee_logo.png', 'noaa_logo.jpg', 'temperature.gif', 'us-cities.cpg', 'us-cities.dbf', 'us-cities.json', 'us-cities.prj', 'us-cities.shp', 'us-cities.shx', 'us-states.cpg', 'us-states.dbf', 'us-states.json', 'us-states.prj', 'us-states.shp', 'us-states.shx', 'wind-global.nc'] \n\n/home/qiusheng/Downloads/geemap/examples/javascripts [] ['ClippedComposite.js', 'FromName.js', 'ModisQaBands.js', 'NormalizedDifference.js', 'QualityMosaic.js'] \n\n/home/qiusheng/Downloads/geemap/examples/notebooks [] ['01_geemap_intro.ipynb', '02_using_basemaps.ipynb', '03_inspector_tool.ipynb', '04_split_panel_map.ipynb', '05_drawing_tools.ipynb', '06_marker_cluster.ipynb', '07_geojson.ipynb', '08_ee_js_to_ipynb.ipynb', '09_plotting.ipynb', '10_shapefiles.ipynb', '11_export_image.ipynb', '12_zonal_statistics.ipynb', '13_zonal_statistics_by_group.ipynb', '14_legends.ipynb', '15_convert_js_to_py.ipynb', '16_add_animated_text.ipynb', '17_add_colorbar_to_gif.ipynb', '18_create_landsat_timelapse.ipynb', '19_search_places_and_datasets.ipynb', '20_timeseries_inspector.ipynb', '21_export_map_to_html_png.ipynb', 'geemap_and_earthengine.ipynb', 'geemap_and_folium.ipynb', 'geemap_and_ipyleaflet.ipynb', 'geemap_and_ipywidgets.ipynb', 'image_overlay.ipynb', 'ipyleaflet_draw_control.ipynb', 'ipyleaflet_tutorials.ipynb', 'netcdf.ipynb', 'notebook_template.ipynb', 'oil_palm_and_rubber_plantation.ipynb', 'template.ipynb', 'us_census_data.ipynb', 'usda_naip_imagery.ipynb', 'video_overlay.ipynb'] \n\n/home/qiusheng/Downloads/geemap/examples/python [] ['earthengine_js_to_ipynb.py', 'earthengine_py_to_ipynb.py', 'geemap_and_earthengine.py', 'javascript_to_python.py'] \n\n/home/qiusheng/Downloads/geemap/examples/template [] ['template.ipynb', 'template.py'] \n\n/home/qiusheng/Downloads/geemap/geemap ['data'] ['__init__.py', 'basemaps.py', 'cli.py', 'conversion.py', 'eefolium.py', 'geemap.py', 'legends.py', 'utils.py'] \n\n/home/qiusheng/Downloads/geemap/geemap/data ['fonts', 'javascripts', 'python', 'template'] [] \n\n/home/qiusheng/Downloads/geemap/geemap/data/fonts [] ['arial.ttf'] \n\n/home/qiusheng/Downloads/geemap/geemap/data/javascripts [] ['ClippedComposite.js', 'FromName.js', 'ModisQaBands.js', 'NormalizedDifference.js', 'QualityMosaic.js'] \n\n/home/qiusheng/Downloads/geemap/geemap/data/python [] ['javascript_to_python.py'] \n\n/home/qiusheng/Downloads/geemap/geemap/data/template [] ['ee_api_docs.csv', 'ee_api_docs.html', 'ee_legend_table.txt', 'legend.html', 'template.ipynb', 'template.py'] \n\n/home/qiusheng/Downloads/geemap/tests [] ['__init__.py', 'test_geemap.py'] \n\n/home/qiusheng/Downloads/geemap/tutorials ['FeatureCollection', 'Image', 'ImageCollection', 'Template'] ['LICENSE', 'README.md'] \n\n/home/qiusheng/Downloads/geemap/tutorials/FeatureCollection [] ['us_census_data.ipynb'] \n\n/home/qiusheng/Downloads/geemap/tutorials/Image [] ['01_image_overview.ipynb', '02_image_visualization.ipynb', '03_image_metadata.ipynb', '04_math_operations.ipynb', '05_conditional_operations.ipynb', '06_convolutions.ipynb', '07_morphological_operations.ipynb', '08_gradients.ipynb', '09_edge_detection.ipynb', '10_spectral_transformations.ipynb', '11_texture.ipynb', '12_object_based_methods.ipynb', '13_cumulative_cost_mapping.ipynb', '14_registering_images.ipynb'] \n\n/home/qiusheng/Downloads/geemap/tutorials/ImageCollection [] ['01_image_collection_overview.ipynb', '02_image_collection_metadata.ipynb', '03_filtering_image_collection.ipynb', '04_mapping_over_image_collection.ipynb'] \n\n/home/qiusheng/Downloads/geemap/tutorials/Template [] ['template.ipynb', 'update_header.py'] \n\n",
"name": "stdout"
}
]
},
{
"metadata": {
"trusted": true
},
"cell_type": "code",
"source": "",
"execution_count": null,
"outputs": []
}
],
"metadata": {
"kernelspec": {
"name": "python3",
"display_name": "Python 3",
"language": "python"
},
"language_info": {
"name": "python",
"version": "3.8.2",
"mimetype": "text/x-python",
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"pygments_lexer": "ipython3",
"nbconvert_exporter": "python",
"file_extension": ".py"
},
"gist": {
"id": "",
"data": {
"description": "testing/gist.ipynb",
"public": true
}
}
},
"nbformat": 4,
"nbformat_minor": 4
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment