geocif 0.1.2__tar.gz → 0.1.22__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 (48) hide show
  1. {geocif-0.1.2/geocif.egg-info → geocif-0.1.22}/PKG-INFO +4 -4
  2. {geocif-0.1.2 → geocif-0.1.22}/README.md +21 -21
  3. {geocif-0.1.2 → geocif-0.1.22}/geocif/geocif.py +1 -0
  4. {geocif-0.1.2 → geocif-0.1.22}/geocif/logger.py +23 -2
  5. {geocif-0.1.2 → geocif-0.1.22}/geocif/utils.py +0 -23
  6. {geocif-0.1.2 → geocif-0.1.22/geocif.egg-info}/PKG-INFO +4 -4
  7. {geocif-0.1.2 → geocif-0.1.22}/geocif.egg-info/dependency_links.txt +1 -1
  8. {geocif-0.1.2 → geocif-0.1.22}/geocif.egg-info/requires.txt +1 -1
  9. {geocif-0.1.2 → geocif-0.1.22}/requirements.txt +40 -40
  10. {geocif-0.1.2 → geocif-0.1.22}/setup.py +1 -1
  11. {geocif-0.1.2 → geocif-0.1.22}/LICENSE +0 -0
  12. {geocif-0.1.2 → geocif-0.1.22}/MANIFEST.in +0 -0
  13. {geocif-0.1.2 → geocif-0.1.22}/geocif/__init__.py +0 -0
  14. {geocif-0.1.2 → geocif-0.1.22}/geocif/agmet/__init__.py +0 -0
  15. {geocif-0.1.2 → geocif-0.1.22}/geocif/agmet/geoagmet.py +0 -0
  16. {geocif-0.1.2 → geocif-0.1.22}/geocif/agmet/plot.py +0 -0
  17. {geocif-0.1.2 → geocif-0.1.22}/geocif/agmet/utils.py +0 -0
  18. {geocif-0.1.2 → geocif-0.1.22}/geocif/backup/__init__.py +0 -0
  19. {geocif-0.1.2 → geocif-0.1.22}/geocif/backup/constants.py +0 -0
  20. {geocif-0.1.2 → geocif-0.1.22}/geocif/backup/features.py +0 -0
  21. {geocif-0.1.2 → geocif-0.1.22}/geocif/backup/geo.py +0 -0
  22. {geocif-0.1.2 → geocif-0.1.22}/geocif/backup/geocif.py +0 -0
  23. {geocif-0.1.2 → geocif-0.1.22}/geocif/backup/metadata.py +0 -0
  24. {geocif-0.1.2 → geocif-0.1.22}/geocif/backup/models.py +0 -0
  25. {geocif-0.1.2 → geocif-0.1.22}/geocif/cei/__init__.py +0 -0
  26. {geocif-0.1.2 → geocif-0.1.22}/geocif/cei/definitions.py +0 -0
  27. {geocif-0.1.2 → geocif-0.1.22}/geocif/cei/indices.py +0 -0
  28. {geocif-0.1.2 → geocif-0.1.22}/geocif/indices_runner.py +0 -0
  29. {geocif-0.1.2 → geocif-0.1.22}/geocif/ml/__init__.py +0 -0
  30. {geocif-0.1.2 → geocif-0.1.22}/geocif/ml/analysis.py +0 -0
  31. {geocif-0.1.2 → geocif-0.1.22}/geocif/ml/correlations.py +0 -0
  32. {geocif-0.1.2 → geocif-0.1.22}/geocif/ml/embedding.py +0 -0
  33. {geocif-0.1.2 → geocif-0.1.22}/geocif/ml/feature_engineering.py +0 -0
  34. {geocif-0.1.2 → geocif-0.1.22}/geocif/ml/feature_selection.py +0 -0
  35. {geocif-0.1.2 → geocif-0.1.22}/geocif/ml/misc.py +0 -0
  36. {geocif-0.1.2 → geocif-0.1.22}/geocif/ml/outliers.py +0 -0
  37. {geocif-0.1.2 → geocif-0.1.22}/geocif/ml/outlook.py +0 -0
  38. {geocif-0.1.2 → geocif-0.1.22}/geocif/ml/output.py +0 -0
  39. {geocif-0.1.2 → geocif-0.1.22}/geocif/ml/stages.py +0 -0
  40. {geocif-0.1.2 → geocif-0.1.22}/geocif/ml/stats.py +0 -0
  41. {geocif-0.1.2 → geocif-0.1.22}/geocif/ml/trainers.py +0 -0
  42. {geocif-0.1.2 → geocif-0.1.22}/geocif/ml/trend.py +0 -0
  43. {geocif-0.1.2 → geocif-0.1.22}/geocif/ml/xai.py +0 -0
  44. {geocif-0.1.2 → geocif-0.1.22}/geocif.egg-info/SOURCES.txt +0 -0
  45. {geocif-0.1.2 → geocif-0.1.22}/geocif.egg-info/not-zip-safe +0 -0
  46. {geocif-0.1.2 → geocif-0.1.22}/geocif.egg-info/top_level.txt +0 -0
  47. {geocif-0.1.2 → geocif-0.1.22}/setup.cfg +0 -0
  48. {geocif-0.1.2 → geocif-0.1.22}/tests/test_geocif.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: geocif
3
- Version: 0.1.2
3
+ Version: 0.1.22
4
4
  Summary: Models to visualize and forecast crop conditions and yields
5
5
  Home-page: https://ritviksahajpal.github.io/yield_forecasting/
6
6
  Author: Ritvik Sahajpal
@@ -26,7 +26,7 @@ Requires-Dist: catboost==1.2.5
26
26
  Requires-Dist: cycler==0.12.1
27
27
  Requires-Dist: GDAL==3.8.1
28
28
  Requires-Dist: geopandas==0.14.1
29
- Requires-Dist: geoprepare==0.4.8
29
+ Requires-Dist: geoprepare==0.5.6
30
30
  Requires-Dist: icclim==6.4.0
31
31
  Requires-Dist: kneed==0.8.5
32
32
  Requires-Dist: logzero==1.7.0
@@ -68,8 +68,8 @@ Requires-Dist: tqdm==4.66.1
68
68
 
69
69
 
70
70
  - Free software: MIT license
71
- - Documentation: https://ritviksahajpal.github.io/geocif
72
-
71
+ - Documentation: https://ritviksahajpal.github.io/yield_forecasting/
72
+
73
73
 
74
74
  ## Features
75
75
 
@@ -1,21 +1,21 @@
1
- # geocif
2
-
3
-
4
- [![image](https://img.shields.io/pypi/v/geocif.svg)](https://pypi.python.org/pypi/geocif)
5
- [![image](https://img.shields.io/conda/vn/conda-forge/geocif.svg)](https://anaconda.org/conda-forge/geocif)
6
-
7
-
8
- **Models to visualize and forecast crop conditions and yields**
9
-
10
-
11
- - Free software: MIT license
12
- - Documentation: https://ritviksahajpal.github.io/geocif
13
-
14
-
15
- ## Features
16
-
17
- - TODO
18
-
19
- ## Credits
20
-
21
- This package was created with [Cookiecutter](https://github.com/cookiecutter/cookiecutter) and the [giswqs/pypackage](https://github.com/giswqs/pypackage) project template.
1
+ # geocif
2
+
3
+
4
+ [![image](https://img.shields.io/pypi/v/geocif.svg)](https://pypi.python.org/pypi/geocif)
5
+ [![image](https://img.shields.io/conda/vn/conda-forge/geocif.svg)](https://anaconda.org/conda-forge/geocif)
6
+
7
+
8
+ **Models to visualize and forecast crop conditions and yields**
9
+
10
+
11
+ - Free software: MIT license
12
+ - Documentation: https://ritviksahajpal.github.io/yield_forecasting/
13
+
14
+
15
+ ## Features
16
+
17
+ - TODO
18
+
19
+ ## Credits
20
+
21
+ This package was created with [Cookiecutter](https://github.com/cookiecutter/cookiecutter) and the [giswqs/pypackage](https://github.com/giswqs/pypackage) project template.
@@ -1008,6 +1008,7 @@ def main(logger, parser):
1008
1008
 
1009
1009
  def run(path_config_files=[Path("../config/geocif.txt")]):
1010
1010
  logger, parser = log.setup_logger_parser(path_config_files)
1011
+ breakpoint()
1011
1012
  main(logger, parser)
1012
1013
 
1013
1014
 
@@ -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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: geocif
3
- Version: 0.1.2
3
+ Version: 0.1.22
4
4
  Summary: Models to visualize and forecast crop conditions and yields
5
5
  Home-page: https://ritviksahajpal.github.io/yield_forecasting/
6
6
  Author: Ritvik Sahajpal
@@ -26,7 +26,7 @@ Requires-Dist: catboost==1.2.5
26
26
  Requires-Dist: cycler==0.12.1
27
27
  Requires-Dist: GDAL==3.8.1
28
28
  Requires-Dist: geopandas==0.14.1
29
- Requires-Dist: geoprepare==0.4.8
29
+ Requires-Dist: geoprepare==0.5.6
30
30
  Requires-Dist: icclim==6.4.0
31
31
  Requires-Dist: kneed==0.8.5
32
32
  Requires-Dist: logzero==1.7.0
@@ -68,8 +68,8 @@ Requires-Dist: tqdm==4.66.1
68
68
 
69
69
 
70
70
  - Free software: MIT license
71
- - Documentation: https://ritviksahajpal.github.io/geocif
72
-
71
+ - Documentation: https://ritviksahajpal.github.io/yield_forecasting/
72
+
73
73
 
74
74
  ## Features
75
75
 
@@ -8,7 +8,7 @@ catboost==1.2.5
8
8
  cycler==0.12.1
9
9
  GDAL==3.8.1
10
10
  geopandas==0.14.1
11
- geoprepare==0.4.8
11
+ geoprepare==0.5.6
12
12
  icclim==6.4.0
13
13
  kneed==0.8.5
14
14
  logzero==1.7.0
@@ -8,7 +8,7 @@ catboost==1.2.5
8
8
  cycler==0.12.1
9
9
  GDAL==3.8.1
10
10
  geopandas==0.14.1
11
- geoprepare==0.4.8
11
+ geoprepare==0.5.6
12
12
  icclim==6.4.0
13
13
  kneed==0.8.5
14
14
  logzero==1.7.0
@@ -1,40 +1,40 @@
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.4.8
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
+ 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
@@ -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.2',
53
+ version='0.1.22',
54
54
  zip_safe=False,
55
55
  )
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
File without changes