geocif 0.1.21__tar.gz → 0.1.23__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.
Files changed (52) hide show
  1. geocif-0.1.23/PKG-INFO +40 -0
  2. {geocif-0.1.21 → geocif-0.1.23}/geocif/logger.py +23 -2
  3. {geocif-0.1.21 → geocif-0.1.23}/geocif/utils.py +0 -23
  4. geocif-0.1.23/geocif.egg-info/PKG-INFO +40 -0
  5. {geocif-0.1.21 → geocif-0.1.23}/geocif.egg-info/SOURCES.txt +0 -1
  6. geocif-0.1.23/geocif.egg-info/dependency_links.txt +1 -0
  7. geocif-0.1.23/requirements.txt +0 -0
  8. {geocif-0.1.21 → geocif-0.1.23}/setup.py +1 -1
  9. geocif-0.1.21/PKG-INFO +0 -80
  10. geocif-0.1.21/geocif.egg-info/PKG-INFO +0 -80
  11. geocif-0.1.21/geocif.egg-info/dependency_links.txt +0 -41
  12. geocif-0.1.21/geocif.egg-info/requires.txt +0 -40
  13. geocif-0.1.21/requirements.txt +0 -40
  14. {geocif-0.1.21 → geocif-0.1.23}/LICENSE +0 -0
  15. {geocif-0.1.21 → geocif-0.1.23}/MANIFEST.in +0 -0
  16. {geocif-0.1.21 → geocif-0.1.23}/README.md +0 -0
  17. {geocif-0.1.21 → geocif-0.1.23}/geocif/__init__.py +0 -0
  18. {geocif-0.1.21 → geocif-0.1.23}/geocif/agmet/__init__.py +0 -0
  19. {geocif-0.1.21 → geocif-0.1.23}/geocif/agmet/geoagmet.py +0 -0
  20. {geocif-0.1.21 → geocif-0.1.23}/geocif/agmet/plot.py +0 -0
  21. {geocif-0.1.21 → geocif-0.1.23}/geocif/agmet/utils.py +0 -0
  22. {geocif-0.1.21 → geocif-0.1.23}/geocif/backup/__init__.py +0 -0
  23. {geocif-0.1.21 → geocif-0.1.23}/geocif/backup/constants.py +0 -0
  24. {geocif-0.1.21 → geocif-0.1.23}/geocif/backup/features.py +0 -0
  25. {geocif-0.1.21 → geocif-0.1.23}/geocif/backup/geo.py +0 -0
  26. {geocif-0.1.21 → geocif-0.1.23}/geocif/backup/geocif.py +0 -0
  27. {geocif-0.1.21 → geocif-0.1.23}/geocif/backup/metadata.py +0 -0
  28. {geocif-0.1.21 → geocif-0.1.23}/geocif/backup/models.py +0 -0
  29. {geocif-0.1.21 → geocif-0.1.23}/geocif/cei/__init__.py +0 -0
  30. {geocif-0.1.21 → geocif-0.1.23}/geocif/cei/definitions.py +0 -0
  31. {geocif-0.1.21 → geocif-0.1.23}/geocif/cei/indices.py +0 -0
  32. {geocif-0.1.21 → geocif-0.1.23}/geocif/geocif.py +0 -0
  33. {geocif-0.1.21 → geocif-0.1.23}/geocif/indices_runner.py +0 -0
  34. {geocif-0.1.21 → geocif-0.1.23}/geocif/ml/__init__.py +0 -0
  35. {geocif-0.1.21 → geocif-0.1.23}/geocif/ml/analysis.py +0 -0
  36. {geocif-0.1.21 → geocif-0.1.23}/geocif/ml/correlations.py +0 -0
  37. {geocif-0.1.21 → geocif-0.1.23}/geocif/ml/embedding.py +0 -0
  38. {geocif-0.1.21 → geocif-0.1.23}/geocif/ml/feature_engineering.py +0 -0
  39. {geocif-0.1.21 → geocif-0.1.23}/geocif/ml/feature_selection.py +0 -0
  40. {geocif-0.1.21 → geocif-0.1.23}/geocif/ml/misc.py +0 -0
  41. {geocif-0.1.21 → geocif-0.1.23}/geocif/ml/outliers.py +0 -0
  42. {geocif-0.1.21 → geocif-0.1.23}/geocif/ml/outlook.py +0 -0
  43. {geocif-0.1.21 → geocif-0.1.23}/geocif/ml/output.py +0 -0
  44. {geocif-0.1.21 → geocif-0.1.23}/geocif/ml/stages.py +0 -0
  45. {geocif-0.1.21 → geocif-0.1.23}/geocif/ml/stats.py +0 -0
  46. {geocif-0.1.21 → geocif-0.1.23}/geocif/ml/trainers.py +0 -0
  47. {geocif-0.1.21 → geocif-0.1.23}/geocif/ml/trend.py +0 -0
  48. {geocif-0.1.21 → geocif-0.1.23}/geocif/ml/xai.py +0 -0
  49. {geocif-0.1.21 → geocif-0.1.23}/geocif.egg-info/not-zip-safe +0 -0
  50. {geocif-0.1.21 → geocif-0.1.23}/geocif.egg-info/top_level.txt +0 -0
  51. {geocif-0.1.21 → geocif-0.1.23}/setup.cfg +0 -0
  52. {geocif-0.1.21 → geocif-0.1.23}/tests/test_geocif.py +0 -0
geocif-0.1.23/PKG-INFO ADDED
@@ -0,0 +1,40 @@
1
+ Metadata-Version: 2.1
2
+ Name: geocif
3
+ Version: 0.1.23
4
+ Summary: Models to visualize and forecast crop conditions and yields
5
+ Home-page: https://ritviksahajpal.github.io/yield_forecasting/
6
+ Author: Ritvik Sahajpal
7
+ Author-email: ritvik@umd.edu
8
+ License: MIT license
9
+ Keywords: geocif
10
+ Classifier: Development Status :: 2 - Pre-Alpha
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Natural Language :: English
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.9
16
+ Requires-Python: >=3.9
17
+ Description-Content-Type: text/markdown
18
+ License-File: LICENSE
19
+
20
+ # geocif
21
+
22
+
23
+ [![image](https://img.shields.io/pypi/v/geocif.svg)](https://pypi.python.org/pypi/geocif)
24
+ [![image](https://img.shields.io/conda/vn/conda-forge/geocif.svg)](https://anaconda.org/conda-forge/geocif)
25
+
26
+
27
+ **Models to visualize and forecast crop conditions and yields**
28
+
29
+
30
+ - Free software: MIT license
31
+ - Documentation: https://ritviksahajpal.github.io/yield_forecasting/
32
+
33
+
34
+ ## Features
35
+
36
+ - TODO
37
+
38
+ ## Credits
39
+
40
+ This package was created with [Cookiecutter](https://github.com/cookiecutter/cookiecutter) and the [giswqs/pypackage](https://github.com/giswqs/pypackage) project template.
@@ -5,7 +5,28 @@ from pathlib import Path
5
5
  import arrow as ar
6
6
  import logzero
7
7
 
8
- import utils
8
+
9
+ def read_config(path_config_file):
10
+ """
11
+
12
+ Args:
13
+ path_config_file ():
14
+
15
+ Returns:
16
+
17
+ """
18
+ from configparser import ConfigParser, ExtendedInterpolation
19
+
20
+ parser = ConfigParser(
21
+ inline_comment_prefixes=(";",), interpolation=ExtendedInterpolation()
22
+ )
23
+
24
+ try:
25
+ parser.read(path_config_file)
26
+ except Exception as e:
27
+ raise IOError(f"Cannot read {path_config_file}: {e}")
28
+
29
+ return parser
9
30
 
10
31
 
11
32
  class Logger:
@@ -62,7 +83,7 @@ def setup_logger_parser(path_config_file, name_project="geocif", name_file="ml",
62
83
  Returns:
63
84
 
64
85
  """
65
- parser = utils.read_config(path_config_file)
86
+ parser = read_config(path_config_file)
66
87
  dir_log = parser.get("PATHS", "dir_log")
67
88
 
68
89
  logger = Logger(
@@ -100,29 +100,6 @@ def matplotlib_setup():
100
100
  plt.rcParams["ytick.color"] = "#333F4B"
101
101
 
102
102
 
103
- def read_config(path_config_file):
104
- """
105
-
106
- Args:
107
- path_config_file ():
108
-
109
- Returns:
110
-
111
- """
112
- from configparser import ConfigParser, ExtendedInterpolation
113
-
114
- parser = ConfigParser(
115
- inline_comment_prefixes=(";",), interpolation=ExtendedInterpolation()
116
- )
117
-
118
- try:
119
- parser.read(path_config_file)
120
- except Exception as e:
121
- raise IOError(f"Cannot read {path_config_file}: {e}")
122
-
123
- return parser
124
-
125
-
126
103
  def delete_empty_dirs(_dir):
127
104
  """
128
105
  Cleanup by deleting folders which have no files in them. Delete folders which only have empty subdirs
@@ -0,0 +1,40 @@
1
+ Metadata-Version: 2.1
2
+ Name: geocif
3
+ Version: 0.1.23
4
+ Summary: Models to visualize and forecast crop conditions and yields
5
+ Home-page: https://ritviksahajpal.github.io/yield_forecasting/
6
+ Author: Ritvik Sahajpal
7
+ Author-email: ritvik@umd.edu
8
+ License: MIT license
9
+ Keywords: geocif
10
+ Classifier: Development Status :: 2 - Pre-Alpha
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Natural Language :: English
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.9
16
+ Requires-Python: >=3.9
17
+ Description-Content-Type: text/markdown
18
+ License-File: LICENSE
19
+
20
+ # geocif
21
+
22
+
23
+ [![image](https://img.shields.io/pypi/v/geocif.svg)](https://pypi.python.org/pypi/geocif)
24
+ [![image](https://img.shields.io/conda/vn/conda-forge/geocif.svg)](https://anaconda.org/conda-forge/geocif)
25
+
26
+
27
+ **Models to visualize and forecast crop conditions and yields**
28
+
29
+
30
+ - Free software: MIT license
31
+ - Documentation: https://ritviksahajpal.github.io/yield_forecasting/
32
+
33
+
34
+ ## Features
35
+
36
+ - TODO
37
+
38
+ ## Credits
39
+
40
+ This package was created with [Cookiecutter](https://github.com/cookiecutter/cookiecutter) and the [giswqs/pypackage](https://github.com/giswqs/pypackage) project template.
@@ -13,7 +13,6 @@ geocif.egg-info/PKG-INFO
13
13
  geocif.egg-info/SOURCES.txt
14
14
  geocif.egg-info/dependency_links.txt
15
15
  geocif.egg-info/not-zip-safe
16
- geocif.egg-info/requires.txt
17
16
  geocif.egg-info/top_level.txt
18
17
  geocif/agmet/__init__.py
19
18
  geocif/agmet/geoagmet.py
File without changes
@@ -50,6 +50,6 @@ setup(
50
50
  test_suite='tests',
51
51
  tests_require=test_requirements,
52
52
  url='https://ritviksahajpal.github.io/yield_forecasting/',
53
- version='0.1.21',
53
+ version='0.1.23',
54
54
  zip_safe=False,
55
55
  )
geocif-0.1.21/PKG-INFO DELETED
@@ -1,80 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: geocif
3
- Version: 0.1.21
4
- Summary: Models to visualize and forecast crop conditions and yields
5
- Home-page: https://ritviksahajpal.github.io/yield_forecasting/
6
- Author: Ritvik Sahajpal
7
- Author-email: ritvik@umd.edu
8
- License: MIT license
9
- Keywords: geocif
10
- Classifier: Development Status :: 2 - Pre-Alpha
11
- Classifier: Intended Audience :: Developers
12
- Classifier: License :: OSI Approved :: MIT License
13
- Classifier: Natural Language :: English
14
- Classifier: Programming Language :: Python :: 3
15
- Classifier: Programming Language :: Python :: 3.9
16
- Requires-Python: >=3.9
17
- Description-Content-Type: text/markdown
18
- License-File: LICENSE
19
- Requires-Dist: arfs==2.2.5
20
- Requires-Dist: arrow==1.3.0
21
- Requires-Dist: Boruta==0.3
22
- Requires-Dist: BorutaShap==1.0.17
23
- Requires-Dist: BorutaShap==1.0.17
24
- Requires-Dist: Bottleneck==1.3.7
25
- Requires-Dist: catboost==1.2.5
26
- Requires-Dist: cycler==0.12.1
27
- Requires-Dist: GDAL==3.8.1
28
- Requires-Dist: geopandas==0.14.1
29
- Requires-Dist: geoprepare==0.5.6
30
- Requires-Dist: icclim==6.4.0
31
- Requires-Dist: kneed==0.8.5
32
- Requires-Dist: logzero==1.7.0
33
- Requires-Dist: MAPIE==0.8.3
34
- Requires-Dist: matplotlib==3.8.2
35
- Requires-Dist: neptune==1.10.3
36
- Requires-Dist: numpy==1.25.2
37
- Requires-Dist: optuna==3.5.0
38
- Requires-Dist: palettable==3.3.3
39
- Requires-Dist: pandas==2.2.2
40
- Requires-Dist: pangres==4.2.1
41
- Requires-Dist: pooch==1.8.1
42
- Requires-Dist: powershap==0.0.11
43
- Requires-Dist: pycallgraph2==1.1.3
44
- Requires-Dist: pygam==0.9.1
45
- Requires-Dist: pygeoutil==0.1.dev0
46
- Requires-Dist: pymannkendall==1.4.3
47
- Requires-Dist: python_dateutil==2.8.2
48
- Requires-Dist: Rbeast==0.1.19
49
- Requires-Dist: Rbeast==0.1.19
50
- Requires-Dist: scikit_learn==1.4.2
51
- Requires-Dist: scipy==1.13.0
52
- Requires-Dist: seaborn==0.13.2
53
- Requires-Dist: setuptools==68.2.2
54
- Requires-Dist: shap==0.45.0
55
- Requires-Dist: sklearn_genetic_opt==0.10.1
56
- Requires-Dist: SQLAlchemy==2.0.25
57
- Requires-Dist: statsmodels==0.14.0
58
- Requires-Dist: tqdm==4.66.1
59
-
60
- # geocif
61
-
62
-
63
- [![image](https://img.shields.io/pypi/v/geocif.svg)](https://pypi.python.org/pypi/geocif)
64
- [![image](https://img.shields.io/conda/vn/conda-forge/geocif.svg)](https://anaconda.org/conda-forge/geocif)
65
-
66
-
67
- **Models to visualize and forecast crop conditions and yields**
68
-
69
-
70
- - Free software: MIT license
71
- - Documentation: https://ritviksahajpal.github.io/yield_forecasting/
72
-
73
-
74
- ## Features
75
-
76
- - TODO
77
-
78
- ## Credits
79
-
80
- This package was created with [Cookiecutter](https://github.com/cookiecutter/cookiecutter) and the [giswqs/pypackage](https://github.com/giswqs/pypackage) project template.
@@ -1,80 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: geocif
3
- Version: 0.1.21
4
- Summary: Models to visualize and forecast crop conditions and yields
5
- Home-page: https://ritviksahajpal.github.io/yield_forecasting/
6
- Author: Ritvik Sahajpal
7
- Author-email: ritvik@umd.edu
8
- License: MIT license
9
- Keywords: geocif
10
- Classifier: Development Status :: 2 - Pre-Alpha
11
- Classifier: Intended Audience :: Developers
12
- Classifier: License :: OSI Approved :: MIT License
13
- Classifier: Natural Language :: English
14
- Classifier: Programming Language :: Python :: 3
15
- Classifier: Programming Language :: Python :: 3.9
16
- Requires-Python: >=3.9
17
- Description-Content-Type: text/markdown
18
- License-File: LICENSE
19
- Requires-Dist: arfs==2.2.5
20
- Requires-Dist: arrow==1.3.0
21
- Requires-Dist: Boruta==0.3
22
- Requires-Dist: BorutaShap==1.0.17
23
- Requires-Dist: BorutaShap==1.0.17
24
- Requires-Dist: Bottleneck==1.3.7
25
- Requires-Dist: catboost==1.2.5
26
- Requires-Dist: cycler==0.12.1
27
- Requires-Dist: GDAL==3.8.1
28
- Requires-Dist: geopandas==0.14.1
29
- Requires-Dist: geoprepare==0.5.6
30
- Requires-Dist: icclim==6.4.0
31
- Requires-Dist: kneed==0.8.5
32
- Requires-Dist: logzero==1.7.0
33
- Requires-Dist: MAPIE==0.8.3
34
- Requires-Dist: matplotlib==3.8.2
35
- Requires-Dist: neptune==1.10.3
36
- Requires-Dist: numpy==1.25.2
37
- Requires-Dist: optuna==3.5.0
38
- Requires-Dist: palettable==3.3.3
39
- Requires-Dist: pandas==2.2.2
40
- Requires-Dist: pangres==4.2.1
41
- Requires-Dist: pooch==1.8.1
42
- Requires-Dist: powershap==0.0.11
43
- Requires-Dist: pycallgraph2==1.1.3
44
- Requires-Dist: pygam==0.9.1
45
- Requires-Dist: pygeoutil==0.1.dev0
46
- Requires-Dist: pymannkendall==1.4.3
47
- Requires-Dist: python_dateutil==2.8.2
48
- Requires-Dist: Rbeast==0.1.19
49
- Requires-Dist: Rbeast==0.1.19
50
- Requires-Dist: scikit_learn==1.4.2
51
- Requires-Dist: scipy==1.13.0
52
- Requires-Dist: seaborn==0.13.2
53
- Requires-Dist: setuptools==68.2.2
54
- Requires-Dist: shap==0.45.0
55
- Requires-Dist: sklearn_genetic_opt==0.10.1
56
- Requires-Dist: SQLAlchemy==2.0.25
57
- Requires-Dist: statsmodels==0.14.0
58
- Requires-Dist: tqdm==4.66.1
59
-
60
- # geocif
61
-
62
-
63
- [![image](https://img.shields.io/pypi/v/geocif.svg)](https://pypi.python.org/pypi/geocif)
64
- [![image](https://img.shields.io/conda/vn/conda-forge/geocif.svg)](https://anaconda.org/conda-forge/geocif)
65
-
66
-
67
- **Models to visualize and forecast crop conditions and yields**
68
-
69
-
70
- - Free software: MIT license
71
- - Documentation: https://ritviksahajpal.github.io/yield_forecasting/
72
-
73
-
74
- ## Features
75
-
76
- - TODO
77
-
78
- ## Credits
79
-
80
- This package was created with [Cookiecutter](https://github.com/cookiecutter/cookiecutter) and the [giswqs/pypackage](https://github.com/giswqs/pypackage) project template.
@@ -1,41 +0,0 @@
1
- arfs==2.2.5
2
- arrow==1.3.0
3
- Boruta==0.3
4
- BorutaShap==1.0.17
5
- BorutaShap==1.0.17
6
- Bottleneck==1.3.7
7
- catboost==1.2.5
8
- cycler==0.12.1
9
- GDAL==3.8.1
10
- geopandas==0.14.1
11
- geoprepare==0.5.6
12
- icclim==6.4.0
13
- kneed==0.8.5
14
- logzero==1.7.0
15
- MAPIE==0.8.3
16
- matplotlib==3.8.2
17
- neptune==1.10.3
18
- numpy==1.25.2
19
- optuna==3.5.0
20
- palettable==3.3.3
21
- pandas==2.2.2
22
- pangres==4.2.1
23
- pooch==1.8.1
24
- powershap==0.0.11
25
- pycallgraph2==1.1.3
26
- pygam==0.9.1
27
- pygeoutil==0.1.dev0
28
- pymannkendall==1.4.3
29
- python_dateutil==2.8.2
30
- Rbeast==0.1.19
31
- Rbeast==0.1.19
32
- scikit_learn==1.4.2
33
- scipy==1.13.0
34
- seaborn==0.13.2
35
- setuptools==68.2.2
36
- shap==0.45.0
37
- sklearn_genetic_opt==0.10.1
38
- SQLAlchemy==2.0.25
39
- statsmodels==0.14.0
40
- tqdm==4.66.1
41
-
@@ -1,40 +0,0 @@
1
- arfs==2.2.5
2
- arrow==1.3.0
3
- Boruta==0.3
4
- BorutaShap==1.0.17
5
- BorutaShap==1.0.17
6
- Bottleneck==1.3.7
7
- catboost==1.2.5
8
- cycler==0.12.1
9
- GDAL==3.8.1
10
- geopandas==0.14.1
11
- geoprepare==0.5.6
12
- icclim==6.4.0
13
- kneed==0.8.5
14
- logzero==1.7.0
15
- MAPIE==0.8.3
16
- matplotlib==3.8.2
17
- neptune==1.10.3
18
- numpy==1.25.2
19
- optuna==3.5.0
20
- palettable==3.3.3
21
- pandas==2.2.2
22
- pangres==4.2.1
23
- pooch==1.8.1
24
- powershap==0.0.11
25
- pycallgraph2==1.1.3
26
- pygam==0.9.1
27
- pygeoutil==0.1.dev0
28
- pymannkendall==1.4.3
29
- python_dateutil==2.8.2
30
- Rbeast==0.1.19
31
- Rbeast==0.1.19
32
- scikit_learn==1.4.2
33
- scipy==1.13.0
34
- seaborn==0.13.2
35
- setuptools==68.2.2
36
- shap==0.45.0
37
- sklearn_genetic_opt==0.10.1
38
- SQLAlchemy==2.0.25
39
- statsmodels==0.14.0
40
- tqdm==4.66.1
@@ -1,40 +0,0 @@
1
- arfs==2.2.5
2
- arrow==1.3.0
3
- Boruta==0.3
4
- BorutaShap==1.0.17
5
- BorutaShap==1.0.17
6
- Bottleneck==1.3.7
7
- catboost==1.2.5
8
- cycler==0.12.1
9
- GDAL==3.8.1
10
- geopandas==0.14.1
11
- geoprepare==0.5.6
12
- icclim==6.4.0
13
- kneed==0.8.5
14
- logzero==1.7.0
15
- MAPIE==0.8.3
16
- matplotlib==3.8.2
17
- neptune==1.10.3
18
- numpy==1.25.2
19
- optuna==3.5.0
20
- palettable==3.3.3
21
- pandas==2.2.2
22
- pangres==4.2.1
23
- pooch==1.8.1
24
- powershap==0.0.11
25
- pycallgraph2==1.1.3
26
- pygam==0.9.1
27
- pygeoutil==0.1.dev0
28
- pymannkendall==1.4.3
29
- python_dateutil==2.8.2
30
- Rbeast==0.1.19
31
- Rbeast==0.1.19
32
- scikit_learn==1.4.2
33
- scipy==1.13.0
34
- seaborn==0.13.2
35
- setuptools==68.2.2
36
- shap==0.45.0
37
- sklearn_genetic_opt==0.10.1
38
- SQLAlchemy==2.0.25
39
- statsmodels==0.14.0
40
- tqdm==4.66.1
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes