geeltermap 0.1.4__tar.gz → 0.1.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of geeltermap might be problematic. Click here for more details.

Files changed (59) hide show
  1. {geeltermap-0.1.4 → geeltermap-0.1.5}/PKG-INFO +1 -1
  2. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/__init__.py +1 -1
  3. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/geeltermap.py +12 -13
  4. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/geemap.py +10 -13
  5. {geeltermap-0.1.4 → geeltermap-0.1.5}/pyproject.toml +1 -1
  6. {geeltermap-0.1.4 → geeltermap-0.1.5}/setup.py +1 -1
  7. {geeltermap-0.1.4 → geeltermap-0.1.5}/LICENSE +0 -0
  8. {geeltermap-0.1.4 → geeltermap-0.1.5}/README.md +0 -0
  9. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/algorithms/__init__.py +0 -0
  10. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/algorithms/__pycache__/__init__.cpython-38.pyc +0 -0
  11. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/basemaps.py +0 -0
  12. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/cartoee.py +0 -0
  13. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/chart.py +0 -0
  14. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/cli.py +0 -0
  15. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/colormaps.py +0 -0
  16. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/common.py +0 -0
  17. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/conversion.py +0 -0
  18. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/core.py +0 -0
  19. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/data/census_data.json +0 -0
  20. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/data/fonts/alibaba.otf +0 -0
  21. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/data/fonts/arial.ttf +0 -0
  22. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/data/gee_f.json +0 -0
  23. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/data/javascripts/ClippedComposite.js +0 -0
  24. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/data/javascripts/FromName.js +0 -0
  25. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/data/javascripts/ModisQaBands.js +0 -0
  26. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/data/javascripts/NormalizedDifference.js +0 -0
  27. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/data/javascripts/QualityMosaic.js +0 -0
  28. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/data/python/__pycache__/javascript_to_python.cpython-38.pyc +0 -0
  29. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/data/python/javascript_to_python.py +0 -0
  30. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/data/template/NLCD.qml +0 -0
  31. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/data/template/__pycache__/template.cpython-38.pyc +0 -0
  32. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/data/template/ee_api_docs.csv +0 -0
  33. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/data/template/ee_api_docs.html +0 -0
  34. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/data/template/ee_data_catalog.csv +0 -0
  35. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/data/template/ee_legend_table.txt +0 -0
  36. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/data/template/legend.html +0 -0
  37. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/data/template/legend.txt +0 -0
  38. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/data/template/legend_style.html +0 -0
  39. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/data/template/template.py +0 -0
  40. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/data/template/toolbox.csv +0 -0
  41. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/datasets.py +0 -0
  42. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/deck.py +0 -0
  43. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/ee_tile_layers.py +0 -0
  44. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/elter.py +0 -0
  45. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/examples/__init__.py +0 -0
  46. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/examples/__pycache__/__init__.cpython-38.pyc +0 -0
  47. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/examples/datasets.txt +0 -0
  48. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/foliumap.py +0 -0
  49. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/heremap.py +0 -0
  50. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/kepler.py +0 -0
  51. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/legends.py +0 -0
  52. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/map_widgets.py +0 -0
  53. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/ml.py +0 -0
  54. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/osm.py +0 -0
  55. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/plot.py +0 -0
  56. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/plotlymap.py +0 -0
  57. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/report.py +0 -0
  58. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/timelapse.py +0 -0
  59. {geeltermap-0.1.4 → geeltermap-0.1.5}/geeltermap/toolbar.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: geeltermap
3
- Version: 0.1.4
3
+ Version: 0.1.5
4
4
  Summary: Python mapping application based on Geemap and GEE designed to provide phenology, flood and LST satellite data to eLTER sites
5
5
  Home-page: https://github.com/Digdgeo/GeeLTERMap
6
6
  License: MIT
@@ -2,7 +2,7 @@
2
2
 
3
3
  __author__ = """Diego Garcia Diaz"""
4
4
  __email__ = "digd.geografo@gmail.com"
5
- __version__ = "0.1.4"
5
+ __version__ = "0.1.5"
6
6
 
7
7
  import os
8
8
 
@@ -3,29 +3,28 @@ Keep in mind that Earth Engine functions use both camel case and snake case, suc
3
3
  ipyleaflet functions use snake case, such as add_tile_layer(), add_wms_layer(), add_minimap().
4
4
  """
5
5
 
6
+ import math
6
7
  import os
7
- import warnings
8
- from typing import Optional, Any, Dict
8
+ import pkg_resources
9
+ import time
10
+ import deims
9
11
 
10
12
  import ee
13
+ import ipyevents
11
14
  import ipyleaflet
12
15
  import ipywidgets as widgets
13
-
14
16
  from box import Box
15
17
  from bqplot import pyplot as plt
16
-
18
+ from ipyfilechooser import FileChooser
17
19
  from IPython.display import display
18
- from .basemaps import get_xyz_dict, xyz_to_leaflet
20
+ from ipytree import Node, Tree
21
+ from .basemaps import xyz_to_leaflet
19
22
  from .common import *
20
- from .conversion import *
21
- from .ee_tile_layers import *
22
- from . import core
23
- from . import map_widgets
24
- from . import toolbar
25
- from .plot import *
26
- #from .timelapse import *
27
23
  from .legends import builtin_legends
28
- from . import examples
24
+ from .osm import *
25
+ from .plot import *
26
+ from . import map_widgets
27
+
29
28
 
30
29
 
31
30
  basemaps = Box(xyz_to_leaflet(), frozen_box=True)
@@ -3,29 +3,26 @@ Keep in mind that Earth Engine functions use both camel case and snake case, suc
3
3
  ipyleaflet functions use snake case, such as add_tile_layer(), add_wms_layer(), add_minimap().
4
4
  """
5
5
 
6
+ import math
6
7
  import os
7
- import warnings
8
- from typing import Optional, Any, Dict
8
+ import pkg_resources
9
+ import time
10
+ import deims
9
11
 
10
12
  import ee
13
+ import ipyevents
11
14
  import ipyleaflet
12
15
  import ipywidgets as widgets
13
-
14
16
  from box import Box
15
17
  from bqplot import pyplot as plt
16
-
18
+ from ipyfilechooser import FileChooser
17
19
  from IPython.display import display
18
- from .basemaps import get_xyz_dict, xyz_to_leaflet
20
+ from ipytree import Node, Tree
21
+ from .basemaps import xyz_to_leaflet
19
22
  from .common import *
20
- from .conversion import *
21
- from .ee_tile_layers import *
22
- from . import core
23
- from . import map_widgets
24
- from . import toolbar
25
- from .plot import *
26
- from .timelapse import *
27
23
  from .legends import builtin_legends
28
- from . import examples
24
+ from .osm import *
25
+ from .plot import *
29
26
 
30
27
 
31
28
  basemaps = Box(xyz_to_leaflet(), frozen_box=True)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "geeltermap"
3
- version = "0.1.4"
3
+ version = "0.1.5"
4
4
  description = "Python mapping application based on Geemap and GEE designed to provide phenology, flood and LST satellite data to eLTER sites"
5
5
  authors = ["Diego García Díaz <digd.geografo@gmail.com>", "Ricardo Díaz-Delgado <rdiaz@ebd.csic.es>"]
6
6
  maintainers = ["Diego García Díaz <digd.geografo@gmail.com>"]
@@ -23,7 +23,7 @@ install_requires = \
23
23
 
24
24
  setup_kwargs = {
25
25
  'name': 'geeltermap',
26
- 'version': '0.1.4',
26
+ 'version': '0.1.5',
27
27
  'description': 'Python mapping application based on Geemap and GEE designed to provide phenology, flood and LST satellite data to eLTER sites',
28
28
  'long_description': "# GeeLTERMap\n\nThe GeeLTERMap python package has been created as a resource for scientists and site managers integrated into the eLTER network to evaluate the monitoring of long-term ecosystem variables. It was developed within the scope of the [eLTER Plus](https://elter-ri.eu/elter-plus) and [SUMHAL](https://lifewatcheric-sumhal.csic.es/) projects. \nThe package offers a dynamic map that integrates with deimsPY to facilitate the selection of any site in the eLTER network. Users can access phenometrics, surface temperature, and flooding data through three tools integrated in the main map application (PhenoApp, FloodApp and LSTApp).\n\n![Projects logos](https://i.imgur.com/mvnOXuo.png)\n\nGeeltermap is based on the [Geemap](https://geemap.org/) package, a Python API that allows access to [Google Earth Engine (GEE)](https://earthengine.google.com/) datasets and algorithms and provides an interactive map interface. Additionally, we have access to all alphanumeric and spatial information from the Elter sites thanks to [DEIMS](https://deims.org/) and its Python API, [DeimsPy](https://pypi.org/project/deims/)]. Furthermore, by enabling access to all relevant site-related information, we can establish custom filters for sites on which we wish to perform specific procedures.\n\n![GeeLTERMap](https://i.imgur.com/YzuOcl8.png)\n\n\nOur application includes three buttons integrated into a Leaflet/Geemap map environment. Each button provides access to one of the three primary tools described in subsequent below. Additionally, a form has been included inside the map as another button. This form allows users to submit their own data for validating satellite products.\n\n\n## PhenoApp\n\nThis application enables users to monitor the long-term LSP of various types of vegetation covers. The application features a dynamic map that permits site selection within the network to view phenological metrics for individual or grouped pixels. These metrics are generated using the Sentinel 2 image series with the Python libraries [Ndvi2Gif](https://pypi.org/project/ndvi2gif/) and [PhenoPY](https://github.com/JavierLopatin/PhenoPY). Additionally, the application integrates the MODIS phenology products (MCD12Q2.006) and the Copernicus Sentinel 2 High Resolution Vegetation Phenology Product (HR-VPP) for comparison purposes. The application also includes a button for downloading the generated rasters as GeoTIFF files. The downloading of big areas is supported than to [Geedim](https://pypi.org/project/geedim/) python package \nWhile Sentinel 2 products are not currently available as GEE datasets, they are offered exclusively for some selected sites. MODIS phenology, however, is available for all eLTER sites. In any case, a new Python package, [pyvpp](https://pypi.org/project/pyvpp/), has been developed to facilitate the speedy and effortless download of HR-VPP products across all eLTER sites.\n\n![PhenoApp](https://i.imgur.com/dmG3G36.jpg)\n\n## FloodApp\n\nFloodApp is a tool for obtaining the flooded surface of eTER sites. The tool design includes the complete Landsat series from Landsat 4-TM to Landsat 9-OLI, which provides data from 1984 until now, along with Sentinel 2, which provides data from 2017, as datasets. \nThe tool also enables obtaining pixel-wise statistics if the selected study period covers multiple images. The statistics include the minimum, maximum, mean, median, and percentiles of 10th, 20th, 90th, and 95th for different water indices. Water indices availables are NDWI (McFeeters 1996), NDWI (Gao et al. 2015), MNDWI (Xu 2006) and AWEI (Feyisa et al. 2014). SWIR-2 band has also been added to the list of water indices since we have been detected and tested, and this band offers a very good quality water mask in marshland areas. The user can also set a threshold to identify the index cutoff value that closely corresponds to the actual flooded area. \nScenes could be filtered based on cloud cover to exclude those with a high percent of cloud cover over the area. Also note that two RGB compositions of the chosen period are added to the map along with the water index, though the display is disabled by default. This enables visual comparison of flooding mask with real conditions. A button for downloading the generated rasters as GeoTIFF files is also provided.\n\n![FloodApp](https://i.imgur.com/JZu7lED.png)\n\n## LSTApp\n\nThe Land Surface Temperature tool provides access MODIS (MOD11A1) and Landsat (TIRS) datasets (Landsat 8 and 9 merged in one collection). The tool provides users with options to select the desired site, collection, start and end dates, filter by scene cloud coverage for Landsat and quality band for MODIS, and choose the band and statistic for image reduction in the desired timeframe. Likewise for the PhenoApp and FloodApp a legend can be displayed if desired on the screen. Like the other two tools, users can download data obtained from the LSTApp. \nAvailable bands are: ST_B10 for Landsat and LST_Day_1km & LST_Night_1km for MODIS. Available statistics fro image collections reduction are: minimum, maximum, mean, median, and percentiles of 10th, 20th, 90th, and 95th.\n\n![LSTApp](https://i.imgur.com/EsbThl5.jpg)\n\n## Form\n\nA form has been added to the map for uploading ground truth data from ELTER sites. This data can be used later to validate the products obtained through teledetection. It has been integrated into the map to provide interactive validation. This phase of work is still in development, but currently, the data is stored in a text file. The platform also allows for the upload of a data file stored in Datalab, which will be used later for validation.\n\n![Form](https://i.imgur.com/V08pjaS.jpg)\n\n## Installation\n\nJust pip install geeltermap\n \n ```python\n pip install geeltermap\n ``` \n\n## Usage\n\nJust run the map and follow your natural instinct ;P\n\n ```python\n from geeltermap import map\n map()\n ```\n\nWhatever, a video tutorial showing some examples can be found below:\n\n[![Ndvi2Gif](https://i.imgur.com/h9E4Jxz.jpg)](https://www.youtube.com/watch?v=kJkX6aVXBws)\n\nIf you're reading this (very likely you are Ricardo (Hi, Ricardo)) you will notice that the video is about ndvi2gif, I will record the video of geeletermap in a few hours and will change the link.\n\n\n## ToDO\n\nThe project is almost done, but next steps should be:\n\n- [ ] Process phenology on the fly through geemap and GEE\n- [ ] Add Sentinel 3 data to LST tool (It can be achieved now with PyVpp)\n- [ ] Make more interactive the form with the map\n- [ ] Add Time Series data to Flood and LST tools\n\n## Contributing\n\nPlease, if you want to help me with one of the ToDos or you have any idea to improve the project I will be very happy to hear from you.\n\n\n\n\n",
29
29
  'author': 'Diego García Díaz',
File without changes
File without changes
File without changes
File without changes
File without changes